_SECTION_BEGIN("Hilo Activator");
Hilo = Optimize("Hilo",10,1,10,1);
Hld = IIf(C > Ref(WMA(H, 5), -1), 1, IIf(C < Ref(WMA(L, 5), -1), -1, 0));
Hlv = ValueWhen(Hld != 0, Hld, 1);
Hilo = IIf(Hlv == -1, WMA(H, 5), WMA(L, 5));
m=Hilo;
Plot(Hilo, "Hilo", colorWhite,styleThick);
color=IIf(BarsSince(Cross(Hilo,C))>
BarsSince(Cross(C,Hilo)), colorBrightGreen,colorRed);
Plot(C,"",Color,64);
_SECTION_END();