麒麟指标集合
1)《麒麟短线王》之“搏杀持股”原码
CG:ma(C,17);
FL:hhv(CG,2);
FS:if(CG<FL,(CG-(FL-CG)),FL);
2)《麒麟短线王》之“操盘频率”原码
持仓线:ma(HIGH,21);
空仓线:ma(LOW,21);
操盘趋势:ma(CLOSE,3);
3)《麒麟短线王》之“麒麟趋势”原码
n:=6;
个股趋势:MA(c,1)/MA(ref(c,18),18)*100,linethick2;
个股风险:ma(forcast(个股趋势,20),n);
大盘趋势:ema(INDEXC,1)/MA(ref(INDEXC,18),18)*100,linethick2,color009900;
大盘风险:ma(forcast(大盘趋势,20),n),colorred;
《麒麟短线王》之[资金趋势]
a:=vol*close;
b:=sum(a,1)/sum(vol,1);
b1:=emA(b,17);
资金b-b1)*100/b,coloryellow,linethick2;
强弱线:0,color808080;
《麒麟短线王》之[麒麟快枪]源码
VAR1:=EMA(HHV(HIGH,500),21); VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21);
VAR4:=EMA(LLV(LOW,500),21);
VAR5:=EMA(LLV(LOW,250),21);
VAR6:=EMA(LLV(LOW,90),21);
VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21);
VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21);
VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);
VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;
VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
VAR10:=IF(MA(CLOSE,58),1,0);
快枪:EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10,COLORSTICK;
麒麟短线王之[派发区域--派发高点]
VAR1:=HHV(HIGH,146);
派发高点:IF(var1>LLV(LOW,293)*1.45 AND VAR1>LOW*1.3,VAR1,0);
派发区域:IF(var1>LLV(LOW,293)*1.45 AND VAR1>LOW*1.3,VAR1*0.82,0);
庄家底仓:LLV(LOW,146);
庄家建仓:LLV(LOW,146)*1.2;
搏杀生命《麒麟短线王》}
CG:ma(C,17);
FL:hhv(CG,2);
FS:CG-(FL-CG);
amv0:=vol*(o+c)/2;
BS:sum(amv0,88)/sum(vol,88),coloryellow,linethick2;
STICKLINE(CLOSE>cg,OPEN,CLOSE,6,1), COLORRED;
STICKLINE(CLOSE=cg,OPEN,CLOSE,6,1), COLORRED;
STICKLINE(CLOSE>cg,LOW,OPEN,0.8,1), COLORRED;
STICKLINE(CLOSE=cg,LOW,OPEN,0.8,1), COLORRED;
STICKLINE(CLOSE>cg,CLOSE,HIGH,0.8,1),COLORRED;
STICKLINE(CLOSE=cg,CLOSE,HIGH,0.8,1),COLORRED;
STICKLINE(CLOSE<cg,CLOSE,OPEN,6,0), COLORgreen;
STICKLINE(CLOSE=cg,CLOSE,OPEN,6,0), COLORgreen;
STICKLINE(CLOSE<cg,OPEN,LOW,0.8,0), COLORgreen;
STICKLINE(CLOSE=cg,OPEN,LOW,0.8,0), COLORgreen;
STICKLINE(CLOSE<cg,HIGH,CLOSE,0.8,0),COLORgreen;
STICKLINE(CLOSE=cg,HIGH,CLOSE,0.8,0),COLORgreen;
《麒麟短线王》-----买卖天机
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交量:vol,linethick0;
主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),linethick0,colorred;
主动卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),linethick0,colorgreen;
stickline(VOL>0,vol,0,7,1),colorwhite;
stickline(主动买盘>0,0,主动买盘,7,0),colorred;
stickline(主动卖盘<0,0,主动卖盘,7,0),colorgreen;