Barry Cohen![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6338 Joined: 1/19/2004 ![]() | Good question! It depends on what you're after. So 5425 is SPY & you're wanting the filter to pass all symbols only if the SMA(10) > SMA(20) on SPY is true? Or do you want the filter to pass if the symbol is SPY as well as the SMA(10) > SMA(20) is true? This formula will pass any symbol if SPY's SMA(10) is greater than SPY's SMA(20). SMA(GetClose("SPY"),10) > SMA(GetClose("SPY"),20) That could also be written like this. This formula will pass ONLY the SPY if SPY's SMA(10) is greater than SPY's SMA(20). All other symbols will not pass. SymbolID("") = 5425 AND SMA(10) > SMA(20) ![]() |