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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 清心伏魔指标---推荐一个好公式(源码、主图、贴图)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 19:23:10
清心伏魔指标---推荐一个好公式(源码、主图、贴图)介绍

清心伏魔指标---推荐一个好公式(源码、主图、贴图)

VAR1:=100-((90)*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21));
VAR2:=100-MA(((100)*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6)),34);
VAR3:=EMA(MA(CLOSE,34),13);
VAR4:=CROSS(EMA(CLOSE,2),EMA((SLOPE(CLOSE,21))*(20)+CLOSE,42));
VER5:=(2)*((2)*(EMA(CLOSE,5)-EMA(CLOSE,10))+(2)*(EMA(CLOSE,5)-EMA(CLOSE,30)));
VER6:=((CLOSE-REF(OPEN,29))/(REF(OPEN,29)))*(100);
VAR7:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VAR8:=(3)*(SMA(VAR7,3,1))-(2)*(SMA(SMA(VAR7,3,1),3,1));
VAR9:=90;
SEA:=CROSS(VER5,0);
RAY:=CROSS(VAR1,MA(VAR2,6));
STICKLINE((CLOSE>=VAR3) AND (CLOSE>=OPEN),CLOSE,OPEN,4.5,0),CoLor0000FF;
STICKLINE((CLOSE>=VAR3) AND (CLOSE<OPEN),CLOSE,OPEN,4.5,1),CoLor0000FF;
STICKLINE((CLOSE<VAR3) AND (CLOSE>OPEN),CLOSE,OPEN,4.5,1),CoLorFFFF00;
STICKLINE((CLOSE<VAR3) AND (CLOSE<=OPEN),CLOSE,OPEN,4.5,0),CoLorFFFF00;
STICKLINE((CLOSE<VAR3) AND (CLOSE<=OPEN),HIGH,LOW,0,1),CoLorFFFF00;
MA5:(MA(CLOSE,5)+MA(CLOSE,3))/(2),CoLor00FFFF;
MA13:(MA(CLOSE,13)+MA(CLOSE,8))/(2),CoLor00FF00;
MA34:MA(CLOSE,34),CoLorFF0000;
MAIN:=(((RAY AND VAR4 or RAY AND SEA) or VAR4 AND SEA) or (((((((((((((((((RAY AND REF(VAR4,1) or RAY AND REF(VAR4,2)) or RAY AND REF(VAR4,3)) or VAR4 AND REF(RAY,1)) or VAR4 AND REF(RAY,2)) or VAR4 AND REF(RAY,3)) or RAY AND REF(SEA,1)) or RAY AND REF(SEA,2)) or RAY AND REF(SEA,3)) or VAR4 AND REF(SEA,1)) or VAR4 AND REF(SEA,2)) or VAR4 AND REF(SEA,3)) or SEA AND REF(RAY,1)) or SEA AND REF(RAY,2)) or SEA AND REF(RAY,3)) or SEA AND REF(VAR4,1)) or SEA AND REF(VAR4,2)) or SEA AND REF(VAR4,3)));
DRAWTEXT(FILTER(MAIN AND (VER6>8),8),(LOW)*(0.984),'买①入'),CoLor00FFFF;
DRAWTEXT(FILTER(MAIN AND (VER6<=8),8),(LOW)*(0.96),'买②入'),CoLor00FFFF;
DRAWICON(CROSS(90,VAR8),(HIGH)*(1.03),2),CoLor00FFFF;




 



gd15442

回复

举报

QQ|

GMT+8, 2024-12-26 03:12

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