{猎豹冰火两重天指标(原码)(副图)}
VARR1:=(SUM(H,8)-SUM(L,8))/2;
RSVC:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
白马:=SMA(RSVC,3,1);
DC:=SMA(白马,3,1),LINETHICK1;
黑马:3*白马-2*DC,COLORMAGENTA,LINETHICK2;
强势区:80,COLORMAGENTA,LINETHICK1;
平衡:=50,COLORRED,LINETHICK1;
弱势区:20,COLORGREEN,LINETHICK1;
主力线:WINNER(C)*100,COLORRED,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,40))/(HHV(HIGH,40)-LLV(LOW,40))*100;
HM:=SMA(RSV,3,1),COLORWHITE;
D1:=SMA(HM,3,1),COLORYELLOW;
K1:=SMA(RSV,10,1),COLORWHITE;
D:=SMA(K1,10,1),COLORRED;
TT:=3*HM-2*D1,COLORYELLOW;
压力线:REF(HHV(HM,20),20),COLORBLUE;
量能饱和:=(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26)*100,COLORLIMAGENTA,NODRAW;
AA:=CROSS(黑马,强势区) AND CROSS(黑马,平衡) AND C EXPMA(C,12) AND C/REF(C,1) 1.04;
BB:=CROSS(黑马,平衡) AND CROSS(黑马,20);
CC:=黑马-REF(黑马,1) 30 AND C/REF(C,1) 1.05;
DD:=CROSS(TT,HM) AND TT 压力线 AND 黑马 REF(黑马,1) AND DYNAINFO(7)/REF(C,1) =1.045;
DRAWICON(CROSS(黑马,强势区) AND C EXPMA(CLOSE,12) AND CC OR AA{ OR DD}
OR 量能饱和=100 AND CROSS(黑马,强势区) OR CROSS(黑马,强势区)
AND EXPMA(CLOSE,12) EXPMA(CLOSE,50) AND MACD.MACD REF( MACD.MACD ,1),75,1);
DRAWICON(BB,40,1);
工作线:=EXPMA(CLOSE,12);
生命线:=EXPMA(CLOSE,50);
走出短线强势区:=CROSS(78, KDJ.J ) AND 工作线 生命线 AND MACD.DIF MACD.DEA AND MA(C,5) MA(C,30);
强势低吸:=工作线 生命线 AND CROSS( KDJ.J ,20);
DRAWICON(走出短线强势区,85,2);
抬头:= KDJ.J REF( KDJ.J ,1) AND REF( KDJ.J ,1) REF( KDJ.J ,2)
AND REF( KDJ.J ,1) REF( KDJ.D ,1) AND MACD.MACD
金叉:=CROSS( KDJ.J , KDJ.D ) AND MA(C,10) MA(C,25)
AND MA(C,25) REF(MA(C,25),1) AND MACD.MACD
DRAWICON( 强势低吸,15,1);
{DRAWICON(AA OR BB,50,1);}
DRAWICON(CC OR AA,25,1);
DRAWTEXT(强势低吸,15,'低吸'),COLORF00FF0;
DRAWTEXT(走出短线强势区,95,'高抛'),COLORGREEN;
DRAWTEXT(DD OR 量能饱和=100 AND CROSS(黑马,82) AND DYNAINFO(7)/REF(C,1) =1.043 OR CROSS(黑马,82)
AND EXPMA(CLOSE,12) EXPMA(CLOSE,50) AND DYNAINFO(7)/REF(C,1) =1.043,55,'买'),COLORF00FF0;
STICKLINE(黑马 =80,80,(黑马*0.98),1,1),COLORMAGENTA;
STICKLINE(黑马 20,20,黑马+1,1,1),COLORBLUE;