bt核工厂发布器 文采财经变色BOLL+变色MA+快慢线主图
图片bt核工厂发布器
SJ:=IFELSE(DATE+20000000<20990328,1,1);
MID:MA(CLOSE,20),COLORYELLOW,DASHDOTDOT;
TMP2:=STD(CLOSE,20),COLORYELLOW,DASHDOTDOT;
TOP:MID+2*TMP2,COLORYELLOW,DASHDOTDOT;
伪娘BOTTOM:MID-2*TMP2,COLORYELLOW,DASHDOTDOT;
//DRAWTEXT((HIGH-TOP)/MINPRICE>20,HIGH*1.001,'买开'),COLORRED,FONTSIZE16,VALIGN1;
//DRAWTEXT((BOTTOM-LOW)/MINPRICE>20,LOW*0.999,'卖开'),COLORGREEN,FONTSIZE16,VALIGN1;
MA20:MA(CLOSE,20)*SJ;
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4bt核工厂发布器,3);
PARTLINE1((MA20>=XCLOSE),MA20),LINETHICK2,COLORGREEN;
PARTLINE1((MA20<XCLOSE),MA20),LINETHICK2,COLORRED;
MA60:MA(C,60)*SJ,LINETHICK2;
XCLOSE2:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
PARTLINE1((MA60>=XCLOSE2),MA60),LINETHICK3,COLORBLUE;
PARTLINE1((MA60<XCLOSE2),MA60),LINETHICK3,COLORMAGENTA;
距离60均线空间:C-MA60,NODRAW;
DRAWSL1(C>0 AND ISLASTBAR,MA60,0,10,2),COLORWHITE,DASHDOTDOT;
DRAWNUMBER1(C>0 AND ISLASTBAR AND MA60 >C,MA60*1.0016,距离60均线空间,2),COLORGREEN,VALIGN2,FONTSIZE22;
DRAWNUMBER1(C>0 AND ISLASTBAR AND MA60 <C,MA60*0.999,距离60均线空间,2),COLORRED,VALIGN0,FONTSIZE22;
STICKLINE1(C>0 AND ISLASTBAR,MA60,MA60,50,0),COLORWHITE,DASHDOTDOT;//右边线
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26))*4.1;
DEA:=EMA(DIFF,9);
DKB:MA60+DIFF;
DKA:MA60+DEA;
FILLRGN(DKB>DKA,DKB,DKA,RGB(81,18,2));
FILLRGN(DKB<DKA,DKB,DKA, COLOR007300);
DRAWKLINE1(H,O,L,C);
DRAWCOLORLINE(DKB>DKA,DKB,COLORRED,COLORGREEN);
DRAWCOLORLINE(DKB>DKA,DKA,COLORRED,COLORGREEN);
X:=PERIOD=1bt核工厂发布器