INVITE-ONLY SCRIPT

XT Alert Builder - FLEX

69
The XT Alert Builder is designed to work with CrossTrade and provide an easy way to create strategy entries from Indicator signal sources. This 'Flex' Version allows users more flexibility to control the stop and target source inputs.

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. Determine your Entry Signal Source (indicator or OHLC) for both buy and sell signals independently. You can also elect to make the strategy unidirectional by unchecking one of the signal boxes.
2. Determine your Exit Signal Type. The default is Custom which means you're using some kind of input for this like an indicator. Optionally, you can select 'Session End' which will delay the strategy exit until the last bar of the session based n the Trading End Hour/Minute you set in your Trading Hours section.
3. Determine you Exit Sources for Buy and Sells. You can mix and match these inputs for ultimate customization of entries and exits - have fun!

The strategy will by default send a CLOSEPOSITION command to the instrument and account specified based on your Exit settings and time.

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
1. Your NT8 Account. Separate multiple accounts by comma for multi-account placement.
2. Your preferred NT8 instrument in NT compatible format. (e.g. ES 09-25) This is optional because we can automatically convert your TV ticker
3. Your preferred NT8 quantity. Be sure to supply enough QTY for your multiple targets.


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

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.