9qihuo.com
我们只提供有用的干货

改为当BBI在BOLL中轨下方时,BOLL中轨为绿色 (文华财经)

投资者咨询:改为当BBI在BOLL中轨下方时,BOLL中轨为绿色 (文华财经)
来源:文华财经  日期:2019-7-4 12:04
 M1:=3;
M2:=6;
M3:=12;
M4:=24;
BBI:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4;
IF(CLOSE>BBI,BBI,NULL),COLORMAGENTA,LINETHICK1;
IF(CLOSE<BBI,BBI,NULL),COLORGREEN,LINETHICK1;
MID:MA(CLOSE,26),COLORYELLOW,LINETHICK1;
TMP2:=STD(CLOSE,26);
TOP:MID+2*TMP2,RGB(255,128,64),LINETHICK1;
BOTTOM:MID-2*TMP2,COLORCYAN,LINETHICK1;


 S:=CROSS(CLOSE,EMA2(HIGH,30));
X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
DRAWTEXT(SS,LOW,'B'),ALIGN2,FONTSIZE20,COLORYELLOW;
DRAWTEXT(XX,HIGH,'S'),ALIGN2,FONTSIZE20,COLORYELLOW;
技术人员回复
日期:2019-7-4 12:32
 参考:

M1:=3;
M2:=6;
M3:=12;
M4:=24;
BBI:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4;
IF(CLOSE>BBI,BBI,NULL),COLORMAGENTA,LINETHICK1;
IF(CLOSE<BBI,BBI,NULL),COLORGREEN,LINETHICK1;
MID:MA(CLOSE,26),COLORYELLOW,LINETHICK1;
TMP2:=STD(CLOSE,26);
TOP:MID+2*TMP2,RGB(255,128,64),LINETHICK1;
BOTTOM:MID-2*TMP2,COLORCYAN,LINETHICK1;

DRAWCOLORLINE(BBI<MID,MID,COLORGREEN,COLORRED);
S:=CROSS(CLOSE,EMA2(HIGH,30));
X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
DRAWTEXT(SS,LOW,'B'),ALIGN2,FONTSIZE20,COLORYELLOW;
DRAWTEXT(XX,HIGH,'S'),ALIGN2,FONTSIZE20,COLORYELLOW;
投资者咨询:改为当BBI在BOLL中轨下方时,BOLL中轨为绿色 (文华财经)
来源:文华财经  日期:2019-7-4 12:04
 能否把BBI与BOLL 的线加粗 ,中轨为至THICK5,其他为至THICK3(而现在一加粗就变形了)。

技术人员回复
日期:2019-7-4 13:32
 参考:

M1:=3;
M2:=6;
M3:=12;
M4:=24;
BBI:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4,LINETHICK5;
IF(CLOSE>BBI,BBI,NULL),COLORMAGENTA,LINETHICK5;
IF(CLOSE<BBI,BBI,NULL),COLORGREEN,LINETHICK5;
MID:=MA(CLOSE,26),COLORYELLOW,LINETHICK1,LINETHICK5;
TMP2:=STD(CLOSE,26);
TOP:MID+2*TMP2,RGB(255,128,64),LINETHICK3;
BOTTOM:MID-2*TMP2,COLORCYAN,LINETHICK3;

DRAWCOLORLINE(BBI<MID,MID,COLORGREEN,COLORRED),LINETHICK5;
S:=CROSS(CLOSE,EMA2(HIGH,30));
X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
DRAWTEXT(SS,LOW,'B'),ALIGN2,FONTSIZE20,COLORYELLOW;
DRAWTEXT(XX,HIGH,'S'),ALIGN2,FONTSIZE20,COLORYELLOW;

投资者咨询:改为当BBI在BOLL中轨下方时,BOLL中轨为绿色 (文华财经)
来源:文华财经  日期:2019-7-4 12:04
 谢谢!
投资者咨询:改为当BBI在BOLL中轨下方时,BOLL中轨为绿色 (文华财经)
来源:文华财经  日期:2019-7-4 12:04
请老师把上面4楼的boll线中轨的数字与上下轨一样有屏幕显示,谢谢!
技术人员回复
日期:2019-7-18 17:13
 参考:

M1:=3;
M2:=6;
M3:=12;
M4:=24;
BBI:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4,LINETHICK5;
IF(CLOSE>BBI,BBI,NULL),COLORMAGENTA,LINETHICK5;
IF(CLOSE<BBI,BBI,NULL),COLORGREEN,LINETHICK5;
MID:MA(CLOSE,26),COLORYELLOW,LINETHICK1,LINETHICK5;
TMP2:=STD(CLOSE,26);
TOP:MID+2*TMP2,RGB(255,128,64),LINETHICK3;
BOTTOM:MID-2*TMP2,COLORCYAN,LINETHICK3;

DRAWCOLORLINE(BBI<MID,MID,COLORGREEN,COLORRED),LINETHICK5;
S:=CROSS(CLOSE,EMA2(HIGH,30));
X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
DRAWTEXT(SS,LOW,'B'),ALIGN2,FONTSIZE20,COLORYELLOW;
DRAWTEXT(XX,HIGH,'S'),ALIGN2,FONTSIZE20,COLORYELLOW;

投资者咨询:改为当BBI在BOLL中轨下方时,BOLL中轨为绿色 (文华财经)
来源:文华财经  日期:2019-7-4 12:04
  谢谢!
投资者咨询:改为当BBI在BOLL中轨下方时,BOLL中轨为绿色 (文华财经)
来源:文华财经  日期:2019-7-4 12:04
 请老师

图片点击可在新窗口打开查看
图片点击可在新窗口打开查看 文件名:tim图片20190827114235.png
把B、S点后的K线改为如图片的样式的K线 ,即下跌中的上涨为绿色框空心K线,上涨中的下跌为红色框中绿色K线
技术人员回复
日期:2019-8-27 13:27
加载看下:


 
M1:=3;
M2:=6;
M3:=12;
M4:=24;
BBI:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4,LINETHICK5;
IF(CLOSE>BBI,BBI,NULL),COLORMAGENTA,LINETHICK5;
IF(CLOSE<BBI,BBI,NULL),COLORGREEN,LINETHICK5;
MID:MA(CLOSE,26),COLORYELLOW,LINETHICK1,LINETHICK5;
TMP2:=STD(CLOSE,26);
TOP:MID+2*TMP2,RGB(255,128,64),LINETHICK3;
BOTTOM:MID-2*TMP2,COLORCYAN,LINETHICK3;

DRAWCOLORLINE(BBI<MID,MID,COLORGREEN,COLORRED),LINETHICK5;
S:=CROSS(CLOSE,EMA2(HIGH,30));
X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
DRAWTEXT(SS,LOW,'B'),ALIGN2,FONTSIZE20,COLORYELLOW;
DRAWTEXT(XX,HIGH,'S'),ALIGN2,FONTSIZE20,COLORYELLOW;
DRAWCOLORKLINE(BARSLAST(SS)<BARSLAST(XX)&&(ISUP||ISEQUAL),COLORRED,1);
DRAWCOLORKLINE(BARSLAST(SS)<BARSLAST(XX)&&ISDOWN,COLORCYAN,0);
DRAWCOLORKLINE(BARSLAST(SS)>BARSLAST(XX)&&ISDOWN,COLORCYAN,0);
DRAWCOLORKLINE(BARSLAST(SS)>BARSLAST(XX)&&(ISUP||ISEQUAL),COLORCYAN,1);