自己用的指标
关注第二浪起飞
关注长期上涨通道的股票
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA40:=MA(C,40);
MA60:=MA(C,60);
AT:=(ZIG(3,5)+0.5),linethick2;
GT:=EMA(AT,2);
BT:=ZIG(3,10),linethick2;
HT:=EMA(BT,2);
XG拐点1:=BT HT AND AT GT AND AT
XG拐点:=XG拐点1;
MD拐点:=CROSS(HT,BT) OR CROSS(GT,AT);
XGMA:=MA20 MA40 AND MA40 MA60 AND BT HT AND AT GT AND C MA10;
DRAWTEXT(MD拐点,90,'卖'),COLOR00FF00;
DRAWICON(MD拐点,80, SELL
XG:=XG拐点;
DRAWTEXT(XG,5, '买'),COLOR0000FF;
DRAWICON(XG,15, buy ),COLOR0000FF;
DRAWTEXT(XGMA,25, '买'),COLOR0000FF;
DRAWICON(XGMA,30, buy ),COLOR0000FF;
AA:=(O+H+L+C)/4;
CC:=SUM(IF(AA REF(AA,1),AA*VOL,0),4)/SUM(IF(AA REF(AA,1),AA*VOL,0),4);
DD:=REF(100-(100/(1+CC)),1);
a1:=HHV(AA,15);
a2:=LLV(AA,15);
a3:=a1-a2;
a4:=EMA((AA-a2)/a3,2)*100;
b1:=HHV(AA,60);
b2:=LLV(AA,60);
b3:=b1-b2;
b4:=EMA((AA-b2)/b3,2)*100;
C1:=HHV(AA,240);
C2:=LLV(AA,240);
C3:=C1-C2;
C4:=EMA((AA-C2)/C3,2)*100;
短期:a4,colorgreen;
中期:b4,coloryellow;
长期:C4,colorFF00FF;
强弱分界:50, POINTDOT,colorwhite;
警戒区:90,linethick1,colorwhite;
安全区:20,ColorFFFF00;