N:=5;
VAR1:=EMA((LOW*0.9*VOL+REF(LOW,1)*0.9*(CAPITAL-VOL))/CAPITAL,N);
IF(CLOSE< VAR1,VAR1*1.02,VAR1);
VAR2: EMA((HIGH*1.1*VOL+REF(HIGH,1)*1.1*(CAPITAL-VOL))/CAPITAL,15);
检钱区: STICKLINE(COUNT(CLOSE< VAR1,3)>=2,OPEN,CLOSE,5,0), COLORWHITE;
跟进: DRAWTEXT(CROSS(CLOSE,VAR1),VAR1,'跟进');
MA(CLOSE,5);