股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 准确的逃顶抄底公式(源码 主图 贴图)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-22 17:24:20
准确的逃顶抄底公式(源码 主图 贴图)介绍

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

抄底逃顶公式,公式源码如下:
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(x1<ref(x1,1),5)>2 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;




 



gd12801

回复

举报

QQ|

GMT+8, 2024-11-18 12:38

快速回复 返回顶部 返回列表