Use of variable on old past candle?

Forums ProRealTime English forum ProBuilder support Use of variable on old past candle?

Viewing 4 posts - 1 through 4 (of 4 total)
  • #162488

    Hi, i want to use a variable on an old candle, example: i have my condition met on “today candle”, i want to save that candle higher price to use in the future, by example if a new candle breakout that old candle price, i can do another condition or take a trade. The problem is the old candle, can be at a different number of candle in past. So i dont know how many candle it can be in past.

    Thanks

    #162489

    Your description is a little difficult to understand but do you mean?

     

    1 user thanked author for this post.
    #162492

    Example: see on picture, my condition draw this arrow, so i want when a new candle in future will breakout this candle with that condition with a higher candle, then i can execute my other code.

    Hope my explanation is better

    thanks

    #162495

    The code you gived to me work good, thanks

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

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