Doji strategy Test

Forums ProRealTime English forum ProOrder support Doji strategy Test

Viewing 9 posts - 1 through 9 (of 9 total)
  • #236642

    goodmorning,

    I’m trying to do a strategy for test, that analyse the position of the body in the Doji candle )high, low or middle) but for some reasons it does not give me any results for test. what I’m doing wrong?

    Dojisize is range of body, for example with K4 from 0,1 to 0,4. DojiPositionHigh is in the high third of the daily candle and DojiPositionLow is in the low third of the daily candle

     

    thanks in advance

     

    Alessio

    #236643

    K1 is from 1 to 3

    #236644

    Try using GRAPH on all of your conditions, it is likely that one or more are not ever True?

    https://www.prorealcode.com/documentation/graph/

    #236645

    Also try below in place of Line 22 …

     

    #236657

    I’ve tried but it does not change anything. I’ve seen that DojiPositionHigh and DojiPositionLow are not graphed, but §I don’t understand why

    #236662

    Pick 1 bar and use the actual values of that 1 bar in your calculation for DojiPositionHigh and DojiPositionLow and see if your condition is feasible?

    Just ideas as sometimes (working on our own)we feel like we are going bonkers?? 😉

    #236663

    Append these lines at the end of your code to spot any incorrect value:

     

    #236664

    Doji is OK and identified, while the other two no, at least I see only two straight horizontal  lines, one red and one blu, on the zero  and the one position

    #236687

    So you know where the issue is, which makes it a bit easier to work out.

     

Viewing 9 posts - 1 through 9 (of 9 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login