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

[复制链接]
查看82 | 回复0 | 2021-8-20 00:29:09 | 显示全部楼层 |阅读模式

以下是通达信风险控制与波段买卖合并源码(无源码的请下载附件导入)

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;

745122243.jpg

745122243.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则