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

同花顺BS波段买卖主图指标公式

发布时间:2015/8/30 6:44:58  浏览次数:

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

属于趋势指标

 


//波段标识

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;

M5:MA(CLOSE,5),colorgreen;

M55:MA(CLOSE,55),LINETHICK2,coloryellow;

M555:MA(CLOSE,55)*1.5,LINETHICK2,colormagenta;

//显示操盘纪律

DRAWTEXT_FIX(1,0.10,0.03,0,'基本面'),colorwhite;

DRAWTEXT_FIX(1,0.10,0.1,0,'垄断(市场技术稀缺)'),COLORCC66FF;

DRAWTEXT_FIX(1,0.10,0.15,0,'最终商品'),COLORCC66FF;

DRAWTEXT_FIX(1,0.10,0.2,0,'面向大众(成长性)'),COLORCC66FF;

DRAWTEXT_FIX(1,0.10,0.25,0,'龙头不死,跟风无效'),COLORCC66FF;

DRAWTEXT_FIX(1,0.08,0.30,0,'【波段-中线】前期缓涨-中间缩量洗盘-放量突破BOLL上轨-5日线在55线上且不太多; '),coloryellow;

DRAWTEXT_FIX(1,0.08,0.35,0,'            若当天涨幅过大--5%为界,则次日逢低进入。若涨幅不大,可直接进入'),coloryellow;

DRAWTEXT_FIX(1,0.08,0.40,0,'【逆袭-短线】快进快出,底部反转或大涨后大跌次日逆袭,可跟进。周线逆袭也可进'),coloryellow;

DRAWTEXT_FIX(1,0.08,0.45,0,'心理倒错:赢利时做短线,亏损时做长线。大涨时贪婪,大跌时恐惧'),COLORCC66FF;

DRAWTEXT_FIX(1,0.23,0.03,0,'技术面'),colorwhite;

DRAWTEXT_FIX(1,0.23,0.1,0,'挖坑波段'),COLORCC66FF;

DRAWTEXT_FIX(1,0.23,0.15,0,'大跌反转'),COLORCC66FF;

DRAWTEXT_FIX(1,0.23,0.2,0,'底部周线'),COLORCC66FF;

DRAWTEXT_FIX(1,0.23,0.25,0,'五升三降'),COLORCC66FF;

DRAWTEXT_FIX(1,0.30,0.03,0,'操盘纪律'),colorwhite;

DRAWTEXT_FIX(1,0.30,0.1,0,'保住本金'),COLORCC66FF;

DRAWTEXT_FIX(1,0.30,0.17,0,'分仓介入'),COLORCC66FF;

DRAWTEXT_FIX(1,0.30,0.24,0,'铁定纪律'),COLORCC66FF;

 
同花顺BS波段买卖主图指标公式

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

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