公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

准确的逃顶抄底公式(源码 主图 贴图)

2023-5-17 16:30| 发布者: admin| 查看: 95| 评论: 0

抄底逃顶公式,公式源码如下:
x1:EMA(C,7);
x2:EMA(c,21);
x3:EMA(x2,7);
x4:ema(x3,27);
x5:ema(x2,100);
x6:ema(x5,100);
Var1:=MA(CLOSE,5);
var2:=x1>x2 and x2>x3 and x3>x4 and x4>x5 and x5>x6;
var3:=x2>ref(x2,1) and x3>ref(x3,1) and x4>ref(x4,1) and x5>ref(x5,1) and x6>ref(x6,1);
Var4:=(LOW+HIGH+CLOSE+open)/4;
Var5:=MA(CLOSE,34);
Var6:=MA(CLOSE,60);
Var7:=(2*CLOSE+HIGH+LOW)/4;
Var8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
Var9:=EMA(Var8,7);
Var10:=LLV(LOW,34);
Var11:=HHV(HIGH,34);
Var12:=EMA((Var7-Var10)/(Var11-Var10)*100,6);
Var13:=EMA(0.667*REF(Var12,1)+0.333*Var12,4);
Var14:=LLV(LOW,120);
Var15:=HHV(HIGH,120);
Var16:=Var15-Var14;
VarA:=REF(CLOSE,1);
VarB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;
VarC:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;
VarE:=SMA(MAX(CLOSE-VarA,0),6,1)/SMA(ABS(CLOSE-VarA),6,1)*100;
CB:=MA(Var4,5);
A1:=HHV(CB,20);
A2:=HHV(CB,60);
B1:=LLV(CB,20);
MID:=FORCAST(C,10);
上轨:=EMA(MID*1.05,3),COLOR00DDFF;
下轨:=EMA(MID*0.95,4),COLOR00AAFF;
aa:=100*(C-下轨)/(上轨-下轨);
drawtext((Varc+VarB< 7 AND CROSS(Var8,Var9) AND Var9< -18 AND Var9< VarB),l,'短买'),color00ff00;
drawtext(filter(var3 and var2 and count(x12 and x1>ref(x1,1),3),l,'回补'),coloryellow;
drawtext(COUNT(CLOSE< REF(CLOSE,1),8)/8> 0.3 AND COUNT(Var12> Var13,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE> OPEN,l,'低买'),colorff00ff;
drawtext(ref(aa,1)>aa and ref(aa,1)>100 and c>ref(c,1),h,'短出'),colorffff00;
drawtext(CROSS(84,VarE),h,'高出1'),colorf00ff0;
drawtext(filter((a2>ref(a2,1) and b1>ref(b1,1)),5),h,'高出2'),color00ffff;


鲜花

握手

雷人

路过

鸡蛋
返回顶部