同花顺14均线和100均线

MA$1:MA(CLOSE, N1);

MA$2:MA(CLOSE, N2);

A1:=CURRBARSCOUNT;

DRAWICON(A1+1=5,L,13);

DRAWTEXT(A1+1=5,L-2,'5日'),colorred;

A2:=CURRBARSCOUNT;

DRAWTEXT(A2+1=10,L-2,'10日'),colorred;

DRAWICON(A2+1=10,L,14);

A3:=CURRBARSCOUNT;

DRAWTEXT(A3+1=20,L-2,'20日'),colorred;

DRAWICON(A3+1=20,L,13);

A4:=CURRBARSCOUNT;

DRAWTEXT(A4+1=60,L-2,'60日'),colorred;

DRAWICON(A4+1=60,L,14);

A5:=CURRBARSCOUNT;

DRAWTEXT(A5+1=120,L-2,'120日'),colorred;

DRAWICON(A5+1=120,L,13);

A6:=CURRBARSCOUNT;

DRAWICON(A6+1=250,L,14);

A7:=CURRBARSCOUNT;

DRAWTEXT(A7+1=453,L-2,'453日'),colorred;

DRAWICON(A7+1=453,L,13);

DRAWTEXT(A7+1=453,L-2,'453日'),colorred;

A8:=CURRBARSCOUNT;

DRAWTEXT(A8+1=550,L-2,'453日'),colorred;

DRAWICON(A8+1=550,L,14);

STICKLINE(C>=O,H,C,0,0),COLOR0F00F0;

STICKLINE(C>=O,H,C,0,0),COLOR0C00E0;

STICKLINE(C>=O,O,L,0,0),COLOR0F000F;

STICKLINE(C>=O,O,L,0,0),COLOR0C00E0;

STICKLINE(C>O,C,O,14,0),COLOR0F00F0;

STICKLINE(C>O,C,O,13,0),COLOR0C00E0;

STICKLINE(C>O,C,O,11,0),COLOR0A00D0;

STICKLINE(C>O,C,O,9,0),COLOR0800C0;

STICKLINE(C>O,C,O,5,0),COLOR0600B0;

STICKLINE(C>O,C,O,3,0),COLOR0400A0;

STICKLINE(C>O,C,O,2,0),COLOR020090;

STICKLINE(C>O,C,O,1,0),COLOR010080;

STICKLINE(C<=O,C,O,14,0),COLORFFFFFF;

STICKLINE(C<=O,C,O,11,0),COLOREEEEEE;

STICKLINE(C<=O,C,O,9,0),COLORDDDDDD;

STICKLINE(C<=O,C,O,7,0),COLORCCCCCC;

STICKLINE(C<=O,C,O,5,0),COLORBBBBBB;

STICKLINE(C<=O,C,O,3,0),COLORAAAAAA;

STICKLINE(C<=O,C,O,2,0),COLOR999999;

STICKLINE(C<=O,C,O,1,0),COLOR888888;

爆发点:=(DCLOSE-REF(C,1))/REF(C,1)*100;

XB:=CROSS(爆发点,20);

DRAWTEXT(XB,L,'←←主升波段'),colorred;

买线:=ZIG(3,10);

卖线:=MA(买线,3);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

DRAWTEXT(BU,L*0.99,'买'),LINETHICK1,COLOR00AAFF;

DRAWTEXT(SEL,H*1.01,'卖'),LINETHICK1,COLOR00FF00;

STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,14,0),COLORFF0099;

STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,11,0),COLOREE0088;

STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,9,0),COLORDD00AA;

STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),COLORCC00BB;

STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,5,0),COLORBB00CC;

STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),COLORAA00DD;

STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,2,0),COLOR8800EE;

STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,1,0),COLOR9900FF;

STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,14,0 ),COLOR00FF00;

STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,11,0 ),COLOR00EE00;

STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,9,0 ),COLOR00DD00;

STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0 ),COLOR00CC00;

STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,5,0 ),COLOR00BB00;

STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,3,0 ),COLOR00AA00;

STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,2,0 ),COLOR009900;

STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,1,0 ),COLOR008800;

(0)

相关推荐