同花顺葵花宝典指标公式

[复制链接]
查看173 | 回复0 | 2021-8-20 23:21:12 | 显示全部楼层 |阅读模式

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;

202108202250.jpg

202108202250.jpg

 

回复

使用道具 举报

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

本版积分规则