Hi there,
I wonder if there is any function to make such an hypothetical code:
If A=1 and B=2 Then
"Display" Indicator X
Else
"Do not Display" Indicator X
Endif
Return A, B, Indicator X // the ideia is to only show the value of this indicator X when conditions is showned otherwise do not show it.
//In other words I was trying to get the value of indicator X only at signal candles
In the example, I illustrate the point where I only would like to check the Indicator X value.
Thank you so much and wish you a wonderful weekend
You can simply tell ProBuilder to plot using full transparency (the optional fourth display parameters set to 0) so it is made invisible:
If A=1 and B=2 Then
t = 255 //make it fully visible
Else
t = 0 //make in invisible
Endif
Return A, B, Indicator X coloured(0,0,0,t) // the ideia is to only show the value of this indicator X when conditions is showned otherwise do not show it.
//In other words I was trying to get the value of indicator X only at signal candles