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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[飞狐] 飞狐主动买卖盘指标公式


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

A2:=IF(CLOSE>126.32,AMOUNT/100000,vol);
VAR0:=(CLOSE*2+HIGH+LOW)/4*VOL;
VAR21:=SUM(VAR0,89)/SUM(VOL,89);
VAR2:=IF((COUNT(VAR0>0,2))>=2,MA(CLOSE,89)*(1+(MA(VAR0,89)/REF(MA(VAR0,89),1)-1)/21),MA(CLOSE,89));
VAR3:=IF((COUNT(Abs(CLOSE-VAR21)>21,8))>=1 AND (COUNT(CLOSE/REF(CLOSE,1)<0.8,8))<1 AND (COUNT(VAR0>0,2))>=2,10,0);
VAR4:=IF(CLOSE>=VAR21 AND (COUNT(VAR0>0,2))>=2,VAR21*1.001,IF(VAR0<0.1 AND (COUNT(VAR0>0,2))<1.5,MA(CLOSE,89),VAR21*0.999));
VAR5:=IF(VAR3>0,VAR2,VAR4);
VAR6:=MA(CLOSE,89);
搏杀生命线:=IF(VAR5/REF(VAR5,1)>1.1 OR VAR5/REF(VAR5,1)<0.9,VAR6,VAR5);
A:=(CLOSE*2+HIGH+LOW)/4*VOL;
B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,17);
资金:=(B-B1)*100/B;
VAR1:=VOL/((HIGH-LOW)*2-(ABS(CLOSE-OPEN)));
成交能量:=VOL;
主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*(HIGH-OPEN+CLOSE-LOW),VOL/2)),COLOR0000FF;
主动卖盘:IF(CLOSE>OPEN,-VAR1*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,-VAR1*(HIGH-LOW),-VOL/2)),COLOR00FF80;
持股线:=MA(HIGH,21);
空仓线:=MA(LOW,21);
操盘趋势:=MA(CLOSE,3);
线:0,COLORFFFFFF;





回复

举报

QQ|

GMT+8, 2024-11-17 00:10

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