【通达信源码分享】风险控制与波段买卖合并源码
通达信免费指标
07-28
阅读:448
评论:0
STICKLINE(C>0,90,95,10,0),COLOR408000;
STICKLINE(C>0,10,5,10,0),COLOR408000;
HDY:=EMA (100(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
DRAWBAND(HDY,RGB(255,000,139),10,RGB(255,255,71));
STICKLINE(C>0,90,10,10,0),COLOR000000;
风险值:HDY,COLORCYAN,LINETHICK1;
警示线:45,COLORMAGENTA,LINETHICK1,POINTDOT;
A:0,POINTDOT,COLORMAGENTA,LINETHICK3;
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26),COLORBLUE,LINETHICK2;
DEA1:=EMA(DIFF,9);0.10,COLORBLUE,LINETHICK2;
MACD: 2(DIFF-DEA1)*60,LINETHICK0;
S1:=MACD<REF(MACD,1)AND MACD>0,COLORBLUE;
S2:=MACD<REF(MACD,1)/2 AND MACD<0;
STICKLINE(MACD>=0,MACD,0,5,1),COLORRED;
STICKLINE(S1,0,MACD,5,1),COLOR00FFFF;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!