Change arrow color in realtime according to a condition

Forums ProRealTime English forum ProBuilder support Change arrow color in realtime according to a condition

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

    Dear,

    I would like to build my own indicator that uses the “islastbarupdate” to draw an arrow (upward or downward) according to the trend during the creating of the last candle. In addition to that I would like to change the color of that arrow during the last bar in this way:

    when the new bar open and the price stays above the closing of the previous one the arrow is yellow, after having the yellow arrow (and only after having this first condition satisied) if the price goes below the close of the previous one the arrow shall become red.

    Is it possible? I try different way but without success, I’m not able to control the sequence with the flag variable

     

     

    #210250
    JS

    Hi @Pippone1987

    Maybe you can use this as a starting point…

    #210281

    Ok

    I’m going to perform some test to understand if it fits the intended behavior.

    Thanks @JS

    1 user thanked author for this post.
    avatar JS
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