hi fellow coders,
id like to know whether it is possible to change the chart background (background of a specific bar/candle that is!) AFTER a number of bars has passed.
What I want to do:
Condition1 = true // for the first time
Condition1 = true // second time
Condition1 = true // third time
Now go back to where Condition1 is true for the first time and change the bar background color there - and the following bars to until Condition1 is false.
I managed to paint the background for bar4 and the following bars but not for the first three ones! The function SetBarBgColor (I think thats the name) does not take arguments - so you cannot pass -2 or something to it. Is there a way to achieve what I'd like to do ?
BTW it is possible for return values of indicators (nonprice pane) to go back and change the BG there.... is it really impossible to do the same in the price chart ?? (candlestick charts)
your help very much appreciated, as always
Thanx
EZ-T
id like to know whether it is possible to change the chart background (background of a specific bar/candle that is!) AFTER a number of bars has passed.
What I want to do:
Condition1 = true // for the first time
Condition1 = true // second time
Condition1 = true // third time
Now go back to where Condition1 is true for the first time and change the bar background color there - and the following bars to until Condition1 is false.
I managed to paint the background for bar4 and the following bars but not for the first three ones! The function SetBarBgColor (I think thats the name) does not take arguments - so you cannot pass -2 or something to it. Is there a way to achieve what I'd like to do ?
BTW it is possible for return values of indicators (nonprice pane) to go back and change the BG there.... is it really impossible to do the same in the price chart ?? (candlestick charts)
your help very much appreciated, as always
Thanx
EZ-T
Comment