通达信阶梯波段主图指标公式源码 附图
通达信阶梯波段主图指标公式部分源码:
跌破:=CROSS(EXP60,CLOSE);
DRAWICON(跌破,HIGH+0.1,2);
DRAWTEXT(跌破,HIGH+0.3,'←清仓离场'),COLORGREEN;
低位1:=(HHV(C,N)-REF(C,1))/HHV(C,N)>=0.50&&(HIGH/LOW)-1>0.07;
吊劲线:=MAX(OPEN,CLOSE)&&HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE));
射日线:=MIN(OPEN,CLOSE)&&HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW);
EFCT1:=低位1&&吊劲线;
DRAWICON(EFCT1,LOW-0.2,1);
DRAWTEXT(EFCT1,LOW-0.5,'★吊射买入'),COLORYELLOW;
EFCT2:=低位1&&射日线;
DRAWICON(EFCT2,LOW-0.2,1);
DRAWTEXT(EFCT2,LOW-0.5,'★吊射买入'),COLORYELLOW;
低位2:=(HHV(C,N)-REF(C,1))/HHV(C,N)>=0.40&&(HIGH/LOW)-1>0.07;
地开大阳线:=OPEN/REF(CLOSE,1)<=1-M/100 && CLOSE/OPEN>=1+N2/100;
FEX:=低位2&&地开大阳线;
DRAWICON(FEX,LOW-0.5,1);
DRAWTEXT(FEX,LOW-0.7,'←分批建仓')COLORRED;
高1:=REF(HHV(H,150),3);
低1:=REF(LLV(L,150),3);
突破:REF(EMA(C,14),1)COLORMAGENTA,LINETHICK2;
A1X:=(EMA(C,14)-突破)/突破*100,NODRAW;
多方:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)COLORRED,LINETHICK2;
空方:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORGREEN,LINETHICK2;
STICKLINE(A1X>=0,多方,突破,0,-1)COLORRED;
STICKLINE(A1X<0,空方,突破,0,-1)COLORGREEN;
STICKLINE(CROSS(A1X,0),C,O,2,0)COLORYELLOW;
STICKLINE(CROSS(A1X,0),H,L,0,1)COLORYELLOW;
STICKLINE(CROSS(0,A1X),C,O,2,0)COLORGREEN;
STICKLINE(CROSS(0,A1X),H,L,0,1)COLORGREEN;
破位:IF(A1X<0,突破,DRAWNULL)COLORGREEN,LINETHICK2;
DP:=REF(EMA(INDEXC,14),1);
DPX:=(EMA(INDEXC,14)-DP)/DP*100;
DRAWICON(CROSS(0,A1X),HIGH+0.2,15);
DRAWTEXT(CROSS(0,A1X),HIGH+0.3,'『减磅')COLORGREEN;
DRAWICON(CROSS(EXP10,突破),LOW-0.2,1);
DRAWTEXT(CROSS(EXP10,突破),LOW-0.5,'★上穿买入')COLORMAGENTA;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
通达信阶梯波段主图指标公式截图:
以上是通达信阶梯波段主图指标公式部分源码,完整源码已上传到附件中,请自行下载。