通达信金鼠送宝 快乐金鼠窝 动能趋势线 副图公式
指标源码:
V1:EMA(CLOSE,5);
V2:EMA(EMA(CLOSE,90)*1.01,10),LINETHICK2;
DRAWICON(CROSS(V1,V2),V2,1);
DRAWTEXT(CROSS(V1,V2),V1+0.05,'金鼠送宝'),COLOR00FF00;
{跟进:(CROSS(V1,V2));}
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORWHITE;
VAR1:=IF(DATE<1500830 AND DATE>900101,1,0);
VAR2:=LLV(LOW,10);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
AB:=CROSS(AK1,AK);
DRAWTEXT((AB = 1),(LOW * 0.99),'快乐金鼠窝'),COLORYELLOW;
QY1:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
QY2:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
QY3:=QY1<REF(QY2,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
XG:DRAWTEXT(QY3 AND COUNT(QY3,30)=1,L,'下钱雨了'),COLOR00FFFF;
{下钱雨了:QY3 AND COUNT(QY3,30)=1}
;VAR3:=HHV(HIGH,25);
动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*VAR1;
K1:=(20/10)*VAR1*100;
K2:=(32/10)*VAR1*100;
K3:=(35/10)*VAR1*100;
DRAWTEXT(CROSS(动能趋势线,K1),HIGH*1.02,'风险'),COLOR00FFFF;
DRAWTEXT(CROSS(动能趋势线,K2),HIGH*1.02,'减仓'),COLORFF0000;
DRAWTEXT(CROSS(动能趋势线,K3),HIGH*1.02,'出局'),COLOR0000FF;
M:=MA((C+O+H+L)/4,2);
M3:MA(M,3),COLOR000000;
M5:MA(M3,5),COLOR000000;
买入:=CROSS(M3,M5);
{买入显示}
DRAWTEXT(买入,LOW*0.98,'▲'),COLOR0000FF;
DRAWTEXT(买入,LOW*0.975,'∣'),COLOR0000FF;
DRAWTEXT(买入,LOW*0.975,'‖'),COLOR0000FF;
指标图示:
.
郑重声明:股市具有不确定性,个股走势是无法预测的。公式软件描述中的案例截图仅代表过去,仅供参考学习研究之用,不构成投资建议或未来保证,也并不能代表未来,依此操作,责任自负。股市有风险,入市需谨慎。
指标公式评论
(通达信金鼠送宝 快乐金鼠窝 动能趋势线 副图公式)