通达信叠伏系统分时指标(源码)
STICKLINE(C>0,85,92,10,0),COLOR408000;
STICKLINE(C>0,15,8,10,0),COLOR408000;
HDZ:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
DRAWBAND(HDZ,RGB(255,000,139),10,RGB(255,255,71));
STICKLINE(C>0,90,10,10,0),COLORBLACK;
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
VAR8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR9:=SMA(VAR8,13,8);
主力吸货:VAR7,COLOR0000FF,NODRAW;
吸筹1:STICKLINE(VAR7,0,VAR7*0.2,6,0),COLOR0000FF;
吸筹2:STICKLINE(VAR7,0,VAR7*0.2,5,0),COLOR6600FF;
吸筹3:STICKLINE(VAR7,0,VAR7*0.2,4,0),COLORBB00FF;
吸筹4:STICKLINE(VAR7,0,VAR7*0.2,3,0),COLORFF00FF;
吸筹5:STICKLINE(VAR7,0,VAR7*0.2,2,0),COLORFF33FF;
吸筹6:STICKLINE(VAR7,0,VAR7*0.2,1,0),COLORFF66FF;
吸筹7:STICKLINE(VAR7,0,VAR7*0.2,0,0),COLORFF99FF;
HDY:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORLIBLUE;
风险:=CEILING(SMA(VAR9,13,8)),LINETHICK2,COLORGREEN;
涨跌:=MA(3*SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,5,1)-2*
SMA(SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,5,1),3,1),5),LINETHICK2,COLORRED;
VARR1:=DYNAINFO(5);
VARR2:=BARSCOUNT(HIGH);
VARR3:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);
VARR4:=IF((VARR2 > 20),VARR3,0);
VARR5:=IF((HIGH < VARR1),0,IF((LOW > VARR1),1,(((VARR1 - HIGH) + 0.009) / ((LOW - HIGH) + 0.009))));
VARR6:=(DMA(VARR5,(VOL / CAPITAL)) * 60);
VARR7:=IF((((VARR6 > 0) AND (VARR6 > REF(VARR6,1))) AND (VARR4 >= 88)),VARR6,0);
VARR8:=((3 * SMA((((CLOSE - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1),3,1)));
VARR9:=EMA(VARR8,8);
VARR10:=((3 * SMA((((HIGH - HHV(HIGH,89)) / (LLV(LOW,89) - HHV(HIGH,89))) * 100),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,89)) / (LLV(LOW,89) - HHV(HIGH,89))) * 100),5,1),3,1)));
VARR11:=(EMA(VARR10,3) - 10);
{STICKLINE(((VARR7 > 0) AND ((VARR11 < 20) OR ((VARR11 > REF(VARR11,1)) AND (VARR11 < 50)))),0,VARR7,1,0),COLORLIGRAY;
STICKLINE(((VARR7 > 0) AND ((VARR11 < 20) OR ((VARR11 > REF(VARR11,1)) AND (VARR11 < 50)))),0,VARR7,1,0),COLORWHITE;
STICKLINE(((VARR7 > 0) AND ((VARR11 < 20) OR ((VARR11 > REF(VARR11,1)) AND (VARR11 < 50)))),0,VARR7,0,0),COLORFF99FF;}
STICKLINE(HDY<5,0,VAR7*0.2,1,0),COLORYELLOW;
IF(HDY>REF(HDY,1),HDY,DRAWNULL),COLORRED;
- 上一篇公式:通达信叠伏系统指标(源码)
- 下一篇公式:通达信宝塔线翻红选股指标(源码)