压力支撑

TY:=H;

TY2:=L;
A1:=REF(TY,10)=HHV(TY,2*10+1); 
B1:=FILTER(A1,10); 
C1:=BACKSET(B1,10+1); 
HD:=FILTER(C1,10);
A2:=REF(TY2,10)=LLV(TY2,2*10+1); 
B2:=FILTER(A2,10); 
C2:=BACKSET(B2,10+1); 
LD:=FILTER(C2,10);
前期高位:REF(H,BARSLAST(HD)),COLOR00FF00,POINTDOT;
STICKLINE1(H,前期高位,前期高位,8,0),COLORRED;
前期低位:REF(L,BARSLAST(LD)),COLOR00FF00,POINTDOT;
STICKLINE1(L,前期低位,前期低位,8,0),COLORBLUE;
DRAWNUMBER1(FILTER(C1,10),HIGH,H,2);
(0)

相关推荐