20均线(同花顺)

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

A:=MA(CLOSE,20);
B:=REF(MA(CLOSE,20),1);
MACD:(A-B)*1000,COLORSTICK;
VAR111:=IF(DATE<1500830 AND DATE>900101,1,0);
VAR222:=LLV(LOW,10);
VAR333:=HHV(HIGH,25);
K1:=(28/10)*VAR111*100;
K2:=(32/10)*VAR111*100;
K3:=(35/10)*VAR111*100;
RSV111:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV111,3,1),COLORFFFFFF;
D:=SMA(K,3,1),COLOR00FFFF;
J:=3*K-2*D,COLORFF00FF;
X:=LLV(J,2)=LLV(J,8);
Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0),COLOR00FF00;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND MACD>0,B*1.05,'短'),COLORFF00FF;

202108202255.png

202108202255.png

 

回复

使用道具 举报

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

本版积分规则