新布林助你决策买卖 通达信主图源码
2016-8-30 18:01:49点击:
M:=((3*C+2*L+O+H)/7);
BOLL:=MA(M,15);
HB:BOLL+2*STD(M,15)COLORMAGENTA,LINETHICK2;
LB:BOLL-2*STD(M,15)COLORBROWN,LINETHICK2;
中轨:(HB+LB)/2,COLORCYAN,DOTLINE;
G:=YEAR AND MONTH AND DAY;
G1:=STRCAT(CON2STR(YEAR,0),'年');
G2:=STRCAT(CON2STR(MONTH,0),'月');
G3:=STRCAT(CON2STR(DAY,0),'日');
G4:=STRCAT(' 【 ',IF(WEEKDAY=1,'星期一',IF(WEEKDAY=2,'星期二',IF(WEEKDAY=3,'星期三',IF(WEEKDAY=4,'星期四',IF(WEEKDAY=5,'星期五',IF(WEEKDAY=6,'星期六','星期日')))))));
GA:=STRCAT(STRCAT(STRCAT(G1,G2),STRCAT(G3,G4)),' 】');
日期:DRAWTEXT_FIX(G,0.04,0.03,0,GA)COLORGREEN;
DRAWTEXT_FIX(1,0.01,0.08,0,'1. 上轨与下轨收拢时后市趋淡,扩张时后市看涨。')COLORWHITE;
DRAWTEXT_FIX(1,0.01,0.13,0,'2. 股价穿越中轨可以买入,死叉中轨时止损卖出。')COLORGREEN;
DRAWTEXT_FIX(1,0.01,0.18,0,'3. 股价贴在上轨之上,属 "强势" 特征,一路持有。')COLORMAGENTA;
DRAWTEXT_FIX(1,0.01,0.23,0,'4. 股价受压于上轨时,该需止盈,及时卖出为宜。')COLORYELLOW;
DRAWTEXT_FIX(1,0.01,0.28,0,'5. 股价收低上轨,意味走弱,将进入盘整或跌势。')COLORCYAN;
BOLL:=MA(M,15);
HB:BOLL+2*STD(M,15)COLORMAGENTA,LINETHICK2;
LB:BOLL-2*STD(M,15)COLORBROWN,LINETHICK2;
中轨:(HB+LB)/2,COLORCYAN,DOTLINE;
G:=YEAR AND MONTH AND DAY;
G1:=STRCAT(CON2STR(YEAR,0),'年');
G2:=STRCAT(CON2STR(MONTH,0),'月');
G3:=STRCAT(CON2STR(DAY,0),'日');
G4:=STRCAT(' 【 ',IF(WEEKDAY=1,'星期一',IF(WEEKDAY=2,'星期二',IF(WEEKDAY=3,'星期三',IF(WEEKDAY=4,'星期四',IF(WEEKDAY=5,'星期五',IF(WEEKDAY=6,'星期六','星期日')))))));
GA:=STRCAT(STRCAT(STRCAT(G1,G2),STRCAT(G3,G4)),' 】');
日期:DRAWTEXT_FIX(G,0.04,0.03,0,GA)COLORGREEN;
DRAWTEXT_FIX(1,0.01,0.08,0,'1. 上轨与下轨收拢时后市趋淡,扩张时后市看涨。')COLORWHITE;
DRAWTEXT_FIX(1,0.01,0.13,0,'2. 股价穿越中轨可以买入,死叉中轨时止损卖出。')COLORGREEN;
DRAWTEXT_FIX(1,0.01,0.18,0,'3. 股价贴在上轨之上,属 "强势" 特征,一路持有。')COLORMAGENTA;
DRAWTEXT_FIX(1,0.01,0.23,0,'4. 股价受压于上轨时,该需止盈,及时卖出为宜。')COLORYELLOW;
DRAWTEXT_FIX(1,0.01,0.28,0,'5. 股价收低上轨,意味走弱,将进入盘整或跌势。')COLORCYAN;
- 上一篇:大底在哪里 通达信副图源码 2016/8/30
- 下一篇:通达信一剑封喉主图指标 2016/8/30