The XT Alert Builder is designed to work with CrossTrade and provide an easy way to create strategy entries from Indicator signal sources.
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 03-25, ES MAR25) 3. Your preferred NT8 quantity
TRADE MANAGEMENT We've provided both options, you can either use an ATM strategy template or stop loss and take profit levels. More info on Tick and Percentage based stops and targets.
Key Points for successful Trade Management settings application: 1. The ATM template name and qty must match what's saved on Ninja 2. You can choose either ticks or percentage based application - but not both. 3. The stops and target levels need to be offset based on the directional price scale. If you're buying then the stop requires a negative sign and vise versa for Sell orders.
Buy Example: Take Profit = 50 Stop Loss = -20
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.
INSTUCTIONS FOR ALERT CREATION Remove the default info provided by the strategy and then add your CrossTrade secret key and the dynamic strategy variable {{strategy.order.alert_message}}
For example: Key=your-secret-key; {{strategy.order.alert_message}}
Este script é publicado como de código fechado e você pode usá-lo livremente. Você pode favoritá-lo para utilizá-lo em um gráfico. Você não pode visualizar ou modificar seu código fonte.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.