趋势乾坤指标 (源码)
2012-12-24 09:53:00来源:本站整理浏览:415
VAR1F:=((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5)))*(100);
VAR20:=REVERSE(VAR1F);
VAR21:=SMA(VAR1F,3,1);
趋势:SMA(VAR21,2,1),COLOR0000FF,LINETHICK1;
人气:SMA(趋势,2,1),COLORYELLOW,LINETHICK1;
A1:=CROSS(趋势,人气);
AA:=A1 AND 趋势 >30 AND 趋势<75;
短买:IF(CROSS(趋势,人气) AND (趋势<30),20,0),COLOR0000FF,LINETHICK2;
短卖:IF(CROSS(人气,趋势) AND (人气>75),85,100),COLOR008000,LINETHICK2;
STICKLINE(AA,40,60,0.2,0);
A2:=BARSLAST(REF(CROSS(趋势,人气),1));
B2:=REF(L,A2+1)>L AND REF(趋势,A2+1)<趋势 AND CROSS(趋势,人气);
DRAWTEXT(B2,20,'底'),COLORRED;
C2:=BARSLAST(REF(CROSS(人气,趋势),1));
D2:=REF(H,C2+1)<H AND REF(趋势,C2+1)>趋势 AND CROSS(人气,趋势);
DRAWTEXT(D2,80,'顶'),COLORGREEN;
强势区:80,POINTDOT,COLORGREEN;
弱势区:20,POINTDOT,COLORRED;
牛熊界:50,POINTDOT,COLORCYAN;
- 上一篇公式:绝密买卖点主图指标 (源码)
- 下一篇公式:牛马线买点升级版指标 (源码)