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

同花顺动态读盘主图源码

发布时间:2017/9/24 6:52:39  浏览次数:

M1:=5;
 M2:=10;
 M3:=20;
 M4:=60;
五日线:MA(CLOSE,5),;
十日线:MA(CLOSE,10),colorred;
二十日线:MA(CLOSE,20),LINETHICK2,colorgreen;
三十日线:MA(CLOSE,30),LINETHICK2,colormagenta;
季度线:MA(CLOSE,60),LINETHICK2,colorcyan;
半年线:MA(CLOSE,120),LINETHICK2,coloryellow;
年度线:MA(CLOSE,250),LINETHICK2,colorwhite;
 DRAWTEXT_FIX(1,0,0.01,0, '【动态读盘】'),colorwhite;
 DRAWTEXT_FIX(1,0.06,0.01,0,'当日买卖量 ='),colorwhite;
 DRAWTEXT_FIX(1,0.19,0.01,0,'日主动买量 ='),colorwhite;
 DRAWTEXT_FIX(1,0.32,0.01,0,'日主动卖量 ='),colorwhite;
 DRAWTEXT_FIX(1,0.45,0.01,0,'当日买卖比 ='),colorwhite;
 DRAWTEXT_FIX(1,0.55,0.01,0,'买入累计万元: '),colorwhite;
 DRAWTEXT_FIX(1,0.68,0.01,0,'卖出累计万元: '),colorwhite;
 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,AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,AA*(HIGH-LOW),VOL/2));
买卖比:=主动买盘/主动卖盘;
WJ:=(HIGH+LOW+CLOSE)/3;
 VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
 VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
 VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
 VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
 VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
 VD6:=(VD1*VD5);
 VD7:=(VD2*VD5);
 VD8:=(VD3*VD5);
 VD9:=(VD4*VD5);
买入量:=(VD9+VD8);
卖出量:=(VD6+VD7);
买入资金:=买入量*CLOSE/100;
卖出资金:=卖出量*CLOSE/100;
 DRAWNUMBER_FIX(1,0.12,0.01,0,CONST(VOL)),COLOR00FFFF;
 DRAWNUMBER_FIX(1,0.25,0.01,0,CONST(主动买盘)),COLORFF00FF;
 DRAWNUMBER_FIX(1,0.38,0.01,0,CONST(主动卖盘)),COLORFFFFFF;
 DRAWNUMBER_FIX(1,0.51,0.01,0,CONST(买卖比)),COLOR00FF00;
 DRAWNUMBER_FIX(1,0.62,0.01,0,CONST(买入资金)),COLOR00FFFF;
 DRAWNUMBER_FIX(1,0.75,0.01,0,CONST(卖出资金)),colorred;


同花顺动态读盘主图源码

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

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