in need of help with a script. would like to have the color of the line turn green when its > previous bar & increasing / red when < previous bar & decreasing ( lines 58-59 ) can anyone help.
Peter
Peter
var myJMAstudy = null;
var myRSXstudy = null;
if (vRSX >= prevRSX) setBarFgColor(Color.green);
if (vRSX < prevRSX) setBarFgColor(Color.red);
Comment