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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 多空令(同花顺)


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

N1:0,50,16;
N2:0,100,70;
Var2:=(CLOSE-LLV(LOW,95))/(HHV(HIGH,95)-LLV(LOW,95))*100;
Var3:=SMA(Var2,30,1);
Var4:=SMA(Var3,20,1);
Var5:=(Var3-Var4);
STICKLINE(REF(Var5,1)<Var5,Var5,REF(Var5,1),6,0),colorred;
STICKLINE(REF(Var5,1)>Var5,Var5,REF(Var5,1),6,0), colorgreen ;
Var6:=REF(CLOSE,1);
Var7:=SMA(MAX(CLOSE-Var6,0),N1,1)/SMA(Abs(CLOSE-Var6),N1,1)*100;
Var8:=SMA(MAX(CLOSE-Var6,0),N1,1);
Var9:=SMA(ABS(CLOSE-Var6),N1,1);
VarA:=Var8*8*4-Var9*8;
VarB:=Var9*8/4-Var8*8;
HM: (VarA-VarB)*2.5;
逢底介入: IF(crOSS(HM,0),5,0);
DRAWICON(CROSS(HM,0),8,0);
DRAWTEXT(IF(CROSS(HM,0),8,0),8,'逢底介入'),colorgreen;
加仓: IF(CROSS(HM,1),5,0);
VarC:=10*(EMA(CLOSE,12)-EMA(CLOSE,26));
VarD:=EMA(VarC,9);
VarE:=4*(VarC-VarD)*1.5;
多头能量: IF(VarE>0,VarE,0), COLORSTICK;
VarF:=30+(REF(CLOSE,1)-REF(OPEN,1))/REF(OPEN,1)*100/1.5;
Var10:=30+(REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)*100/1.5;
Var11:=CROSS("kdj.K"(9,3,3),"kdJ.J"(9,3,3)) AND "KDJ.D"(9,3,3)>N2;
Var15:=REF("bias.BIAS2"(6,13,34),1)>2;
DRAWTEXT(加仓,5.5,'加仓'),colorred;





回复

举报

QQ|

GMT+8, 2024-11-6 03:06

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