金矿改进版(飞狐副图 源码)

[复制链接]
查看756 | 回复0 | 2022-7-13 07:32:46 | 显示全部楼层 |阅读模式
DIFF1:=EMA(CLOSE,16)-EMA(CLOSE,58);
DEA1:=EMA(DIFF1,88);
MACD1:=2*(DIFF1-DEA1)*100;
MAMACD1:=MA(MACD1,5);
DIFF:=EMA(CLOSE,8)-EMA(CLOSE,26);
DEA:=EMA(DIFF,50);
MACD:=2*(DIFF-DEA)*100;
MAMACD:=MA(MACD,5);
STICKLINE(MACD1<MAMACD1,0,MACD1,10,0),colorFF00;
STICKLINE(MACD>MAMACD,MACD1*0.6,0,10,0),colorFFFF;
STICKLINE(MACD<0,MAMACD,MACD1,10,0),colorFF00;
STICKLINE(MACD1>MAMACD1 AND MACD>MAMACD,0,MACD1,10,0),colorFF;
P:=26;
S:=12;
M:=9;
DIFF:=EMA(CLOSE,S)-EMA(CLOSE,P);
DEA:=EMA(DIFF,M);
MACD:=20*(DIFF-DEA);
平衡:=EMA(EMA(EMA(HIGH,3),3),1);
VAR2:=平衡*0.84;
终结线:=平衡*1.06;
主线:=WMA(CLOSE,8);
VAR1:=POW(CLOSE-主线,1);
VAR2:=MA(VAR1,3);
VAR3:=SQRT(VAR2);
WX:=MA(CLOSE,0);
M1:=MA(CLOSE,15)*(IF(20<5,WX,1));
M2:=MA(CLOSE,20)*(IF(20<7,WX,1));
DRAWTEXT(REF(CLOSE,1)<M2 AND 主线-REF(主线,1)>0 AND 终结线-REF(终结线,1)>0.01 AND LOW<M2 AND CLOSE>M2 AND M1-REF(M1,1)>0 AND CLOSE/OPEN>1.052,LOW-0.08,'挖到\n金矿'),colorFFFF;
拐点:=MA(CLOSE,N8);
拐点1:=MA(CLOSE,N8);
GD1:=REF(COUNT(拐点<=REF(拐点,1),5)=5,1) AND 拐点>REF(拐点,1);
GD2:=REF(COUNT(拐点1<=REF(拐点1,1),5)=5,1) AND 拐点1>REF(拐点1,1);
DRAWICON(GD1,LOW*0.98,1);
DRAWTEXT(FILTER(GD1,LOW*0.98),180,'10%\n出击'),PXUP6,colorFFFFFF;
KS:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);
RKS:=REF(KS,1);
MLS:=RKS/KS>=1.23 AND RKS>=8 AND CLOSE/REF(CLOSE,1)>=1.02;
DRAWTEXT(FILTER(KS>=8,HIGH),380,'超跌\n关注'),PXUP6,colorFF00FF;

 

201010311101635603.rar

2.96 KB, 下载次数: 4

201010311101635603.rar

回复

使用道具 举报

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

本版积分规则