VAR1:=(H+L)/2;
下颚:EMA(VAR1,13),SHIFT8,COLORBLUE;
牙齿:EMA(VAR1,8),SHIFT5,COLORRED;
上唇:EMA(VAR1,5),SHIFT3,COLORGREEN;
HO:=H>REF(H,1) AND H>REF(H,2) AND H>=REFX(H,1) AND IF(H=REFX(H,2),H>REFX(H,3),H>REFX(H,2));
FXH:=CROSS(HO,0.9);
HH:=REF(H,BARSLAST(FXH));
LO:=L<REF(L,1) AND L<REF(L,2) AND L<=REFX(L,1) AND IF(L=REFX(L,2),L<REFX(L,3),L<REFX(L,2));
FXL:=CROSS(LO,0.9);
LL:=REF(L,BARSLAST(FXL));
向上分形: HH,, POINTDOT,COLOREA91B5;
STICKLINE(CLOSE,HH,HH,5,0),LINETHICK1,COLORMAGENTA;
向下分形: LL, POINTDOT,COLOR3791B5;
STICKLINE(CLOSE,LL,LL,5,0),LINETHICK1,COLORGREEN;
DRAWICON(FXH AND HH>牙齿,H*1.005,8),COLORRED;
DRAWICON(FXL AND LL<牙齿,L*0.995,9),COLORGREEN;
[/CODE]
鱼师,你好,上面的公式能改在通信达上用吗?