MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
//波峰波谷指标云析赢指标公式网:yunxi518.com
DD:MA5 MA10 MA10 MA20;
SS:C =HV(MAX(C,O),3);
SS1:C =LV(MIN(C,O),3);
DHC:COUNT(SS1,SUMBARS(SS,1))=1 SS1;
BF1:BACKSET(DHC,SUMBARS(SS,1));
DRAWTEXT(CROSS(BF1,0.5),H, F
DRAWICON(REF(DHC,1) C REF(C,1) DD,L,4),VALIGN0;
KK:MA5 MA10 MA10 MA20;
KHC:COUNT(SS,SUMBARS(SS1,1))=1
BG1:BACKSET(KHC,SUMBARS(SS1,1));
DRAWTEXT(CROSS(BG1,0.5),L, G ),VALIGN0;
DRAWICON(REF(KHC,1) C REF(C,1) KK,H,5);
DRAWTEXT(ISUP AND CROSS(C,REF(H,BARSLAST(CROSS(BF1,0.5)))) AND ABS(C-REF(C,1))/REF(C,1) =0.01 AND COUNT(ISUP AND CROSS(C,REF(H,BARSLAST(CROSS(BF1,0.5)))) AND (C-REF(C,1))/REF(C,1) =0.01,BARSLAST(CROSS(BF1,0.5))+1),L, 买 ),VALIGN0,COLORRED,FONTSIZE20;
DRAWTEXT(ISDOWN AND CROSSDOWN(C,REF(L,BARSLAST(CROSS(BG1,0.5)))) AND ABS(C-REF(C,1))/REF(C,1) =0.01 AND COUNT(ISDOWN AND CROSSDOWN(C,REF(L,BARSLAST(CROSS(BG1,0.5)))),BARSLAST(CROSS(BG1,0.5))+1),H, 卖 ),VALIGN2,COLORGREEN,FONTSIZE20;