When you have two points in the non-price study portion of the chart, and you would like to color the indicator line when it crosses above a certain level, how can you get it to do that before the point that satisfies that up to that point?
if ( prob >0 ){ // set color Green
setBarFgColor(Color.green);
setBarThickness(3);
}
if ( prob <= 0 ){ // set color Red
setBarFgColor(Color.red);
setBarThickness(3);
}
if ( prob >0 ){ // set color Green
setBarFgColor(Color.green);
setBarThickness(3);
}
if ( prob <= 0 ){ // set color Red
setBarFgColor(Color.red);
setBarThickness(3);
}
Comment