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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信周口人自用量副图指标


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

以下是通达信周口人自用量副图指标

通达信周口人自用量副图指标

源码

M1:=5;M2:=10;M3:=20;N:=20;
VOL,VOLSTICK;
动量:=EMA(VOL,20)*1.5;
A01:=IF((VOL>动量),VOL,0);
盘整:BARSLAST((A01 > 0)),LINETHICK0;
MA1:MA(VOL,M1),COLORFF00FF;
MA2:MA(VOL,M2),COLOR00CED1;
MA3:=MA(VOL,M3);
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2));
STICKLINE(主动买盘>0,0,VOL,1.5,0),COLOR008800;
STICKLINE(主动买盘>0,0,主动买盘,1.5,0),COLORRED;
SAT:IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100),COLOR98FB98;
WH:=WINNER(HIGH)*100;
WP:=WINNER(CLOSE)*100;
WL:=WINNER(LOW)*100;
加码:=WP-WL;
减码:=WP-WH;
穿透力:加码+减码,COLOR7070FF;
HSL:=VOL/CAPITAL*100;
低量:STICKLINE(HSL>=1 AND HSL<2,VOL/2,4,0.1,0),COLORWHITE;
温量:STICKLINE(HSL>=2 AND HSL<3,VOL/2,4,0.1,0),COLOR5F9EA0;
活量:STICKLINE(HSL>=3 AND HSL<5,VOL/2,4,0.1,0),COLORYELLOW;
带量:STICKLINE(HSL>=5 AND HSL<8,VOL/2,4,0.1,0),COLORFF2020;
STICKLINE(HSL>=8 AND HSL<15,VOL/2,4,0.1,0),COLORGREEN;
STICKLINE(HSL>=15 AND HSL<=25,VOL/2,4,0.1,0),COLORFFFF00;
U:=CROSS(MA1,MA2);
DRAWTEXT(U,VOL+100+5000,'★'),COLORYELLOW;





回复

举报

QQ|

GMT+8, 2024-11-17 16:13

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