PureBytes Links
Trading Reference Links
|
Trying to plot:
if RSI crosses over 30 then plot1(RSI,green)
else
if RSI crosses under 70 then plot1(RSI, red)
else
plot1(RSI,darkgray);
If plot type is "line" then the conditional colors appear for the next bar after the cross condition. If plot type is other than "line" (histogram, cross,...), then the conditional colors appear for the bar where the cross conditions actually occur.
I do need to plot it as a line so tried the syntax, setplotcolor, and also tried to "twist" the EL in several ways...but no luck!
Is there a workaround?
|