大智慧黑鬼起步ZXP版副图指标
源码
var0:=1;
Var1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*VAR0;{("HMTX@HMTX4"(1)-LLV("HMTX@HMTX6"(1),27))/(HHV("HMTX@HMTX5"(1),27)-LLV("HMTX@HMTX6"(1),27))};
天空: STICKLINE(CLOSE>0,0,120,10,0),colorFFD8A8;
Var2:=(3*SMA(Var1,5,1)-2*SMA(SMA(Var1,5,1),3,1))*100;
仙山: STICKLINE(Var2,0,Var2,10,0),COLOR00FFDD;
STICKLINE(Var2,0,Var2*0.95,10,0),COLOR00FF99;
STICKLINE(Var2,0,Var2*0.8,10,0),COLOR00DD99;
STICKLINE(Var2,0,Var2*0.6,10,0),color687843;
Var3:=(100-Var2-100)*2/3;
天河水: STICKLINE(CLOSE>0,0,-72,10,0),colorC0D443;
Var4:=Var3;
STICKLINE(Var4,0,Var4*4/5,10,0),COLOR00EE99;
STICKLINE(Var4,0,Var4*3/5,10,0),COLOR00CC99;
STICKLINE(Var4,0,Var4*2/5,10,0),color275484{COLOR008899};
Var5:=LLV(LOW,18);
Var6:=HHV(HIGH,18);
Var7:=EMA((CLOSE-Var5)/(Var6-Var5)*100,13);
Var8:=(EMA(0.618*REF(Var7,1)+0.382*Var7,3)-50)*2;
天河过江龙: STICKLINE(Var8>-60 AND Var8<60,Var8,Var8,8,1),LINETHICK2 , COLORWHITE;
STICKLINE(Var8<=-60,Var8,Var8,8,1), COLORBLUE;
STICKLINE(Var8>=60,Var8,Var8,8,1), COLORRED;
Var10:=EMA(CLOSE,8);
Var11:=EMA(Var10,20);
Var12:=CROSS(Var10,Var11) AND (Var10<MA(CLOSE,120) OR Var10<Var11);
Var13:=CROSS(Var10,Var11) AND Var10<EMA(CLOSE,120) AND COUNT(CLOSE,0)<120;
采金船: DRAWTEXT((Var12 OR Var13) ,Var2-115,'︼'),COLORRED;
南归雁: DRAWTEXT(FILTER(CROSS(MA(REF(HHV(CLOSE,10),1),5),MA(CLOSE,5)),2),Var2+10,'<'), COLOR3399CC;
{Var14:="HMTX@HMTX1"(80)-"HMTX@HMTX1"(10)/3;}
{抄底(选股用): IF((CLOSE<Var14 OR "HMTX@HMTX1"(1)<0) AND "HMTX@HMTX8"(1)/240>"HMTX@HMTX8"(5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND (CLOSE<"HMTX@HMTX1"(13)*1.3 OR CLOSE<0),0.001,0), , COLORYELLOW;}
红娃(选股用): IF((Var12 OR Var13), 0.001,0),COLORMAGENTA;