当前位置: 首页 > 儿童诗歌 > 文章

多空布林+五色K线主图

2019-07-14

	多空布林+五色K线主图

MID:=MA(CLOSE,26);TMP2:=STD(CLOSE,26);上轨:MID+2*TMP2,DOT;内上轨:MA(HIGH,30),COLORWHITE,DASHDOT;内下轨:MA(LOW,30),COLORYELLOW,DASHDOT;下轨:MID-2*TMP2,DOT;趋势线:=(MA(CLOSE,3)+MA(CLOSE,5)+MA(CLOSE,8)+MA(CLOSE,13))/4;DRAWCOLORLINE(趋势线REF(趋势线,1),趋势线,COLORMAGENTA,COLORGREEN),LINETHICK2;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA),COLORSTICK;DRAWICON(CROSSDOWN(DIFF,DEA),H,5);DRAWICON(CROSS(DIFF,DEA),L,4),VALIGN0;DRAWICON((ZIGZAG(C,5,1)REF(ZIGZAG(C,5,1),1))AND(REF(ZIGZAG(C,5,1),1)=REF(ZIGZAG(C,5,1),2))AND(REF(ZIGZAG(C,5,1),2)=REF(ZIGZAG(C,5,1),3)),LOW*,1);DRAWICON((ZIGZAG(C,5,1)REF(ZIGZAG(C,5,1),1))AND(REF(ZIGZAG(C,5,1),1)=REF(ZIGZAG(C,5,1),2))AND(REF(ZIGZAG(C,5,1),2)=REF(ZIGZAG(C,5,1),3)),HIGH*,2);AA:=EMA(C,5)EMA(C,20);BB:=EMA(C,5)EMA(C,20);CC:=EMA(C,5)EMA(C,10);CC1:=EMA(C,5)EMA(C,10);DD:=CLOSEOPEN;STICKLINE1(AA,H,L,0,0),COLORRED;STICKLINE1(AA,O,C,3,1),COLORRED;STICKLINE1(AAANDDD,O,C,3,0),COLORRED;STICKLINE1(BB,H,L,0,0),COLORGREEN;STICKLINE1(BB,O,C,3,1),COLORGREEN;STICKLINE1(BBANDDD,O,C,3,0),COLORGREEN;STICKLINE1(BBANDCC,H,L,0,1),COLORWHITE;STICKLINE1(BBANDCC,O,C,3,1),COLORWHITE;STICKLINE1(BBANDCCANDDD,O,C,3,0),COLORWHITE;STICKLINE1(AAANDCC1,H,L,0,0),COLORWHITE;STICKLINE1(AAANDCC1,O,C,3,1),COLORWHITE;STICKLINE1(AAANDCC1ANDDD,O,C,3,0),COLORWHITE;AA2:=H=HV(H,10)HREFX1(HHV(H,10),10);//AA1:=L=LV(L,10)LREFX1(LLV(L,10),10);//DRAWCOLORKLINE(AA2,RGB(255,0,255),0);//DRAWCOLORKLINE(AA1,RGB(0,128,255),0);//。