Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Closing Chart-Trader Initiated Trades
Collapse
X
-
Closing Chart-Trader Initiated Trades
Is it possible to close a trade initiated by chart trader via a strategy (i.e. trade was not open by strategy) or indicator or addon, I don't need all of these just want to know some way that it can be done.Tags: None
-
Hello NinjaCustomer,
Thank you for the post.
An addon/indicator would be the best solution for that situation. The addon framework can monitor an account directly and that code can be used from an indicator. The easiest way to do that would be to monitor the accounts OnExecution event so you can collect new orders, later you can reference that order to know how to close the trade. You can also look up open orders in the orders collection or reference the Position and its methods.
I look forward to being of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
131 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
74 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
117 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
111 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
89 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment