here is an imge of what i'm thinking of.
I've tried some things like
HighA = MAX(100)[0];
HighCounterA would equal how many bars back the high was.
HighB = MAX(50)[0];
HighCounterB would equal how many bars back the high was.
DrawExtendedLine("My Trend Liine" + CurrentBar, HighCounterA, HighA, HighCounterB, HighB, Color.Green);
I don't know how to check if the price crossed the trend line.
Comment