飞狐解盘副图副图指标
源码
a001:= C-REF(c,6);
a002:= MA(a001,6);
a003:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
a004:=SMA(a003,3,1);
a005:=SMA(a004,3,1);
a006:=ema(3*a004-2*a005,2);
a007:=(HIGH + LOW + CLOSE)/3;
a008:=((a007-MA(a007,14))/(0.015*AVEDEV(a007,14)))/2;
a009:=(a008+((ema((-100*(HHV(HIGH,14)-CLOSE)/
(HHV(HIGH,14)-LLV(LOW,14))+100)/100,3)*200-100)))/2;
a010:=a009-ref(a009,14);
a011:=a009-ref(a009,26);
a012:=(a009+a010+a011)/3;
kkm:=ema(a012,4);
a013:=hhv(high,34);
a014:=(2*c+h+l)/4;
a015:=llv(low,34);
a016:=ema((a014-a015)/(a013-a015)*100,13);
a017:=ema(0.667*ref(a016,1)+0.333*a016,2);
KKMD:=a016-a017> 1 and a016<30 and a017<30;
KKML:=a016-a017< 0 and a016>80 and a017>80 and ref(a016-a017,1)>0 ;
KKMQ:=count((a016-a017)>0,2)=2;
KKAL:=(a016-a017)< 0;
生命线: MA(CLOSE,20),colorred;
取舍线: MA(CLOSE,10);
EXPLAIN(KKMD,'最佳买入时机');
EXPLAIN(KKML,'最佳卖出时机');
EXPLAIN(KKMQ,'持仓区');
EXPLAIN(KKAL,'空仓区');
EXPLAIN(C/REF(C,1)>INDEXC/REF(INDEXC,1),'该股强于大盘');
EXPLAIN(C/REF(C,1),'该股强于大盘');
EXPLAIN(CROSS(MA(CLOSE,5),MA(CLOSE,10)),'出出手');
EXPLAIN(CROSS(MA(CLOSE,10),MA(CLOSE,5)),'收手了');
EXPLAIN((kkm > ema(kkm,4) and kkm > ref(kkm,1)),'快速介入吧!');
EXPLAIN((kkm > ema(kkm,4) and kkm < ref(kkm,1)),'休息一会~');
EXPLAIN((kkm < ema(kkm,4) and kkm > ref(kkm,1)),'防御能力');
EXPLAIN((kkm < ema(kkm,4) and kkm < ref(kkm,1)),'赶紧快跑呀!');