Forums › ProRealTime English forum › ProOrder support › Discussing the strategy VECTORIAL DAX (M5) › Reply To: Discussing the strategy VECTORIAL DAX (M5)
10/22/2019 at 5:34 PM
#110884
good-morning Paul
can be on the clues.
I use this formula for wall street and us100 tech
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
//====================== modification du TP====================== //16 10 19 DISt = 0 for i=0 to 20 do if coeffm[i]=100 AND OPEN[i]>CLOSE[i] AND CLOSE[i] -low[i]>50 then DISt=low[i]+35 break endif next if dist>0 then SET TARGET PPROFIT positionprice-dist endif //16 10 19 DISht = 0 for i=0 to 20 do if coeffm[i]=100 AND OPEN[i]<CLOSE[i] AND high[i]-CLOSE[i]>50 then DISht=high[i]-35 break endif next if disht>0 then SET TARGET PPROFIT positionprice+disht endif |