Drawing randomize data with historical bars

Forums ProRealTime English forum ProBuilder support Drawing randomize data with historical bars

Viewing 3 posts - 1 through 3 (of 3 total)
  • #208915

    Hello, everyone.

    I’ve made my indicator to draw randomize data with historical bars.

    I used “lastbarupdated” and indicator draw each time when the price update.

    How can I fix this problem. I’ve been trying to solve this problem, but yet not. I’ve tried like this.

    if lastbarupdated and open <> tag then

    … ….

    tag = open

    end if

    Please help me. Thanks.

    #208917

    Do not append unrelated posts to existing topics. Create s new one, instead, using a clear and relevant title.

    Thank you 🙂

    It’s islastbarupdate, not lastbarupdated.

    #208930

    A classic variable reset to 0 (null value) on each tick received. You have to use an array variable to store the past value contained in the same bar in live, such as :

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

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