input:N1(25,1,100),N2(20,1,100),N3(40,1,100);
VAR1:=(((CLOSE - LLV(LOW,64)) / (HHV(HIGH,64) - LLV(LOW,64))) * 100);
VAR2:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),18,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),18,1)) * 100);
VAR3:=(((HHV(HIGH,64) - LOW) / HHV(HIGH,64)) * 100);
丹田:IF(100 * VAR1 / VAR2 < N1 AND VAR3 > N3 AND VAR2 < N2 AND VAR2 > 10 AND BARSCOUNT(CLOSE) > 63,100,0);