STICKLINE(动力线 REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORRED;
STICKLINE(动力线 =REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLOR00FF00;
底部:0.2,COLOR70DB93;
关注:0.5,COLORYELLOW;
DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,7),LAYER0;
DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,8),LAYER0;
DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,7),LAYER0;
DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,8),LAYER0;
强弱分界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;
数值:动力线,COLORA8A8A8;
DRAWTEXTREL(2,360.5,'底部区域:'+NUMTOSTR(COST(0.33))),Color0000FF;
DRAWTEXTREL(110,360.5,'安全区域:'+NUMTOSTR(COST(5))),Colorff00FF;
DRAWTEXTREL(2,210.5,'投机区域:'+NUMTOSTR(COST(15))),Color00DDFF;
DRAWTEXTREL(110,210.5,'风险区域:'+NUMTOSTR(COST(55))),COLOR00FF00;
N:=20;
均价:=(3*C+H+L+O)/6;
VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;
VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
SZ1:=REF(VAR1,1)=REF(VAR2,1) AND VAR1 VAR2 AND CLOSE VAR1;
SZ2:=VAR1 VAR2 AND VAR1 REF(VAR1,1) AND VAR2 REF(VAR2,1) AND H/VAR1 1.1 AND L VAR2 AND CLOSE VAR1;
SZ3:=VAR1 VAR2 AND VAR1 REF(VAR1,1) AND VAR2 =REF(VAR2,1) AND H/VAR1
SZ4:=VAR1 VAR2 AND VAR1 REF(VAR1,1) AND VAR2 REF(VAR2,1) AND CLOSE VAR2 AND CLOSE VAR1;
SZ5:=(VAR1 VAR2 AND VAR2 REF(VAR2,1) AND VAR1 REF(VAR1,1) AND CLOSE VAR2) OR (VAR1 VAR2 AND VAR1 REF(VAR1,1) AND VAR2 REF(VAR2,1) AND CLOSE VAR2);;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
SZ6:=REF(VAR1,1) REF(VAR2,1) AND VAR1=VAR2 AND CLOSE VAR2;
XD1:=VAR1=VAR2 AND CLOSE VAR2 OR (VAR1 REF(VAR1,1) AND VAR2 REF(VAR2,1) AND REF(VAR1,1)=REF(VAR2,1) AND CLOSE VAR2);
XD2:=VAR1=VAR2 AND CLOSE VAR1;
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N));
量能饱和度:=IF(SAT 1,1,SAT)*100;
IF BARSTATUS=2 AND SZ1 THEN BEGIN
DRAWTEXTABS(210,25,'调整结束短线介入'),COLORRED;
END
ELSE
IF BARSTATUS=2 AND SZ2 THEN BEGIN
DRAWTEXTABS(210,25,'上升通道走势良好'),COLORRED;
END
ELSE
IF BARSTATUS=2 AND SZ3 THEN BEGIN
DRAWTEXTABS(210,25,'股价偏离注意调整'),COLORRED;
END
ELSE
IF BARSTATUS=2 AND SZ4 THEN BEGIN
DRAWTEXTABS(210,25,'上升通道调整洗盘'),COLORGREEN;
END
ELSE
IF BARSTATUS=2 AND SZ5 THEN BEGIN
DRAWTEXTABS(210,25,'转向特征注意离场'),COLORGREEN;
END
ELSE
IF BARSTATUS=2 AND SZ6 THEN BEGIN
DRAWTEXTABS(210,25,'通道改变坚决离场'),COLORGREEN;
END
ELSE
IF BARSTATUS=2 AND XD1 THEN BEGIN
DRAWTEXTABS(210,25,'下跌通道只宜观望'),COLORGREEN;
END
ELSE
IF BARSTATUS=2 AND XD2 THEN BEGIN
DRAWTEXTABS(210,25,'短期底部准备进入'),COLORYELLOW;
END;