麒麟快枪
LH1=EMA(LH1,HHV(HIGH,500),21);
LH2=EMA(LH2,HHV(HIGH,250),21);
LH3=EMA(LH3,HHV(HIGH,90),21);
LH4=EMA(LH4,LLV(LOW,500),21);
LH5=EMA(LH5,LLV(LOW,250),21);
LH6=EMA(LH6,LLV(LOW,90),21);
LH7=EMA(LH7,(LH4*0.96+LH5*0.96+LH6*0.96+LH1*0.558+LH2*0.558+LH3*0.558)/6,21);
LH8=EMA(LH8,(LH4*1.25+LH5*1.23+LH6*1.2+LH1*0.55+LH2*0.55+LH3*0.65)/6,21);
LH9=EMA(LH9,(LH4*1.3+LH5*1.3+LH6*1.3+LH1*0.68+LH2*0.68+LH3*0.68)/6,21);
LHA=EMA(LHA,(LH7*3+LH8*2+LH9)/6*1.738,21);
LHB=REF(LOW,1);
lhc1=SMA(lhc1,ABS(LOW-LHB),3,1);
LHC2=SMA(LHC2,MAX(LOW-LHB,0),3,1);
LHC=LHC1/LHC2*100;
LHD=EMA(LHD,CHOOSE(CLOSE*1.35<=LHA,LHC*10,LHC/10),3);
LHE=LLV(LOW,30);
LHG=HHV(LHD,30);
LH10=CHOOSE(MA(CLOSE,58),1,0);
MID=REF(HIGH+LOW,1)/2;
lhCR=SUM(MAX(0,HIGH-MID),26)/SUM(MAX(0,MID-LOW),26)*100;
LH12=SUM(MAX(0,HIGH-MID),26)/SUM(MAX(0,MID-LOW),26)*100;
LH11=EMA(lh11,CHOOSE(LOW<=LHE,(LHD+LHG*2)/2,0),3)/618*LH10;
麒出击=CHOOSE(LH12<60&LH11>10,6000/LH12,0);
麒攻击=CHOOSE(LH11>20,LH11*3,0);
麒麟剑=CHOOSE(REF(LHCR,1)<REF(LHCR,2)&REF(LHCR,1)<LHCR&lhcr<71,50,0); |