以下是MACD超跌(源码 副图 通达信手机软件 贴图)(无源码的请下载附件导入)
今天看到网上关于通达信手机版可以编写指标功能介绍后自己也是随便鼓捣一下下,纯属娱乐。
把一些指标切入之后感觉还不错,先把指标写下。
DIF:=WMA(CLOSE,10)-WMA(CLOSE,22);
DEA:=WMA(DIF,5);
MACD:=(DIF-DEA)*2,COLORSTICK;
DIF穿越零轴8:=CROSS(DIF,0),COLOR00FF00,LINETHICK2;
DIF穿越零轴→:FILTER(DIF穿越零轴8 ,21) COLOR00FF00,LINETHICK2;
零轴下金叉8:=CROSS(DIF,DEA) AND DEA>0,COLORFF00FF,LINETHICK2;
零下金叉:=FILTER(零轴下金叉8 ,21) ,COLORWHITE,LINETHICK2;
零下二次金8:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
零下二次金→:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(零下二次金8,21)=1;
零下二次金:=FILTER(零下二次金→ ,21) ,COLORRED,LINETHICK2;
双金叉:零下二次金 AND 零下金叉 ,COLORRED,LINETHICK2;
DIF1:=EMA(CLOSE,9)-EMA(CLOSE,18);
DEA1:=EMA(DIF1,7),LINETHICK1;
MACD1:=2*(DIF1-DEA1);
金叉8:=CROSS(DIF1,DEA1) AND DIF1<0.2;
金叉吃:FILTER(金叉8 ,21)COLORFFFF80,LINETHICK2;
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(VAR2+2*VAR3+3*VAR4)/6;
VAR6:=MA(VAR5,3);
警戒雷达:=IF(VAR6<-6,21,0),LINETHICK3;
DIF9:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA9:=EMA(DIF9,9);
MACD9:=(DIF9-DEA9)*2;
GHM:=REF(MACD9,1)<REF(MACD9,2) && MACD9>REF(MACD9,1);
超跌8:=GHM AND 警戒雷达=21;
超跌:FILTER(超跌8 ,11),COLOR00FFFF,LINETHICK2;
具体导入方法本站有,资金找,就不再赘述,小指标,大虾勿笑,喷子勿喷。
625477719.jpg
|