[原创]麻烦老师帮忙添加布林带,参数是(26,26,2) [文华财经]
-
咨询内容:
MA_P1_:=MA(CLOSE,5);MA_P2_:=MA(CLOSE,10);MA_P3_:=MA(CLOSE,20);MA_P4_:=MA(CLOSE,40);MA_P5_:=MA(CLOSE,60);Q:=(3*C+L+O+H)/6,LINETHICK2;W:(20*Q+19*REF(Q,1)+18*REF(Q,2)+17*REF(Q,3)+16*REF(Q,4)+15*REF(Q,5)+14*REF(Q,6)+13*REF(Q,7)+12*REF(Q,8)+11*REF(Q,9)+10*REF(Q,10)+9*REF(Q,11)+8*REF(Q,12)+7*REF(Q,13)+6*REF(Q,14)+5*REF(Q,15)+4*REF(Q,16)+3*REF(Q,17)+2*REF(Q,18)+REF(Q,20))/210,LINETHICK2;E:MA(W,8),LINETHICK2;SPJ:=C;II:=TIME0;MM:=BARSLAST(TIME0=54000);PP:=PERIOD;UU:=IF (PP=11,(MM+1),MM);ZSPJ:=REF(C,MM);Y:=SPJ-ZSPJ;DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);DEA :=EMA(DIFF,9);MACD :=2*(DIFF-DEA), COLORSTICK;NN1:=MACD;MM1:=REF(MACD,1);MMM:=MM1-NN1;DRAWTEXT(CROSS(W-1.5,E) ,(MA_P1_-8),'',COLOR0000FF,FONTSIZE20;DRAWTEXT(CROSS(E,W+1.5),(MA_P1_+8),'',COLOR00FF00,FONTSIZE20;VALUEWHEN(DAYBARPOS=1,O),CIRCLEDOT,COLORRED;
来源:程序化99
-
文华技术人员:
参考:
MID:MA(CLOSE,26); TMP2:=STD(CLOSE,26); TOP:MID+2*TMP2; BOTTOM:MID-2*TMP2; MA_P1_:=MA(CLOSE,5); MA_P2_:=MA(CLOSE,10); MA_P3_:=MA(CLOSE,20); MA_P4_:=MA(CLOSE,40); MA_P5_:=MA(CLOSE,60); Q:=(3*C+L+O+H)/6,LINETHICK2; W:(20*Q+19*REF(Q,1)+18*REF(Q,2)+17*REF(Q,3)+16*REF(Q,4)+15*REF(Q,5)+14*REF(Q,6) +13*REF(Q,7)+12*REF(Q,8)+11*REF(Q,9)+10*REF(Q,10)+9*REF(Q,11)+8*REF(Q,12) +7*REF(Q,13)+6*REF(Q,14)+5*REF(Q,15)+4*REF(Q,16)+3*REF(Q,17)+2*REF(Q,18)+ REF(Q,20))/210,LINETHICK2; E:MA(W,8),LINETHICK2; SPJ:=C; II:=TIME0; MM:=BARSLAST(TIME0=54000); PP:=PERIOD; UU:=IF (PP=11,(MM+1),MM); ZSPJ:=REF(C,MM); Y:=SPJ-ZSPJ; DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26); DEA :=EMA(DIFF,9); MACD :=2*(DIFF-DEA), COLORSTICK; NN1:=MACD; MM1:=REF(MACD,1); MMM:=MM1-NN1; DRAWTEXT(CROSS(W-1.5,E) ,(MA_P1_-8),'',COLOR0000FF,FONTSIZE20; DRAWTEXT(CROSS(E,W+1.5),(MA_P1_+8),'',COLOR00FF00,FONTSIZE20; VALUEWHEN(DAYBARPOS=1,O),CIRCLEDOT,COLORRED;来源: WWW.CXH99.COM
-
文华客服:
麻烦把布林带3条线颜色全部改为金色或者红色线,3条线再加粗一点点,谢谢
-
网友回复:
参考:
MID:MA(CLOSE,26),COLORRED,LINETHICK3; TMP2:=STD(CLOSE,26); TOP:MID+2*TMP2,COLORRED,LINETHICK3; BOTTOM:MID-2*TMP2,COLORRED,LINETHICK3; MA_P1_:=MA(CLOSE,5); MA_P2_:=MA(CLOSE,10); MA_P3_:=MA(CLOSE,20); MA_P4_:=MA(CLOSE,40); MA_P5_:=MA(CLOSE,60); Q:=(3*C+L+O+H)/6,LINETHICK2; W:(20*Q+19*REF(Q,1)+18*REF(Q,2)+17*REF(Q,3)+16*REF(Q,4)+15*REF(Q,5)+14*REF(Q,6) +13*REF(Q,7)+12*REF(Q,8)+11*REF(Q,9)+10*REF(Q,10)+9*REF(Q,11)+8*REF(Q,12) +7*REF(Q,13)+6*REF(Q,14)+5*REF(Q,15)+4*REF(Q,16)+3*REF(Q,17)+2*REF(Q,18)+ REF(Q,20))/210,LINETHICK2; E:MA(W,8),LINETHICK2; SPJ:=C; II:=TIME0; MM:=BARSLAST(TIME0=54000); PP:=PERIOD; UU:=IF (PP=11,(MM+1),MM); ZSPJ:=REF(C,MM); Y:=SPJ-ZSPJ; DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26); DEA :=EMA(DIFF,9); MACD :=2*(DIFF-DEA), COLORSTICK; NN1:=MACD; MM1:=REF(MACD,1); MMM:=MM1-NN1; DRAWTEXT(CROSS(W-1.5,E) ,(MA_P1_-8),'',COLOR0000FF,FONTSIZE20; DRAWTEXT(CROSS(E,W+1.5),(MA_P1_+8),'',COLOR00FF00,FONTSIZE20; VALUEWHEN(DAYBARPOS=1,O),CIRCLEDOT,COLORRED;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
相关文章
-
没有相关内容