|
Stockholm
Experience: Intermediate
Platform: ProRealTime
Trading: DAX
Posts: 40 since Jul 2015
Thanks Given: 6
Thanks Received: 5
|
Hi!
Let's say this is my simple code (strategy only used in Daily bars) :
___________
If C >= Average(C,200) and RSI(C,2) < 2 then buy 1 contract this bar at close;
If RSI(C,2) > 70 or barssinceentry>=20 then sell 1 contract this bar at close;
___________
I want the strategy to be able to add 1 more contract if Marketposition = 1 and C >= Average(C,200) and RSI(C,2) < 2 and C < lowest(C,2)
And I want the second contract to be sold simultaneosly as the first.
How do I do that?
Thanks in advance.
|