红先锋G:EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);
红先锋H:EMA(0.667*REF(红先锋G,1)+0.333*红先锋G,2);
DRAWBAND(红先锋G,RGB(250,10,10),红先锋H,RGB(10,200,10));
红先锋A:EMA(EMA(((SLOPE(EMA("KDJ.K"(18,3,3)+EMA(SLOPE("KDJ.K"(18,3,3),13),5)*5,21)*1.2,2) *5) + EMA("KDJ.K"(18,3,3)+EMA(SLOPE("KDJ.K"(18,3,3),13),5)*5,21)*1.2),3),3),colorwhite,LINETHICK1;
红先锋B:IF(红先锋A>REF(红先锋A,1),红先锋A,DRAWNULL),colorred,LINETHICK3;
红先锋D:=ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.1416;
红先锋E:=IF(红先锋D>0,红先锋D,红先锋D),COLORFFFFFF,LINETHICK2;
红先锋F:=红先锋E>REF(红先锋E,1) AND 红先锋E<=-40;
红先锋公式:20,colorred;