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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信RSV优化后牛逼公式


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

以下是通达信RSV优化后牛逼公式

通达信RSV优化后牛逼公式

源码

RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);动能:SMA(RSV,7,1),COLORWHITE,LINETHICK2;运行:SMA(SMA(RSV,7,1),3,1),COLORBROWN,LINETHICK2;Y3:(((CLOSE/COST(13))<=0.8)*10),COLORBLACK;轨迹:SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORMAGENTA,LINETHICK2;DRAWTEXT(CROSS(动能,23),10,'机会');
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
VAR21:=MA(CLOSE,5);
VAR22:=MA(CLOSE,10);
VAR23:=MA(CLOSE,20);
VAR24:=MA(CLOSE,30);
VAR25:=(VAR21+VAR22+VAR23+VAR24)/4;
VAR26:=(VAR5-REF(VAR25,5))/REF(VAR25,5)*1500;
VAR27:=(VAR25-REF(VAR25,5))/REF(VAR25,5)*1500;
VAR28:=EMA(VAR26,8);
VAR29:=TROUGHBARS(3,15,1)<10;
VAR210:=PEAKBARS(3,15,1)<10;
VAR211:=IF(VAR29=1,50,0);
VAR212:=IF(VAR210=1,50,0);
底部勇于介入:IF(VAR211=50,50,0);
头部果断出局:IF(VAR212=50,100,0);
买入:IF( 底部勇于介入>REF(底部勇于介入,1),50,0),COLORRED;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;?
Q3:=SMA(Q2, 9, 1);?
Q4:=SMA(Q3, 3, 1);?
VAR213:=PEAKBARS(3,15,1)<10;
VAR215:=IF(VAR213=1,2,0);
顶:= IF(VAR215=2,2,0);
顶A:IF(顶>REF(顶,1),50,0),COLORGREEN;
DRAWTEXT(顶A=50,45,'快跑'),COLOR00FF00;





回复

举报

QQ|

GMT+8, 2024-11-20 02:38

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