Nanningbob 10.2A shell code

Share your 10.x automated traders here.
Post Reply
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Nanningbob 10.2A shell code

Post by SteveHopwood »

Attached is a shell that coders can use to create 10.2A trading ea's quickly and easily.

Note that I coded it today and it is impossible to use Crapergy Tester to test the code. There are probably a few bugs. Please report them as you find them.

Most of the inputs are obvious or already well known. Of the others:
  • - PivotCrossTimeFrame: the time frame to use to detect a cross of the daily pivot.
    - EveryTickMode: allows the user to trade as soon as the market crosses the DP, without waiting for the candle to close on the required side.
    - EnforceTripleAlignment: when the Weekly Pivot is > Monthly Pivot, the ea is looking to buy the cross from below of the DP. When the WP < the MP, the ea is looking to sell the cross from above of the DP. EnforceTripleAlignment forces the ea to wait until all three pivots line up i.e. buy when DP > WP > MP and vice versa for a sell.
Trade exit:
  • - there are the standard stop loss and take profit inputs.
    - users can also choose one of the pivots as a stop. PivotCrossPips is a buffer. The stop loss is set this far away from the relevant pivot, to avoid the scenario where the market briefly touches or only just crosses the pivot, then moves back in the direction of the trend.
    - users can opt for Fractals to set their sl and tp. FractalsTimeFrame controls the time frame used to calculate the fractal. Be aware that the default of zero turns fractals off, rather than meaning the normal 'current time frame'.
Non-coders, please do not post questions about all this. The shell cannot trade and so you cannot use it unless you understand Crapql4.

:D
You do not have the required permissions to view the files attached to this post.
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
mobthehop
Trader
Posts: 362
Joined: Wed Nov 16, 2011 12:16 am

Re: Nanningbob 10.2A shell code

Post by mobthehop »

Nice one - thanks Steve and a cheer to NB for the concept....

Mop
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Nanningbob 10.2A shell code

Post by SteveHopwood »

mobthehop wrote:Nice one - thanks Steve and a cheer to NB for the concept....

Mop
Bob wants a single-chart ea for 10.2A; I am hoping to produce that tonight. If not, then in the morning for sure.

Arjun wants and ea for this one at http://www.stevehopwoodforex.com/phpBB3 ... 992#p22992, and I want that one up and running by Tuesday at the latest, so the shell is going get some early testing.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
Post Reply

Return to “10.x EA forum”