|
A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
波峰:IF(T1,A,A) ,POINTDOT ,COLOR00FFFF;
STICKLINE(T1,A,A,5,0),COLORFF00FF;
波谷:IF(T2,B,B),POINTDOT,COLOR80FF00;
STICKLINE(T2,B,B,5,0),COLOR80FF00; |
|