Timeframe condition not working

Forums ProRealTime English forum ProOrder support Timeframe condition not working

Viewing 5 posts - 1 through 5 (of 5 total)
  • #107626
    Abz

    anyone have any idea why not the timeframe 1hour condition not working? from the attached screen it is clearly that “c = ema50 < ema200” is not valid and still it is taking a short trade however it is valid on the 15 min timeframe that is default and it looks for me that it is following the default time frame and igonring the 1 hour timeframe.

     

    #107628
    Abz

    trade attached

    #107639

    You’re are absolutely right!

    It ignores your 1-hour TF because no indicator is defined within THAT time frame. You only set conditions based on the indicators written in your default TF.

    Move lines 9-11 to just after line 26.

    Indicators only work in the TF they are declared, though you can read them from anywhere else.

    #107643
    Abz

    i only want the ema50 and ema200 to be checked in 1 hour timeframe so it shoud be like this then?

     

     

    #107644

    Line 25 needs to be moved below line 27, before line 28.

    Lines 39-40 can be removed, they are a duplicate of lines  26-27.

     

    1 user thanked author for this post.
    avatar Abz
Viewing 5 posts - 1 through 5 (of 5 total)

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