I need to do action if condition based on prices is true.
For example if today high > yesterday high.
if(High[0] > High[1] ) {
BarColor = Color.Yellow;
}
I found the trouble is High[1], but I still dont know why!? How can I get the price information of e.g. 5 bars ago?
Thank you for any help.
Comment