当前位置:首页 > 通达信 > 正文

【通达信源码分享】风险控制与波段买卖合并源码

2022-07-27未知 编 辑:掌上指标


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;
大家都爱看
查看更多热点新闻
点击进入掌上指标资源网-下载各类指标