Variables

Viewing 2 posts - 1 through 2 (of 2 total)
  • #6928

    Hi, I want to know if I can use Variables that once defined maintain a certain value.

    Example, control=0 but if the price falls below the lower band of Bollinger then control = 1. When the price rises above the lower band of bollinger I wish the variable “control”  to remain “1” and not been changed to 0. It’s possible? Thank you

    #6934

    If you define a value to a variable, this value remain the same until a new one is saved into it.

    However, you’ll need to set your variable with a conditional statement like this:

     

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

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