通达信卖出指标副图源码

[复制链接]
查看143 | 回复0 | 2022-7-24 05:58:53 | 显示全部楼层 |阅读模式

通达信卖出指标副图源码

股市最受不了的是股票卖了,却继续创新高上涨,更受不了的是,追涨买到股票了,赚了几个小钱没卖,坐着电梯又下来了。菜鸟一枚,后来从朋友处得到这个指标,给和我一样的菜鸟们参考。绝无未来,卖出提示出现后,大家结合K线图形和成交量变化作出决定,专家级的就免了。
 
 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,COLORBLACK,LINETHICK1,POINTDOT;
 DIF:EMA(CLOSE,9)-EMA(CLOSE,21), COLORBLACK;
 DEA:EMA(DIF,5) COLORBLACK;
MACD:(DIF-DEA)*2,COLORRED;
 V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线: EMA(V11,3), COLORBLACK;
 V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
 AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);
买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF;
 V1:=EMA(CLOSE,5)-EMA(CLOSE,340);
 V2:=EMA(V1,144);
 V3:(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,COLORBLACK;
卖出:-1*IF((CROSS(98.5,V3) AND V1>V2) AND COUNT(V3>97,3)=2,20,0)+90,COLORBLACK;
买入:IF(CROSS(V3,5) AND V1<V2,20,0)+10,COLOR0090FF;
 DRAWTEXT(CROSS(V3,5) AND V1<V2,25,'买入'),COLORFF00FF;
 DRAWTEXT(CROSS(98.5,V3) AND V1>V2,75,'卖出'),COLOR00FF00;

629166357.png

629166357.png

629222515.jpg

629222515.jpg

 

回复

使用道具 举报

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

本版积分规则