1 Alert out put repet every scane/explore i required only new signal Alert out put only
AlertIf( Buy, "", "BUY @ " + C, 1,flags = 1+2+4+8, lookback = 1);
AlertIf( Sell, "", "SELL @ " + C, 2,flags = 1+2+4+8, lookback = 1 );
AlertIf( Short, "", "SHORT @ " + C, 3 ,flags = 1+2+4+8, lookback = 1);
AlertIf( Cover, "", "COVER @ " + C, 4 ,flags = 1+2+4+8, lookback = 1);
Use proper code formatting as per rules.
Are you accounting for multiple symbols in the watchlist?
Can you post the text from Output Window and make sure that you're not generating signals on those bars.
AlertIf() works correctly, but you need to make sure that signals aren't fired or and you are testing with right timeframe and periodicity that you think it should be.
or multiple symbols in the watchlist?
What I meant is, when you run Explore, you will add symbols to Filter, example watchlist or Markets etc.
yes multiple symbols in the watchlist
when i explore market alert putput repeting symbol whot to do for non repeting
The small bit of code you posted is syntactically correct and that's all I can test with.
It works fine at my end.
so there must be an issue in other parts of your code.
Check if your code fires multiple signals of Different type on the same bar.
This can cause AlertIf() to flip flop.
Read more here