Heres the code not working
Code: Select all
if marketposition = 0 then
Buy ( "entry1" ) 1 contracts next bar at market ;
if currentcontracts = 1 then
Buy ( "entry2" ) 2 contracts next bar at entryprice + 3 limit;
SetStopPosition;
setpercenttrailing_pt(12,30);
setstoploss_pt(20);