(referring to the Relative Strength Ratio under Spread / Overlay)
How can one plot this on a scale between 0 and 100?
In the last "if" statement: if (vSym != null) {........
I would like to do somthing like this:
var theSpread = close()/b;
//now find the lowest low in theSpread over the last 10 periods
var lLow = llv(10, theSpread);
//now find the highest high in theSpread over the last 10 periods
var hHigh = hhv(10, theSpread);
normSpread = ((theSpread - lLow) / (hHigh - lLow)) *100;
return normSpread;
Thanks for your assistance.
How can one plot this on a scale between 0 and 100?
In the last "if" statement: if (vSym != null) {........
I would like to do somthing like this:
var theSpread = close()/b;
//now find the lowest low in theSpread over the last 10 periods
var lLow = llv(10, theSpread);
//now find the highest high in theSpread over the last 10 periods
var hHigh = hhv(10, theSpread);
normSpread = ((theSpread - lLow) / (hHigh - lLow)) *100;
return normSpread;
Thanks for your assistance.
Comment