INVITE-ONLY SCRIPT
Updated

XT Alert Builder - Advanced

107
The XT Alert Builder is designed to work with CrossTrade and provide an easy way to create strategy entries from Indicator signal sources. This Advanced Version builds off of the free Base version by introducing dual Signal Sources, stops and targets, NT8 ATMs, and RSI and MA Filtering conditions.

ALERT MESSAGE EXAMPLE
Remove any default text in the window and replace with ONLY your key and the alert_message variable.

key=your-secret-key;
{{strategy.order.alert_message}}


The {{strategy.order.alert_message}} variable along with your Secret Key will send CrossTrade compatible payloads for automated order execution in NinjaTrader 8.

SIGNAL SETTINGS

1. Establish your Signal Logic mode: Single (only the first source) or switch to AND which combines sources 1 and 2 or OR which uses one or the other.

2. Determine your Entry Signal Source (indicator or OHLC) for both buy and sell signals independently.

3. Determine your Exit Method
- Source Signal (indicators)
- Fixed Levels (stops and targets)
- ATM (NT8 ATM Template)

This ensures multiple types of exit logic do not conflict with one another.

4. Once you establish the Exit Method, you can customize each to your preference

If using Source exits, you can also optionally chance the Signal Type to 'Session End' which will delay the strategy exit until the last bar of the session based on the Trading End Hour/Minute you set in your Trading Hours section.

If using the Fixed Levels, provide tick values or switch to percentage mode.

If using an ATM, provide the exact name of the ATM Template from NT8. You will also need to ensure you send enough QTY to match what you have saved in the template settings.

TECHNICAL FILTERS
Extra filtering for your source signals using RSI and Moving Averages.

TRADING HOURS
Users can specify a trading session or time window to ensure signals only occur during desired hours. The Session End exit signal is based on this window.

NINJATRADER SETTINGS
- Your NT8 Account. Separate multiple accounts by comma for multi-account placement.
- Your preferred NT8 instrument in NT compatible format. (e.g. ES 03-25, ES MAR25) This is optional because if left blank we will automatically convert your TV ticker thats sending the alert.
- Your preferred NT8 quantity for your alert This is not linked to the strategy directly.

CROSSTRADE ADVANCED OPTIONS
Features such as our Flatten first, Require Market Position, Delay Timer, Rate Limiting, and Max Position command enhancements have also been included. More info on these can be found in our Help Docs.

Trade well,
- CrossTrade Team
Release Notes
Fixed an issue with the Trading Hours to allow windows to extend overnight.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.