金牌黑马
RSV:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
趋势:3*SMA(RSV,8,1)-2*SMA(SMA(RSV,8,1),7,1),COLORyellow,linethick2;
Var1:=3*SMA((CLOSE-LLV(LOW,89))/(HHV(HIGH, 89)-LLV(LOW,89))*100, 20, 1)-2*SMA(SMA((CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100, 20, 1), 15, 1);
Var2:=3*SMA((OPEN-LLV(LOW,89))/(HHV(HIGH, 89)-LLV(LOW,89))*100, 20, 1)-2*SMA(SMA((OPEN-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100, 20, 1), 15, 1);
Var3:=Var2-100;
Var4:=Var1-100;
背离: FORCAST(-1*var3,21),COLOR9933FF,linethick2;
黑马: DRAWTEXT(cross(趋势,背离),背离,'黑马'),colorred;
钱龙: DRAWTEXT(cross(背离,趋势),背离,'●'),color00FF00;
收益:finance(33);
净资产:FINANCE(34);
流通:finance(7)/10000;
黑马2: DRAWTEXT(趋势/背离>8 and 背离<10 and 趋势>80,趋势*1.12,'跑'),color00FF00;
钱龙2: DRAWTEXT(背离<5 and 趋势>60,趋势*1.12,'跑'),color00FF00;
搜黑马:cross(趋势,背离),COLORred;
黑马跟踪天数:BARSLAST(趋势<背离),COLORred;
主力控盘:CYW,colorstick;