大智慧中线止损指标公式

VAR4:=PEAKBARS(3,15,1)<10;

VAR5:=IF(VAR4=1,2,0);

顶:= IF(VAR5=2,2,0);

中线卖出:=IF(顶>REF(顶,1),1,0);

止损价:if(中线卖出=1, c*0.9,0), POINTDOT,COLOR00FF00,LINETHICK5;

stICKLINE(止损价,c*0.9,c*0.9,200,1),COLORRED,LINETHICK1;