PureBytes Links
Trading Reference Links
|
> Can anyone tell me a simple way to plot a show me once, and then
> if the same conditions are true on the next bar, not have it
> plot repeatedly?
> In other words, I only want it to plot one show me dot. Even if
> the next bar fits the criteria, I don't' want it to plot the
> dots because it has already been plotted on the previous bar.
Simply store the condition that is true when the showme is plotted and
compare it to the previous one.
var: condition(false);
condition = <whatever condition is needed for plotting>;
if condition <> condition[1] and condition = true then
<plot your stuff>;
-Alex
|