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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信量价齐升指标公式源码


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

VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,8);
VAR5:=EMA(VAR4,5);
VAR6:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
VAR7:=HHV(VAR6>20,10);
VAR8:=MA(CLOSE,5);
VAR9:=MA(CLOSE,10);
VAR10:=MA(CLOSE,20);
VAR11:=MA(CLOSE,30);
VAR12:=BARSLAST(crOSS(VAR8,VAR9));
VAR13:=BARSLAST(CROSS(VAR9,VAR8));
VAR14:=IF(VAR12<VAR13,VAR12+1,0);
VAR15:=IF(VAR13<VAR12,VAR13+1,0);
VAR16:=VAR8>VAR10 AND VAR9>VAR10 AND VAR10>REF(VAR10,1) AND VAR11>REF(VAR11,1);
VAR17:=HHV(VAR14,5)>=2 AND VAR16 AND VAR8>REF(VAR8,1) AND VAR8>VAR9;
VAR18:=VAR17*VAR14;
VAR19:=BARSLAST(VAR18>0 AND NOT(REF(VAR18,1)))+1;
VAR20:=(CLOSE/REF(CLOSE,VAR19)-1)*100;
拉升值:IF(VAR20>0,VAR20,0),COLORLIMAGENTA;
VAR21:=0.24;
VAR22:=IF(CLOSE>REF(CLOSE,1),88,0);
VAR23:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND VAR22>0,91,0);
VAR24:=FILTER(VAR23>90,45);
STICKLINE(VAR24,10,0,1,0),COLORYELLOW;
STICKLINE(VAR24,10,0,0.5,0),COLORRED;
DRAWTEXT(VAR24>0,7,'量值+拉升值,大于10,后市看涨'),COLOR00C5FF;





回复

举报

GMT+8, 2025-1-22 17:58

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