公式网 股票指标公式源码分享 登录 注册
公式指标平网
未来函数检测
首页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 东财通公式 飞狐公式 操盘手公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式网 > 同花顺公式 > 正文 → 正文

同花顺日内资金进出公式

发布时间:2015/12/13 5:54:30  浏览次数:

同花顺日内资金进出公式

源码

SUM((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*VOL,0);

净进量:VOL;

IF

MAVOL

THEN

RETURN 0;

DRAWGBK(FORMATTIME(1)<10 AND MARKETTYPE

AND TRADETIME>242);

(VOL*(TRADETIME+1))/(FIVEDAYVOL/5*(FROMOPEN+1));

AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

进量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,colorred;

出量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,colorcyan;

进出量:=进量+出量,COLOR00FFFF;

STICKLINE(出量<0,0,出量,4,0),COLORFF6600;

STICKLINE(出量<0,0,出量,3,0),COLORFF9900;

STICKLINE(出量<0,0,出量,1.5,0),COLORFFCC00;

STICKLINE(出量<0,0,出量,0.5,0),colorcyan;

STICKLINE(进量>0,0,进量,4,0),COLOR000099;

STICKLINE(进量>0,0,进量,3,0),COLOR0000CC;

STICKLINE(进量>0,0,进量,1.5,0),COLOR0000FF;

STICKLINE(进量>0,0,进量,0.5,0),COLORCC66FF;

N:=5; n:=13; N日内净流入:SUM(进量,N),LINETHICK2,colorgreen;

N:=5; n:=13; N日内净流出:SUM(出量,N),COLOR0000FF;

流入:IF(N日内净流入>REF(N日内净流入,1),N日内净流入,DRAWNULL),colorred,LINETHICK2;

流出:IF(N日内净流出>REF(N日内净流出,1),N日内净流出,DRAWNULL),COLOR0000FF;

连红天:BARSLASTCOUNT(进量>0);

牛天:BARSLASTCOUNT(进量>0);

强势:BARSLASTCOUNT(进量>0);

n日内翻红天:COUNT(进量>0,n),colorred;

n日内翻绿天:COUNT(出量>0,n),COLOR0000FF;

熊天:BARSLASTCOUNT(N日内净流出<0),colorcyan;

牛天:BARSLASTCOUNT(N日内净流入>0),colorred;

强势:BARSLASTCOUNT((N日内净流入>REF(N日内净流入,1))>0AND N日内净流入>0);

弱势:BARSLASTCOUNT((N日内净流出<REF(N日内净流出,1))>0AND N日内净流出<0);

a=(ZDMR[-1]+BDMR[-1]);

b=(ZDMC[-1]+BDMC[-1]);

a3=SUM(a,n1)/100000000;

b3=-SUM(b,n1)/100000000;

大单净差:a3+b3;

买入:=(ZDMRJE[-1]+BDMRJE[-1])/100000000;

卖出:=(ZDMCJE[-1]+BDMCJE[-1])/100000000;

大单净额:买入-卖出;

STICKLINE(大单净额>0,0,大单净额,10,0);

STICKLINE(大单净额<0,0,大单净额,10,0);

日bbd:SUM(大单净额,3);

日bbd:SUM(大单净额,5);

日bbd:SUM(大单净额,10);

AR:SUM(HIGH-OPEN,n1)/SUM(OPEN-LOW,n3)*100;

BR:SUM(MAX(0,HIGH-REF(CLOSE,1)),n3)/SUM(MAX(0,REF(CLOSE,1)-LOW),n3)*100;

a:n2;

b:n3;

a1=SUM(a,-1);

b1=-SUM(b,-1);

STICKLINE(a1+b1>0,0,a1+b1,10,0),color0000ff;

STICKLINE(a1+b1<0,0,a1+b1,10,0),color00ff00;

日bbd:SUM(a1+b1,3),colorcyan;

日bbd:SUM(a1+b1,5),colorred;

日bbd:SUM(a1+b1,10),colorwhite;

N:=22;JJ:=(HIGH+LOW+CLOSE)/3;

QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));

QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));

QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));

QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));

DDY:((QJ2+QJ4)-(QJ1+QJ3))/IF(CAPITAL=0,1000000,10000),COLOR00DD00,LINETHICK;

DY:=MA(DDY,5)*N;

STICKLINE(DDY<0,0,DDY,3,0),COLORFF8800;

STICKLINE(DDY<0,0,DDY,2.5,0),COLORFFAA00;

STICKLINE(DDY<0,0,DDY,1.5,0),COLORFFCC00;

STICKLINE(DDY<0,0,DDY,1,0),COLORFFEE00;

STICKLINE(DDY>0,0,DDY,3,0),COLOR880088;

STICKLINE(DDY>0,0,DDY,2.5,0),COLORAA00AA;

STICKLINE(DDY>0,0,DDY,1.5,0),COLORCC00CC;

STICKLINE(DDY>0,0,DDY,1,0),COLOREE00EE;

DDY1:SMA(DY,3,1),COLORFFFFFF;

DDY2:SMA(DDY1,3,1),COLOR00FFFF;

DDY3:EMA(DDY2,5),COLORFF00FF;;

JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));

QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));

QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));

QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));

ddz:=QJ1+QJ2;QJ2:=QJ3+QJ4;DD:=(QJ2-QJ3)/(QJ2+QJ3)*100;

DDZ:DD*17,LINETHICK1;

DDZ1:DD*13,LINETHICK1;

DRAWBAND(DDZ1,RGB(0,24,224),DDZ,RGB(255,0,0));

 

同花顺日内资金进出公式

资源下载链接   资源大小:8KB
精品资源推荐

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZX.COM.CN ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识