Forums › ProRealTime English forum › ProOrder support › Strategy DayOpen Straddle for DAX › Reply To: Strategy DayOpen Straddle for DAX
11/18/2018 at 7:34 PM
#85153
@ullle73, I can’t duplicate your trade, but here’s a quick indicator code which can be used to understand trades.
1 2 3 4 5 6 7 8 9 10 11 |
TimeOpen=090000 nopL=2 nopS=2 If time = TimeOpen then BaseLine=open BuyLine=BaseLine+nopL ShortLine=BaseLine-nopS endif RETURN BaseLine COLOURED(0,0,0) as "BaseLine", BuyLine COLOURED(0,128,0) as "BuyLine", ShortLine COLOURED(255,0,0) as "ShortLine" |
If you add this to the pricechart, you will see that the open is taken 1 bar before 9u am.