mjj 发表于 2016-1-19 09:47

买卖成交量

VAR0:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,VAR0*(HIGH-LOW),IF(CLOSE<OPEN,VAR0*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
主买%:买盘/100000,COLORRED,NODRAW;
主卖:=IF(CLOSE>OPEN,0-VAR0*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR0*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));
主卖%:-卖盘/100000,COLORCYAN,POINTDOT,NODRAW;
震动调整:=(买盘 + 卖盘);
{STICKLINE((震动调整 < 1),1,震动调整,2.5,0),COLORCYAN;}
买卖量差%:((买盘)+(卖盘))/100000,COLORFF00FF;
STICKLINE((买卖量差% < 0),0,买卖量差%,1,0),COLORWHITE;
量差3:SUM(买卖量差%,3);
量差7:SUM(买卖量差%,7);
量差14:SUM(买卖量差%,15);
量差25:SUM(买卖量差%,25),COLORCYAN;
VAR2:=(HIGH - LOW);
VAR3:=ABS((OPEN - CLOSE));
VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
VAR6:=((VAR3 / VAR2) * VOL);
VAR7:=((VAR4 / VAR2) * VOL);
VAR8:=((VAR5 / VAR2) * VOL);
STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,1,0),COLORCYAN;
STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,1,0),COLORWHITE;
STICKLINE((买盘 > 0),买盘,0,1,0),COLORRED;

wubiandeyushi 发表于 2016-1-19 22:23

应该是个好公式吧,先试一下。

dzy10888 发表于 2016-1-19 11:00

好用不, 谢谢分享谢谢分享。

279656201 发表于 2016-1-19 10:50

hhhhhhhhhhhhhhhhhhh

sdlylwg 发表于 2016-1-19 10:07

学习楼主分享

陆元海 发表于 2016-1-19 10:15

楼主辛苦,谢谢分享。

hfzhou 发表于 2016-1-19 10:16

谢谢楼主的分享

金泰西 发表于 2016-1-19 10:21

谢谢楼主的分享!

463461263 发表于 2016-1-19 10:23

dy908 发表于 2016-1-19 10:24

沉下心来学习

vacuumwu 发表于 2016-1-19 10:25

谢谢楼主分享

xyz168668 发表于 2016-1-19 10:27


楼主辛苦,谢谢分享。

yangfb22 发表于 2016-1-19 10:30

买卖成交量

小仙子 发表于 2016-1-19 10:31


楼主辛苦,谢谢分享

jxpxxx 发表于 2016-1-19 10:31

snail_01 发表于 2016-1-19 10:35

感谢分享!!!!!

关心你 发表于 2016-1-19 10:35

大道至简2015 发表于 2016-1-19 10:37

谢谢楼主的分享
页: [1] 2 3
查看完整版本: 买卖成交量