PROTECTED SOURCE SCRIPT
Cập nhật

XT Alert Builder - Base Version [CrossTrade]

357
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 DO NOT require price scale offsetting using a negative sign

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}}

Trade well,
- CrossTrade Team
Phát hành các Ghi chú
- Added an Exit Signal Source to control the CLOSEPOSITION Command (thanks Tradersa2z)
Phát hành các Ghi chú
Reverting back to previous version to avoid confusion and will produce a specific version for the multi stop and target use case.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.