SetChartOptions
_N(Title = StrFormat("{{NA
hv = V> 3*(MA(V,20));
colv= IIf(hv,colorCus
Plot( C, "Close", colv, styleNoTitle | ParamStyle("Sty
tn = TimeNum();
time1 = tn >= 091500 AND tn <= 101459;
time2 = tn >= 101500 AND tn <= 111459;
time3 = tn >= 111500 AND tn <= 121459;
time4 = tn >= 121500 AND tn <= 131459;
thigh1 = IIf(time1, HHV(H, BarsSince(time1
thigh1 = IIf(time1, thigh1, Ref(thigh1, -BarsSince(time
thigh2 = IIf(time2, HHV(H, BarsSince(time2
thigh2 = IIf(time2, thigh2, Ref(thigh2, -BarsSince(time
thigh3 = IIf(time3, HHV(H, BarsSince(time3
thigh3 = IIf(time3, thigh3, Ref(thigh3, -BarsSince(time
thigh4 = IIf(time4, HHV(H, BarsSince(time4
thigh4 = IIf(time4, thigh4, Ref(thigh4, -BarsSince(time
tlow1 = IIf(time1, LLV(L, BarsSince(time1
tlow1 = IIf(time1, tlow1, Ref(tlow1, -BarsSince(time
tlow2 = IIf(time2, LLV(L, BarsSince(time2
tlow2 = IIf(time2, tlow2, Ref(tlow2, -BarsSince(time
tlow3 = IIf(time3, LLV(L, BarsSince(time3
tlow3 = IIf(time3, tlow3, Ref(tlow3, -BarsSince(time
tlow4 = IIf(time4, LLV(L, BarsSince(time4
tlow4 = IIf(time4, tlow4, Ref(tlow4, -BarsSince(time
Today = LastValue(Day()
Plot(IIf(tn >= 091500 AND Today == Day(),thigh1,Nu
Plot(IIf(tn >= 091500 AND Today == Day(),tlow1,Nul
hts = -33.5;numbars = LastValue(Cum(S
fraction= IIf(StrRight(Na
//
thigh1I = LastValue (thigh1,1);
PlotText(" 10.15 high = " + WriteVal(thigh4
tlow1I = LastValue (tlow1,1);
PlotText(" 10.15 low = " + WriteVal(tlow4,
thigh1I = LastValue (thigh1,1);
//
tlow1I = LastValue (tlow4,1);
//
SetChartOptions
GfxSetOverlayMo
GfxSetTextAlign
GfxSetTextColor
GfxSetBkMode(0)
GfxSelectFont("
GfxTextOut( Name(), Status("pxwidth
GfxSelectFont("
GfxTextOut(" "+C, Status("pxwidth
Comments
Post a Comment