Vars:StandLine(0);
Vars:TurnLine(0);
Vars:Span1(0);
Vars:Span2(0);

StandLine = (Highest(High, 26) + Lowest(Low, 26))/2;
TurnLine  = (Highest(High, 9) + Lowest(Low, 9))/2;
Span1 = (StandLine + TurnLine)/2;
Span2 = (Highest(High, 52) + Lowest(Low, 52))/2;

plot1(StandLine,"Standard");
plot2(TurnLine,"Turning");
plot3[-25](Span1,"Span1");
plot4[-25](Span2,"Span2");
plot5[25](Close,"Delay");