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

同花顺BS波段买卖公式

发布时间:2015/11/11 7:37:30  浏览次数:

同花顺BS波段买卖公式

红色柱状线持股;绿色柱状线持币

属于趋势指标

 源码


VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);

VAR2:=HIGH-REF(HIGH,1);

VAR3:=REF(LOW,1)-LOW;

VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);

VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);

VAR6:=VAR4*100/VAR1;

VAR7:=VAR5*100/VAR1;

VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);

VAR9:=(VAR8+REF(VAR8,15))/2;

买:ZIG(3,10);

卖:MA(买,2);

DRAWICON(CROSS(买,卖),L-CLOSE/15,"buy");

DRAWICON(CROSS(卖,买),H+CLOSE/15,"sell");

STICKLINE(买>卖 AND CLOSE>=OPEN,OPEN,CLOSE,10,1),colorred;

STICKLINE(买>卖 AND CLOSE>=OPEN,OPEN,LOW,0,0),colorred;

STICKLINE(买>卖 AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorred;

STICKLINE(买>卖 AND CLOSE<OPEN,OPEN,CLOSE,10,0),colorred;

STICKLINE(买>卖 AND CLOSE<OPEN,LOW,HIGH,0,0),colorred;

STICKLINE(买<卖 AND CLOSE<=OPEN,OPEN,CLOSE,10,0),colorcyan;

STICKLINE(买<卖 AND CLOSE<=OPEN,LOW,HIGH,0,0),colorcyan;

STICKLINE(买<卖 AND CLOSE>OPEN,OPEN,CLOSE,10,1),colorcyan;

STICKLINE(买<卖 AND CLOSE>OPEN,OPEN,LOW,0,0),colorcyan;

STICKLINE(买<卖 AND CLOSE>OPEN,CLOSE,HIGH,0,0),colorcyan;

STICKLINE(买=卖 AND CLOSE>=OPEN,OPEN,CLOSE,10,1),colorblue;

STICKLINE(买=卖 AND CLOSE>=OPEN,OPEN,LOW,0,0),colorblue;

STICKLINE(买=卖 AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorblue;

STICKLINE(买=卖 AND CLOSE<OPEN,OPEN,CLOSE,10,0),colorblue;

STICKLINE(买=卖 AND CLOSE<OPEN,LOW,HIGH,0,0),colorblue;

STICKLINE((买='-' OR 卖='-') AND CLOSE>=OPEN,OPEN,CLOSE,10,1),colorblue;

STICKLINE((买='-' OR 卖='-') AND CLOSE>=OPEN,OPEN,LOW,0,0),colorblue;

STICKLINE((买='-' OR 卖='-') AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorblue;

STICKLINE((买='-' OR 卖='-') AND CLOSE<OPEN,OPEN,CLOSE,10,0),colorblue;

STICKLINE((买='-' OR 卖='-') AND CLOSE<OPEN,LOW,HIGH,0,0),colorblue;

M30:MA(CLOSE,30),colorgreen;

M62:MA(CLOSE,62),LINETHICK2,coloryellow;

M73:MA(CLOSE,73),LINETHICK2,colormagenta;
 

 

同花顺BS波段买卖公式

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

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