Simple Buy Sell Signals
Aug 23, 2022

The Simple Buy Sell Signals indicator provides automated entry signals based on the intersection of moving averages combined with volume confirmation to identify short-term trend reversals.
Usage
The tool is primarily used for intraday trading to identify momentum shifts in the market. When the fast moving average crosses above the slow moving average and volume conditions are met, a "Buy" label is plotted. Conversely, when the fast moving average crosses below the slow moving average, a "Sell" label is displayed.
Users can also enable horizontal lines that project from the signal candle's high (for longs) or low (for shorts) to act as visual reference levels for support and resistance. For improved accuracy, it is recommended to use this tool alongside other momentum oscillators like the Stochastic RSI or MACD.
Details
The script utilizes a combination of exponential moving averages (EMAs) calculated using the average price (HLC3). The core logic relies on:
- Trend Confirmation: A crossover/crossunder of a 13-period and 21-period EMA (default values).
- Volume Filter: A signal is only validated if the previous bar's volume is greater than the current bar's volume, acting as a simple exhaustion filter.
- Multi-Timeframe Compatibility: While designed for intraday use, the calculation uses security functions to ensure data consistency.
Settings
Options
- Default Signals: Toggles the visibility of the Buy and Sell labels on the chart.
- Lines: Enables or disables the horizontal extension lines drawn from the signal bars.
Moving Averages
- Fast Period: Sets the lookback period for the shorter-term moving average (Default: 13).
- Slow Period: Sets the lookback period for the longer-term moving average (Default: 21).
FAQ
How do I use the Simple Buy Sell Signals lines?
The lines project from the signal bar's high or low. They can be used as potential stop-loss levels or as break-out zones for trend continuation.
Is this script suitable for swing trading?
The script is optimized for intraday trading. Using it for positional or swing trading may require significant adjustments to the Fast and Slow period settings to account for larger market cycles.
How can I access Simple Buy Sell Signals?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.