how can I code this strategy,perfect in london breakout

 
 

exemple:

LONG 1 lot@1.3800

SHORT 2 lots@1.3700

LONG 3 lots@1.3800

SHORT 5 lots@1.3700

LONG 7 lots@1.3800 etc...;

is martingal.

 

itriad:

how can I code this strategy,perfect in london breakout


Sit down with a pen and paper, write a flowchart, then code your flowchart . . it's basics.