通达信排列指标公式
2020/5/5 19:10:14
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;
投股 票网 www.tou1 8.cn
股市公式下载推荐