当红色趋势线进入顶部线附近时,需要做好短卖准备,当红色趋势线进入探底线附近时,做好买入准备
顶卖底买
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
STICKLINE(买线>=卖线,REFDATE(HHV(30,0),DATE),REFDATE(LLV(10,0),DATE),6,0),COLOR001050;
STICKLINE(买线<卖线,REFDATE(HHV(30,0),DATE),REFDATE(LLV(10,0),DATE),6,0),COLOR404050;
主力持仓:EMA(100*(CLOSE-LLV (LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3), COLORFF00FF,LINETHICK1;
顶部线:100,COLORRED;
强势线:80,DOTLINE,COLORFF849D;
强弱界:60,DOTLINE,COLORFF7600;
探底线:10,COLORBLUE;
信号:=CROSS(主力持仓,探底线);
上穿:IF(信号,20,0),LINETHICK1,COLORLIBLUE;
H1:=C>EXPMA(CLOSE,18) AND H
红5:=H1 AND H2 AND H3 AND H4 AND H5 AND L6 AND XH;
红5日: IF(红5,30,0),COLORYELLOW;
0,COLORGREEN;