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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信傻瓜稳赚趋势短买指标公式


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-9 14:59:10

以下是通达信傻瓜稳赚趋势短买指标公式

源码

Var3:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
Var4:=SMA(SMA(Var3,3,1),3,1);
Var5:=EMA(Var4,5);
Var6:=Var5;
Var7:=3*Var4-2*Var5;
Var8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K: SMA(Var8,3,1), , COLORWHITE;
D: SMA(K,3,1), , COLORYELLOW;
Var9:=3*K-2*D;
VarA:=LLV(LOW,36);
VarB:=HHV(HIGH,30);
VarC:=EMA((CLOSE-VarA)/(VarB-VarA)*4,4)*25;
趋势: VarC, ,COLORMAGENTA;
底背: STICKLINE(VarC<10,0,8,5,0), , COLORYELLOW;
顶背: STICKLINE(VarC>90,100,92,5,0), , COLORRED;
VarD:=87.5;
VarE:=(VarC-LLV(VarC,4))/(HHV(VarC,4)-LLV(VarC,4))*4*25;
反弹: DRAWTEXT(IF(CROSS(Var9,8),87,0),48,'反弹'), , COLORGREEN;
买: DRAWTEXT(IF(CROSS(VarE,87.5) AND 趋势<40,87,0),10,'买'), , COLORGREEN;
目标位: DRAWTEXT(IF(CROSS(趋势,VarD) AND VarE=100,50,0),56,'目标位'), , COLORBLUE;
见好跑: DRAWTEXT(IF(CROSS(VarD,趋势),87,0),85,'见好跑'), , COLORRED;
卖: DRAWTEXT(IF(CROSS(趋势,VarE) AND 趋势>87,87,0),70,'卖'), , COLORRED;
短买: IF(CROSS(趋势,10) AND 趋势>10,50,0), , COLORMAGENTA;
VarF:=SMA(Var3,20,1);
Var10:=SMA(VarF,15,1);
Var11:=(3*VarF+2*Var10)/4;
Var12:=REF(Var11,1);
Var13:=SMA(MAX(Var11-Var12,0),2,1)/SMA(ABS(Var11-Var12),2,1)*100;
Var14:=MA(Var13,10);
Var15:=IF(CROSS(Var14,90),25,0);
DRAWTEXT(CROSS(Var14,90),27,'强势整理'), , COLORWHITE;
Var16:=(CLOSE+LOW+HIGH)/3;
Var17:=SUM((Var16-REF(LOW,1)-(HIGH-Var16))*VOL/100000/(HIGH-LOW),0);
Var18:=EMA(Var17,1);
Var19:=MA(Var18,12);
Var1A:=MA(Var18,26);
Var1B:=(Var18-Var19)*10;
Var1C:=CAPITAL/EMA(VOL,5)/30*1.1;
Var1D:=IF(CROSS(Var1B,Var1C),1,0);
Var1E:=FILTER(Var1D,7);
Var1F:=DRAWICON(Var1E=1,100,1);
Var20:=EMA(CLOSE,12)-EMA(CLOSE,26);
强势: DRAWTEXT(IF(CROSS(Var20,0) AND Var20>0,87,0),80,'强势'), , COLORCYAN;
弱势: DRAWTEXT(IF(CROSS(0,Var20) AND Var20<0,87,0),15,'弱势'), , COLORYELLOW;
Var21:=(CLOSE*2+HIGH+LOW)/4;
Var22:=EMA(Var21,12)-EMA(Var21,26);
Var23:=EMA(Var22,2);
Var24:=2*(Var22-Var23)*5.8;
加仓: DRAWTEXT(IF(CROSS(Var24,0.47),LOW,0),12,'加仓'), , COLORMAGENTA;
Var25:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
Var26:=66.6;
DRAWTEXT(IF(CROSS(Var25,63) AND CROSS(Var9,D) OR CROSS(Var25,76) AND CROSS(Var9,D) OR CROSS(Var25,80) AND CROSS(Var9,D) OR CROSS(Var25,85) AND CROSS(Var9,D),LOW,0),20,'反弹'), , COLORYELLOW;






回复

举报

QQ|

GMT+8, 2024-11-19 16:30

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