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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
553 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
100 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
543 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
546 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment