大智慧一目均衡主图指标
源码
{一目均衡}
{N:52 ,0,100 m:26,0,100 L:9,0,100;}
STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa;
STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb;
STICKLINE(open>=close ,close ,open,2.4,0 ),COLORcccccc;
STICKLINE(open>=close ,close ,open,1.1,0 ),COLOR000000;
STICKLINE(close>open,close,open,9,0 ),COLOr6666cc;
STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd;
STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee;
STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;
STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff;
STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc;
STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;
基準線:(HHV(H,26)+LLV(l,26))/2,LINETHICK2,COLORGREEN;
转换线:(HHV(H,9)+LLV(L,9))/2,LINETHICK2,COLORRED;
DL:=C;
FN:=26;
迟行线:dl,LINETHICK0,coloryellow;
{<%
VC=FFL.VARDATA("DL")
VN=FFL.VARDATA("FN")
LAST=UBOUND(VC)
FOR I=0 to LAST-VN
VC(I)=VC(I+VN)
NEXT
FFL.VARDATA("DL")=VC
%>
DELAYLAST:=BACKSET(ISLASTPERIOD,FN);
PARTLINE(NOT(DELAYLAST),DL),COLORYELLOW; }
先行上限:(基準線+转换线)/2{,SHIFT26},colorcccccc;
先行下限:(HHV(H,52)+LLV(L,52))/2{,SHIFT26},colorcccccc;
STICKLINE(先行上限>先行下限,先行上限,先行下限,6,1){,SHIFT},COLORMAGENTA;
STICKLINE(先行下限>先行上限,先行上限,先行下限,6,1){,SHIFT26},COLORCYAN;