红买绿出,红绿波段,一目了然,简单易懂,辅助强大
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
指标: EMA(EMA(VAR3,5),5)*3, COLORSTICK;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF;
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
DRAWTEXT(VARA=20,15,'底部'),LINETHICK1,colorwhite;
STICKLINE((VARA=20),0,10,5,0),colorwhite;
VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3));
VARD:=(ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)>=REF(ZIG(3,5),3));
STICKLINE((VARC=1),(-14),0,1,0),COLOR0000FF;
DRAWTEXT((VARC=1),(-14),''),COLOR0000FF;
STICKLINE((VARD=1),14,0,1,0),COLOR00FF00;
DRAWTEXT((VARD=1),18,''),COLOR00FF00;
VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=VARFREF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,15,'金'),LINETHICK1,COLORFF00FF;
STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,10,5,0),COLORFF00FF;
VAR12:=(HIGH+LOW+CLOSE)/3;
VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));
VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));
VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0);
VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15);
VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR18:=100-ABS(VAR17);
VAR19:=IF(VAR18<90,VAR18,100);V1:=ZIG(3,12);
V2:IF(REF(V1,2)>REF(V1,1) AND V1>REF(V1,1),50,0),colorred,LINETHICK2;
V3:IF(REF(V1,2)VAR001:=ZIG(3,12)REF(ZIG(3,12),2);
VAR002:=ZIG(3,12)>REF(ZIG(3,12),1) AND REF(ZIG(3,12),1)DRAWTEXT(VAR001,50,'卖'),coloryellow;
DRAWTEXT(VAR002,50,'买'),coloryellow;
VAR003:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
买点:= VAR003,colorred;
.............
抄底逃顶主图:
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,9);
DEA :=EMA(DIFF,6);
EMA250:MA(C,250),colorred;
EMA6:MA(C,6),colorred,LINETHICK2;
EMA18:MA(C,18),coloryellow;
EMA55:MA(C,55),COLORFF00FF;
EMA144:MA(C,144),colorgreen;
EMA288:MA(C,288),colorblue;
买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
中线买入:=COUNT(CLOSE
AND CROSS(CLOSE,EMA18) AND EMA18>=REF(EMA18,1);
DRAWTEXT(中线买入,LOW*0.95,' 中线买入'),colorred;
STICKLINE(买进条件,O,C,10,0),colorffffff,LAYER1;
STICKLINE(买进条件,O,C,8,0),colorffffff,LAYER1;
STICKLINE(买进条件,O,C,4,0),colorffffff,LAYER1;
STICKLINE(买进条件,H,L,0.5,0),colorffffff,LAYER1;
VL:=REF(LOW,1);
VAR12:=(SMA(ABS(LOW-VL),13,
1))/(SMA(MAX(LOW-VL,0),13,1))*100;
VAR14:=MA(VAR12,13);
VAR15:=LLV(LOW,34);
VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);
加码价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;
加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);
VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,
54)-LLV(LOW,54))*100,7,1),5,1);
VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,
54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9;
T:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),20);
STICKLINE(加码条件,O,C,10,0),color00ffff,LAYER1;
STICKLINE(加码条件,O,C,8,0),color00ffff,LAYER1;
STICKLINE(加码条件,O,C,4,0),color00ffff,LAYER1;
STICKLINE(加码条件,H,L,0.5,0),color00ffff,LAYER1;
DRAWTEXT(T,LOW-0.4,'←洗盘结束'),COLORFF00FF;
DRAWTEXT(T,LOW-0.2,'|'),COLORFF00FF;
VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR22:=SMA(VAR21,3,1);
....
沐阳东方(顶尖财经 股票学院: ):
MA5:MA(CLOSE,5),COLORCCCCCC;
MA10:MA(CLOSE,10),COLOR00BBBB;
MA21:MA(CLOSE,21),COLOR00AA00;
MA30:MA(CLOSE,30),COLOR990099;
MA60:MA(CLOSE,60),COLOR000088;
MA120:MA(CLOSE,120),COLOR777700;
买线:=ZIG(3,10);
卖线:=MA(买线,3);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,L*0.99,'买'),LINETHICKL,COLOR00AAFF;
DRAWTEXT(SEL,H*1.01,'卖'),LINETHICKL,COLOR00FF00;
STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),COLOR0000CC;
STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),COLOR0000CC;
STICKLINE(买线<卖线,CLOSE,OPEN,7,0),COLORCCCC00;
STICKLINE(买线<卖线,LOW,HIGH,0.1,0),COLORCCCC00;
STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),COLOR00AAFF;
STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),COLOR00DD00;