{指标介绍:
1)红绿白线是走势线;
2)绿色色块和红色色块是操作提示区;
3)低吸是长期下跌后抄底信号提示;
4)紫色色块是概率性区域提示,这个区域出现涨停的概率要比非紫色区域高,但不代表一定必须有涨停,所以叫曙光故称“涨停曙光”。
5)红箭头和绿箭头是短期均线依据的进离场的信号提示!}
Q1:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(Abs(C-REF(C,1)),6,1)*100;
Q2:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
Q3:=crOSS(MA(C,10),MA(C,5));
Q4:=CROSS(MA(C,5),MA(C,10));
观望区:IF(MA(C,5)<=REF(MA(C,5),1),15,0)COLORGREEN;
STICKLINE(MA(C,5)<=REF(MA(C,5),1),15,0,6,0),COLORGREEN;
操盘区:IF(MA(C,5)>=REF(MA(C,5),1),15,0),COLORRED;
STICKLINE(MA(C,5)>=REF(MA(C,5),1),15,0,6,0),COLORRED;
离场:IF(REF(MA(C,5),1)>REF(MA(C,5),2) AND MA(C,5)<=REF(MA(C,5),1),50,0),STICK,COLORGREEN,LINETHICK2;
进场:IF(REF(MA(C,5),1)<REF(MA(C,5),2) AND MA(C,5)>=REF(MA(C,5),1),50,0),STICK,COLORRED,LINETHICK2;
DRAWTEXT(进场=50,52,'进'),COLORRED;
DRAWTEXT(离场=50,52,'离'),COLORGREEN;
DRAWICON(进场=50,52,1);
DRAWICON(离场=50,52,2);
MV13:=MA(V,13);
MV35:=MA(V,35);
MV135:=MA(V,135);
MV500:=MA(V,500);
DRAWTEXT(CROSS(MV13,MV35) ,30,'跟'),COLORMAGENTA;
DRAWTEXT(CROSS(MV13,MV135) ,35,'庄动'),COLORYELLOW;
低吸:IF(CROSS(Q1,11),70,0),COLORWHITE;
DRAWTEXT(CROSS(Q1,11) ,70,'低吸')COLORWHITE;
V6:=H/REF(L,3)>=1.05;
涨停曙光:IF(V6,10,0),COLORFF0099;
STICKLINE(V6,10,0,4,0),COLORFF0099;
D涨停:IF(C/REF(C,1)>1.01 AND V6 AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1
*FORCAST(V,5)),60,0),COLORYELLOW,LINETHICK3,STICK;
三天:FILTER(D涨停,5)*90,COLORRED,LINETHICK1,STICK;
DRAWTEXT(D涨停=60 AND 三天=90,70,'三天'),COLORCYAN;
错止损:=REF(H,1)*0.97;{盘中追涨}
DRAWTEXT_FIX(1,0,0,0,STRCAT('错止损参考:',CON2STR(错止损,2))),COLORGREEN;
DRAWTEXT(CROSS(MV35,MV135),50,'暴')COLORWHITE;{可能是起爆点}
VA:=(2*C+H+L)/4;
VB:=LLV(L,5);
VC:=HHV(H,5);
趋势:3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),COLORWHITE;
红穿绿买:EMA((VA-VB)/(VC-VB)*100,5),COLORRED;
绿穿红卖:EMA(红穿绿买,3),COLORLIGREEN;