MA5 := MA(CLOSE,5);
MA10 := MA(CLOSE,10);
MA44 := MA(CLOSE,44);
MA80 := MA(CLOSE,80);
MA120 := MA(CLOSE,120);
MA250 := MA(CLOSE,250);
MA_5 := IF(ABS(MA5 - C) / MA5 < 0.01, 1, 0);
MA_10 := IF(ABS(MA10 - C) / MA10 < 0.01, 1, 0);
MA_44 := IF(ABS(MA44 - C) / MA44 < 0.01, 1, 0);
MA_80 := IF(ABS(MA80 - C) / MA80 < 0.01, 1, 0);
MA_120 := IF(ABS(MA120 - C) / MA120 < 0.01, 1, 0);
MA_250 := IF(ABS(MA250 - C) / MA250 < 0.01, 1, 0);
F1:=MA_5 + MA_10 + MA_44 + MA_80 + MA_120 + MA_250;
B1 := COUNT((CROSS(C, MA250) AND C/REF(C,1)>1.098), 300) > 0;
S100 := FINANCE(40) < 10000000000;
F1 >= 5 AND S100; |