CALCULATEONLASTBARS value as a variable?

Forums ProRealTime English forum ProBuilder support CALCULATEONLASTBARS value as a variable?

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

     Hi I have an indicator that I need to vary CALCULATEONLASTBARS. Is it possible to have the number of bars as a variable so I can change the number in the variables section rather than the code itself? It doesn’t seem to allow it but I am wondering if there is a workaround. Thanks Rob  DEFPARAM CALCULATEONLASTBARS = 3000

    #55554

    No variables possible with a DEFPARAM instruction. It would help a lot! 

    1 user thanked author for this post.
    #55555

    Agreed, it would help a lot.

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