A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
ZDZK1:=EMA(A,6);
ZDZK2:=REF(ZDZK1,1);
超短线:((A-LLV(A,21))/(HHV(A,21)-LLV(A,21))*(4))*(25),COLORWHITE,LINETHICK1;
趋势线:IF(ZDZK1>=ZDZK2,ZDZK1+10,ZDZK2)COLORRED;
调合线:IF(ZDZK2-ZDZK1,ZDZK2,ZDZK1),COLORGREEN;
月量价:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,20)/10000;
周均量:=EMA(月量价,5);
趋势买点:(趋势线>调合线 AND REF(趋势线,1)=REF(调合线,1)
AND (趋势线<(MA(REF(HHV(趋势线,30),1),2)+MA(REF(LLV(趋势线,30),1),2))/2)
AND 月量价>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2)))*20,STICK,COLORRED;
DRAWICON (趋势买点>0,趋势买点,'BUY');
STICKLINE(REF(趋势线,1)<趋势线,趋势线,REF(趋势线,1),8,1),COLORF00FF0;
STICKLINE((趋势线>调合线 AND REF(趋势线,1)=REF(调合线,1)),趋势线,REF(趋势线,1),2,1),COLORRED;
STICKLINE(趋势线<REF(趋势线,1) OR (AMOUNT/REF(AMOUNT,1)<0.97),趋势线,
REF(趋势线,1),8,0),COLORWHITE;
STICKLINE(REF(调合线,1)>调合线,调合线,REF(调合线,1),8,1),COLOR00FF00;
离场:(趋势线=调合线 AND REF(趋势线,1)>REF(调合线,1) AND 调合线>50 AND
(MA(ZIG(3,12),2)>ZIG(3,12))),STICK;
出5:STICKLINE(离场,100,80,2,0),STICK,COLORGREEN,LINETHICK2;
顶:90,COLOR9DFFFF;
强弱:50,COLORGRAY;
底:10,COLORGRAY;
上一篇:通达信短线快枪手主图源码 下一篇:据说是基金专用的一个中长线主图指标公式