N1:=55;N2:=24;N:=20;M:=32;P1:=80;P2:=80;
HL:=(H+L)/2;
HO:=(H+O)/2;
HC:=(H+C)/2;
CO:=(C+O)/2;
LO:=(L+O)/2;
CL:=(C+L)/2;
HLO:=(HO+LO)/2;
HCL:=(HL+CL)/2;
HCO:=(HC+CO)/2,DOTLINE;
STICKLINE(HCO>HLO,HLO,HCO,2.5,0),COLORRED;
STICKLINE(HCO>HLO,HLO,HCO,0.6,0),COLORCC66FF;
STICKLINE(HCO<HLO,HLO,HCO,2.5,0),COLORFF6600;
STICKLINE(HCO<HLO,HLO,HCO,0.6,0),COLORFF9900;
STICKLINE(HCO<HLO,HCL,HLO,0.00001,0),COLORFF9900;
M1:SMA(HCO,N1,N2);
M2:WMA(HCO,7);{迷糊鱼2010编写}
M3:EMA(HCO,7);
M4:MEMA(M3,7);
{以下是未来函数轨道}
VAR1:=(HLO+HCL+HCO)/3;
SG:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,POINTDOT,LINETHICK3;
XG:XMA(VAR1,M)*(1-P2/1000),COLORLIRED,POINTDOT,LINETHICK3;{未来函数轨道}
STICKLINE(XG>HCO,HCL,HLO,3,0),COLORYELLOW;
{分界—————————————————————-}
LB:=V/REF(MA(V,5),1);
HS:=V*100/CAPITAL;
STICKLINE(LB>1.5 AND HS>3,HCL+HCL*0.01,HLO+HLO*0.01,1,0.1),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.015,1,0,’主力进出’),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.107,1,0,’散户进出’),COLORCYAN;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)