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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺成交解盘副图指标 源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-26 09:50:19
同花顺成交解盘副图指标 源码介绍

同花顺成交解盘副图指标 源码

《软件炒股高手绝技》指标,选股指标,欢迎试用。

K=1;
VAR1:=SUM(VOL,0);
VAR2:=VAR1/CAPITAL;
N:=FLOOR(VAR2);
IF N=REF(N,1)+1 THEN BEGIN
STICKLINE(C,0,80,4,1);
DRAWTEXT(C,80,' 第'),ALIGN0,colorgreen;
DRAWTEXT(C,70,' '+ N),ALIGN0,colorred;
DRAWTEXT(C,60,' 次'),ALIGN0,colorgreen;
DRAWTEXT(C,50,' 完'),ALIGN0,colorgreen;
DRAWTEXT(C,40,' 全'),ALIGN0,colorgreen;
DRAWTEXT(C,30,' 换'),ALIGN0,colorgreen;
DRAWTEXT(C,20,' 手'),ALIGN0,colorgreen;
DRAWTEXT(C,10,' '+ K+'天'),ALIGN0,colorgreen;
K:=1;
END
ELSE
K:=K+1;
日换手:SUM(VOL,1)*100/CAPITAL,color00f000,LINETHICK0 ;
五日换手:SUM(VOL,5)*100/CAPITAL,color00f000,LINETHICK0 ;
十日换手:SUM(VOL,10)*100/CAPITAL,color00f000,LINETHICK0 ;
二十日换手:SUM(VOL,20)*100/CAPITAL,color00f000,LINETHICK0 ;
百日换手:=SUM(VOL,100)*100/CAPITAL;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交量(手):VOL,ColorC700FF,LINETHICK0;
主动买盘:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),colorred,LINETHICK0;
主动卖盘:IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),color66ff00,LINETHICK0;
REFLINE: 0, 25, 75, 100;
Var1:=IF(MA(CLOSE,88),1,0);
Var2:=1/WINNER(CLOSE);
Var3:=100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100);
HSL:=VOL/CAPITAL*100;
量能:=SUM(HSL,N);
涨幅1:=100*(CLOSE-REF(CLOSE,N))/REF(CLOSE,N);
流通市值:=CAPITAL*C;
AH:=HHV(流通市值,N);
AL:=LLV(流通市值,N);
t1:=IF(HSL<=2,1,0);
t2:=IF(HSL>2 AND HSL<3,1,0);
t3:=IF(HSL>3 AND HSL<5,1,0);
t4:=IF(HSL>5 AND HSL<8,1,0);
t5:=IF(HSL>8 AND HSL<15,1,0);
t6:=IF(HSL>15 AND HSL<25,1,0);
t7:=IF(HSL>=25,1,0);
sss:=100/4;
i:=0;






gd49620

回复

举报

QQ|

GMT+8, 2024-11-18 16:24

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