OPEN-SOURCE SCRIPT

8-55 EMA Crossover NQ Futures Strategy

Actualizado
The 8-55 EMA Crossover Strategy trades NQ and MNQ futures on the 5 minute chart using two EMAs (8 and 55) and a higher interval 55 EMA on the 15 minute chart for directional confluence.

It emulates the signal typically found in a motive Elliott Wave by waiting for waves 1 and 2 to establish. The entry signal is generated when:

  • The market hours are between 0900 and 1455 (skipping the volatility of the first 30 minutes and avoiding entries in the extended session).
  • All EMAs are in a bullish or bearish direction.
  • Price has retraced to the 55 EMA within 5 bars of;
  • A close above the 8 EMA.

    A trailing stop provides the exit signal.

    Trades can be long or short or a combination of the two and can have independent trailing stop percentages.

    A complete strategy review is available on YouTube: https://www.youtube.com/watch?v=61mYTkmM8XU

    Future improvements are coming which could include:
    - An alternative exit to the trailing stop using the Fbonacci extension near the 1.272 line.
    - Incorporating market breadth and sentiment indicators like the PCC, ADDQ, TICKQ, and VIX.
Notas de prensa
View our update on this strategy here: youtu.be/9BOtGhkpvFk

In this update, several changes were made:
- Default settings for strategy
- Commission changes: $0.82 per side
- 0.75% Trailing Stop
- Added Default Contract Quantity
- Previous day volume filter
- Repainting issue fixed on 15 minute 55 EMA
- Retest bars condition fixed. Performance improved
- Yesterday’s low filter for short side
- Built-in TradersPost signal messages (JSON Payload)
- Option to attach a trailing stop with your broker
- Now works on 5 minute, 30 minute and 1 hour
Notas de prensa
  • Fixed default attachTrail value to false
  • Long trailing source is defaulted to high to match the broker logic
  • Short trailing source is defaulted to low to match the broker logic
  • Removed unnecessary plots from data window
  • Fixed logic for alert-based trailing exit. The backtest engine exits the position before the logic executed so strategy.position_size is already 0. To fix the issue, keep track of the position size and compare the current bar to the previous bar. Then check that the high or low meets the exit price.
Notas de prensa
* Corrected for slippage issue on strategy-based trailing stop: When the option to Attach Broker Trailing Stop is disabled, the strategy uses its own trailing stop indicator, however, the trailing stop wasn't being executed until the close of the bar. This update allows the strategy to be calculated on every tick to ensure the exit is taken intrabar. Additional changes were made to ensure entries were not taken intrabar to prevent repainting.

1. Entries are taken when the bar is confirmed.
2. Direction-based exits are taken when the bar is confirmed.
3. Trailing stop is taken immediately when triggered.
Notas de prensa
Implemented TradersPost WebhookMessage Library
Exponential Moving Average (EMA)

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?


También en:

Exención de responsabilidad