two versions of code one plots the other does not, if i do it with Low[0]
it works otherwise it doesnt.
protected override void OnBarUpdate()
{
// Use this method for calculating your indicator values. Assign a value to each
// plot below by replacing 'Close[0]' with your own formula.
double pf = (Open[0]-Low[1]);
int x=0;
if (pf>=reversal)
{
x=1;
}
Plot0.Set(x);
}
Comment