Simple Alt Coin Strategy - EMA and MACD w/Profit and Stop
Feb 12, 2019

The Simple Alt Coin Strategy - EMA and MACD w/Profit and Stop indicator provides a systematic framework for identifying entry points in altcoin markets using a combination of trend-following moving averages, momentum oscillators, and price action volatility. It aims to streamline the chart analysis process by highlighting potential momentum shifts and explosive price moves while managing risk through predefined exit parameters.
Usage
The strategy is designed to identify long opportunities based on three distinct triggers:
- EMA Crossover: Occurs when the Fast EMA crosses above the Slow EMA, indicating a potential shift in the short-term trend.
- MACD Crossover: Triggers when the MACD Histogram (delta) crosses above zero, suggesting increasing bullish momentum.
- Pump Detection: Specifically looks for high-volatility "single candle gains" where the price increases by a user-defined percentage within a single bar.
The script includes automated exit logic. Once a position is opened, the tool monitors price relative to the average entry price to trigger a sell signal if the Stop Loss percentage is hit or if the Profit Capture target is reached. Users can use these signals to quickly filter through multiple altcoin pairs to find those exhibiting strong momentum characteristics.
Details
The strategy utilizes three Exponential Moving Averages (EMAs) to establish trend context. The default configuration uses a 5/12/50 setup, where the 50 EMA often acts as a base level for the broader trend. The momentum component is derived from a standard MACD calculation (EMA-based) and its signal line. A "Pump" is mathematically defined as the current close being greater than the open plus a percentage of that open price, allowing traders to catch sudden breakouts that moving averages might lag behind.
Settings
EMA Settings
- EMA Fast Length: Sets the period for the fastest moving average used in crossover signals.
- EMA Slow Length: Sets the period for the medium moving average used as the signal cross-under.
- EMA Base Length: Sets the period for the baseline moving average (typically used for trend filter context).
MACD Settings
- MACD Length: The signal line period for the MACD calculation.
- MACD Fast Length: The shorter period for the MACD line calculation.
- MACD Slow Length: The longer period for the MACD line calculation.
Thresholds & Risk
- Gain %: The percentage threshold required within a single candle to trigger a "Pump" signal.
- Stop Loss %: The percentage distance below the entry price where an exit signal is generated.
- Profit %: The percentage distance above the entry price where a take-profit signal is generated.
FAQ
How do I interpret the buy signals?
Signals are generated independently by the EMA cross, MACD cross, or Pump detection. While each can be traded individually, many users look for confluence between these triggers or use them to filter for high-momentum assets.
Can I change the sensitivity of the pump detection?
Yes, by adjusting the "Gain %" input. A lower value will result in more frequent pump signals, while a higher value will only flag significant price spikes.
How do I access this tool?
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.