OPEN-SOURCE SCRIPT

8-55 EMA Crossover NQ Futures Strategy

업데이트됨
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.
릴리즈 노트
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
릴리즈 노트
  • 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.
릴리즈 노트
* 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.
릴리즈 노트
Implemented TradersPost WebhookMessage Library
Exponential Moving Average (EMA)

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


또한 다음에서도:

면책사항