I figured if I see my trade setup before the automated strategy triggers, I could get in early. So to avoid 2 entries from occurring, I set my "Entries per direction" to "1" and I also tested to see if the market was flat in Ninjascript {"Position.MarketPosition == MarketPosition.Flat"}, but after I manually entered the trade early, the automated strategy kicked in afterwards and entered a 2nd trade anyway. So the question is can manual and automated trading be used together in this way? Is my approach wrong?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Can You Trade Using Manual & Automated Trading Simultaneously?
Collapse
X
-
Can You Trade Using Manual & Automated Trading Simultaneously?
Hello,
I figured if I see my trade setup before the automated strategy triggers, I could get in early. So to avoid 2 entries from occurring, I set my "Entries per direction" to "1" and I also tested to see if the market was flat in Ninjascript {"Position.MarketPosition == MarketPosition.Flat"}, but after I manually entered the trade early, the automated strategy kicked in afterwards and entered a 2nd trade anyway. So the question is can manual and automated trading be used together in this way? Is my approach wrong?Tags: None
-
I tried the following:
" if(Position.MarketPosition == MarketPosition.Flat &&
GetAtmStrategyMarketPosition(@"OneUp1") == MarketPosition.Flat "...
with and without the "@" sign to no avail. It compiles, but I can't enable it.
-
Hello RookieTrader,
Thank you for your notes.
The Position information from a strategy will only be the position based on the strategy instance itself and it will not have any knowledge of the account's position. You could use PositionAccount to get information about a real account position. Here are the help guide pages explaining each:- Position: https://ninjatrader.com/support/help...8/position.htm
- PositionAccount: https://ninjatrader.com/support/help...ionaccount.htm
When using ATM strategies programmatically, it is important to keep the following information in mind:NinjaScript can be used to programmatically generate an entry, then the resulting position should be managed manually.
Please let us know if we may be of further assistance.
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
56 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
33 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
195 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
359 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
280 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment