VAR1:=(C+H+O+L)/4;賣出:XMA(VAR1,20)*(1+80/1000),COLORYELLOW,LINETHICK2;買入:XMA(VAR1,32)*(1-100/1000),COLORRED,LINETHICK2;幅度:100*(賣出-買入)/買入,NODRAW;MA1:=MA(VAR1,3);STICKLINE(賣出>LOW AND 賣出<HIGH,賣出,MAX(賣出,MAX(OPEN,CLOSE)),3,0),COLORYELLOW;STICKLINE(賣出>MIN(C,O) AND 賣出<MAX(C,O),賣出,MAX(OPEN,CLOSE),3,0),COLORYELLOW;STICKLINE(賣出>LOW AND 賣出<HIGH,賣出,HIGH,0,0),COLORYELLOW;STICKLINE(賣出<LOW,OPEN,CLOSE,3,0),COLORYELLOW;STICKLINE(賣出<LOW,HIGH,LOW,0,0),COLORYELLOW;STICKLINE(買入>LOW AND 買入<HIGH,買入,MIN(MIN(OPEN,CLOSE),買入),3,0),COLORRED;STICKLINE(買入>MIN(C,O) AND 買入<MAX(C,O),買入,MIN(OPEN,CLOSE),3,0),COLORRED;STICKLINE(買入>LOW AND 買入<HIGH,買入,LOW,0,0),COLORRED;STICKLINE(買入>HIGH,OPEN,CLOSE,3,0),COLORRED;STICKLINE(買入>HIGH,HIGH,LOW,0,0),COLORRED;DRAWTEXT(CROSS(LOW,買入),LOW*0.95,"流入"),COLORYELLOW,LINETHICK2;DRAWTEXT(CROSS(賣出,HIGH),HIGH*1.02,"流出"),COLORYELLOW;EXP1:EXPMA(CLOSE,10);EXP2:EXPMA(CLOSE,60);ZT:=C/REF(C,1)>1.097;DRAWTEXT(ZT,L*0.98,"漲停"),COLOR00FF00;DRAWICON(ZT,L*0.99,1);STICKLINE(ZT,OPEN,CLOSE,3,0),COLORRED;STICKLINE(ZT,H,L,0,0),COLORRED;XH:=FILTER(ZT,13);BH:=BARSLAST(ZT);CZ:=REF(H,BH)-REF(L,BH);陽漲幅:=4;陽倍量:=2;單陽:=C>O*(1+陽漲幅/100) AND VOL>REF(VOL,1)*陽倍量 AND C/REF(C,1)<1.097;DRAWTEXT(單陽,L*0.98,"大陽"),COLORFF00FF;STICKLINE(單陽,O,C,1.5,0),COLORFF00FF;生命線:=MA(C,60);牛熊線:=MA(C,120);V1:=(C+H+L)/3;MA3:=MA(V1,2);MA5:=MA(V1,5);DRAWBAND(MA2,RGB(200,50,55),MA5,RGB(0,100,50));
VAR1:=(C+H+O+L)/4;賣出:XMA(VAR1,20)*(1+80/1000),COLORYELLOW,LINETHICK2;買入:XMA(VAR1,32)*(1-100/1000),COLORRED,LINETHICK2;幅度:100*(賣出-買入)/買入,NODRAW;MA1:=MA(VAR1,3);STICKLINE(賣出>LOW AND 賣出<HIGH,賣出,MAX(賣出,MAX(OPEN,CLOSE)),3,0),COLORYELLOW;STICKLINE(賣出>MIN(C,O) AND 賣出<MAX(C,O),賣出,MAX(OPEN,CLOSE),3,0),COLORYELLOW;STICKLINE(賣出>LOW AND 賣出<HIGH,賣出,HIGH,0,0),COLORYELLOW;STICKLINE(賣出<LOW,OPEN,CLOSE,3,0),COLORYELLOW;STICKLINE(賣出<LOW,HIGH,LOW,0,0),COLORYELLOW;STICKLINE(買入>LOW AND 買入<HIGH,買入,MIN(MIN(OPEN,CLOSE),買入),3,0),COLORRED;STICKLINE(買入>MIN(C,O) AND 買入<MAX(C,O),買入,MIN(OPEN,CLOSE),3,0),COLORRED;STICKLINE(買入>LOW AND 買入<HIGH,買入,LOW,0,0),COLORRED;STICKLINE(買入>HIGH,OPEN,CLOSE,3,0),COLORRED;STICKLINE(買入>HIGH,HIGH,LOW,0,0),COLORRED;DRAWTEXT(CROSS(LOW,買入),LOW*0.95,"流入"),COLORYELLOW,LINETHICK2;DRAWTEXT(CROSS(賣出,HIGH),HIGH*1.02,"流出"),COLORYELLOW;EXP1:EXPMA(CLOSE,10);EXP2:EXPMA(CLOSE,60);ZT:=C/REF(C,1)>1.097;DRAWTEXT(ZT,L*0.98,"漲停"),COLOR00FF00;DRAWICON(ZT,L*0.99,1);STICKLINE(ZT,OPEN,CLOSE,3,0),COLORRED;STICKLINE(ZT,H,L,0,0),COLORRED;XH:=FILTER(ZT,13);BH:=BARSLAST(ZT);CZ:=REF(H,BH)-REF(L,BH);陽漲幅:=4;陽倍量:=2;單陽:=C>O*(1+陽漲幅/100) AND VOL>REF(VOL,1)*陽倍量 AND C/REF(C,1)<1.097;DRAWTEXT(單陽,L*0.98,"大陽"),COLORFF00FF;STICKLINE(單陽,O,C,1.5,0),COLORFF00FF;生命線:=MA(C,60);牛熊線:=MA(C,120);V1:=(C+H+L)/3;MA3:=MA(V1,2);MA5:=MA(V1,5);DRAWBAND(MA2,RGB(200,50,55),MA5,RGB(0,100,50));
股市絕非賭博靠運氣,大家要不斷總結學習,只有深刻的瞭解市場,理解股市的規律,才可以長期生存。使用指標只是一個重要的操作手段,沒有萬能指標,只有接受市場考驗,自己反覆驗證後方可運用到實戰中。