NT8 Simulated Clicks Triggered by TradingView Alerts
'TradingView Simulated Click', alias 'TVClick', is a NinjaTrader8 indicator that accompanies with 'TradingView Alerts to NT8 Trade Copier'.
At 'TradingView Alerts to NT8 Trader Copier' suite, there is a NT8 Copier designed by NinjaTrader Strategy approach.
Due to NinjaTrader limitation, any trades placed by auto strategy cannot be processed by ATM strategies. And also manual trades will stop that auto strategy running as well.
This 'TVClick' indicator is to supplement if customers want to use their own ATM strategies to manipulate their preferred TP/SL/Trail/Breakeven settings.
A NinjaTrader indicator has no capability to place any order. As such I use simulated clicks on the trade buttons on the chart trader panel to initiate new trade action. Those trades will be treated by NinjaTrade as human placed orders.
This 'TVClick' can do:
- Simulate to click BUY, SELL, CLOSE buttons on the chart trader panel - so ATM strategy can apply. Its trade signals come from that bridge app through internal data transfer.
but cannot do
- Adjust the order lot, set initial TP/SL. You need to manually set lot at chart trader and use ATM strategies for any TP or SL.
When this 'TVClick' is imported to NT8, it should show on your NT8 indicator list.
1. Attach this indicator to chart and input your account name on the first variable.
3. There is the auto symbol mapping feature on this indicator. That is specially for CME futures symbols so you don't need to input 'symbol mapping' for.
If this auto mechanism have any unexpected mapping, you could turn off this feature and manually input the maping. Mapping string rule is identical with NT8 copier.
4. If you are yet to open the chart trader, this indicator will have a reminder on chart.
At chart lower left corner, there is a blue-colored button you could click to disable signal copy temporarily.
5. At the chart trader panel, please set your desired lot and apply your preferred ATM strategy:
Please ensure the Account at chart trade panel is consistent with what you set at TVClick variable.
A side note. The simulated click approach uses Microsoft legitimate UI automation methods. Two extra dll included at indicator zip file are Microsoft Windows system dll for UI automation.
The stability of simulated click cannot compete with that copier made by auto strategy approach. It is offered as an alternative if ATM order management is important to your signal copy plan.
There are three sessions for trade entry or exit restriction. Session time uses your computer/vps time.
1. Sessions Applied To Trade Entry - default is false; if enabled, only session time will have trade entry.
2. Sessions Applied To Trade Exit - default is false; if enabled, only session time will have trade exit.
3. 3 session slot for input - if any session slot is not required, just leave it blank.
session input format, e.g. 0200-1530
the time range will start from 02:00 to 15:29:59. 15:30:00 is not inclusive.
> Inclusive & exclusive keywords
inclusive keywords
it can be multiple strings
e.g.
MIRACLE,MAGIC,
so that copier will only act on the alert messages with these 2 keywords (i.e. MIRACLE and MAGIC)
each keyword is separated by comma
or you could have only one keyword that is no need to put comma
exclusive keywords
if you input MIRACLE,MAGIC, as exclusive keywords
the copier WON'T act on the alert messages with these 2 keywords (i.e. MIRACLE and MAGIC)
* inclusive & exclusive keywords are case sensitive.