在线检测未来函数

同花顺葵花宝典指标公式

来源:Internet,编辑:股旁网,2011-05-02

FL:MA(CLOSE,13)+Abs(MA(CLOSE,13)-REF(MA(CLOSE,13),1)),colorwhite,LINETHICK2;
FS:MA(CLOSE,13)+MA(CLOSE,13)-REF(MA(CLOSE,13),1),colorcyan,LINETHICK2;
趋势线:IF(MA(CLOSE,13)<FS,FS,MA(CLOSE,13)),colormagenta,LINETHICK2;
A:趋势线-(EMA(C,3)-趋势线),colorgreen;
K1:=BACKSET(C>REF(趋势线,1),2);
Hh:IF(K1=1,趋势线,NEW),colorcyan,LINETHICK2;
X:=(20*a+19*REF(a,1)+18*REF(a,2)+17*REF(a,3)+16*REF(a,4)+15*REF(a,5)+
14*REF(a,6)+13*REF(a,7)+12*REF(a,8)+11*REF(a,9)+10*REF(a,10)+9*REF(a,11)+8*REF(a,12)
+7*REF(a,13)+6*REF(a,14)+5*REF(a,15)+4*REF(a,16)+3*REF(a,17)+2*REF(a,18)+
REF(a,20))/210;
mtm:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
CB:=EMA(X,13);
卖1:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND crOSS(MA(DX,2),DX),1,0);
DRAWTEXT(FILTER(卖1=1,1),HIGH*1.02,'卖'),colorwhite;
买1:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(买1=1,5),LOW-0.03,'买'),colorred;

同花顺葵花宝典指标公式

相关文章