PureBytes Links
Trading Reference Links
|
Can anyone explain me why I can't plot this simple indicator if
MaxBarsBack is less than N input?
Inputs:N(5);
If LastBarOnChart then
For Value1=0 to N begin
PLot1[N-Value1](C[N-Value1],"");
end;
It plots if MMB is set to Automatic or >=5 but gives the error message
"Tried to reference back more bars than allowed by the current MBB
settings" if N<5.
I didn't try to refer back to more bars than MBB cause I used the
condition "If LastBarOnChart..." but that doesn't seem to do any
difference, is this normal?
--
Best Regards
Massimo Ciarafoni
"A man's character is his guardian divinity" - Heraclitus
|