N:=90;M:=3;
低:=REF(LLV(L,N),M);
低点:=REFDATE(低,DATE);
XG:低点=L AND ((C-L)>(O-C) OR (O-L)>(C-O)) COLORYELLOW,LINETHICK5,STICK;
P1:=2.8;P2:=3.2;P3:=3.5;
VAR1:=1;
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
警戒线: P1*VAR1,DOTLINE;
减仓线: P2*VAR1,DOTLINE;
卖出线: P3*VAR1,DOTLINE;
动力线: EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*VAR1,LINETHICK2,COLORGREEN;
IF(动力线>REF(动力线,1)*1.01,动力线 ,DRAWNULL),COLORRED,LINETHICK2;
IF(动力线<REF(动力线,1),动力线 ,DRAWNULL),COLORBLUE,LINETHICK2;