Forums › ProRealTime English forum › ProOrder support › Enter below a certain price › Reply To: Enter below a certain price
11/18/2017 at 10:42 AM
#53164
something like this?
1 2 3 4 5 6 7 8 9 10 11 |
Rs = RSI[50](close) mydiscount = 20*pipsize buyprice = (close - mydiscount) sellprice = (close + mydiscount) Positions = 1 IF not onmarket and RS>50 THEN buy Positions SHARES AT buyprice LIMIT SET STOP ploss 30 SET TARGET pPROFIT 30 ENDIF |
i cant get it to open any trades with this , is there something im missing out?