how do you write
protected override void OnStateChange() {
if (State == State.SetDefaults) {
AddPlot(new Stroke(Brushes.DodgerBlue,1), PlotStyle.Hash,"PP");
If Close[0] crosses above/below the plot,
do x.
I don't want x to fire when it's always above or below, only when it crosses.
Thanks!

Comment