通达信金鼠送宝主图指标公式

2013-07-22 09:48:00来源:本站整理浏览:485

p1:=28;
p2:=32;
p3:=35;
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,COLORA0A0FF;
K1:=(P1/10)*VAR1*100;
K2:=(P2/10)*VAR1*100;
K3:=(P3/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),COLORRED;
DRAWTEXT(买入,LOW*0.98,'▲'),COLOR0000FF;
DRAWTEXT(买入,LOW*0.975,'∣'),COLOR0000FF;
DRAWTEXT(买入,LOW*0.975,'‖'),COLOR0000FF;


 


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式