限时日 := 1990301;
限时 := IF(DATE < 限时日,1,DRAWNULL);
VAR01 := EMA(((CLOSE - LLV(LOW,25)) / (HHV(HIGH,25) - LLV(LOW,25))) * 100,5);
VAR02 := (HHV(HIGH,25) - LLV(LOW,25)) / (EMA(CLOSE - LLV(LOW,25),5));
VAR03 := CROSS(VAR02,VAR01);
VAR04 := REF(VAR02,2);
VAR05 := (COUNT(VAR03,7) > 0) AND VAR04;
底部满仓 := VAR05 AND (COUNT(VAR05,5) = 1);
VARS1 := REF(CLOSE,1);
VARS2 := SUM(VOL,2) / ((HHV(HIGH,2) - LLV(LOW,2)) * 100);
VARS3 := (CLOSE - VARS1) * VARS2;
VARS4 := SUM(VARS3,0);
VARS5 := SMA(VARS4,7,1);
VARS6 := SMA(VARS4,89,1);
OSC := VARS5 - VARS6;
MA1 := MA(OSC,5);
天天满仓 := (底部满仓 AND (MA1 < 0)) * 限时;
DRAWTEXT(天天满仓,0.85,140),COLORMAGENTA;
DRAWBAND(天天满仓,RGB(255,0,255),0,RGB(0,0,0));