I want to open 6 contracts at one time, and close it separately one by one at Lowest(L,1) of each subsequent bars, my code is:
Code: Select all
[intrabarordergeneration = false]
if marketposition <> 1 then
buy 6 contracts next bar at Highest(H,20) stop;
if marketposition = 1 then
sell 1 contracts next bar at Lowest(L,1) stop;
can any one help me? thank you very much!