NexusFi: Find Your Edge


Home Menu

 





First entry using Chart Trader, how to recognize entry in strategy?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one greene828 with 2 posts (1 thanks)
    2. looks_two koganam with 1 posts (1 thanks)
    3. looks_3 Fat Tails with 1 posts (1 thanks)
    4. looks_4 Rinn with 1 posts (0 thanks)
    1. trending_up 1,531 views
    2. thumb_up 3 thanks given
    3. group 4 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 greene828 
West Palm Beach, FL
 
Experience: Intermediate
Platform: Ninjatrader 8
Trading: YM, RTY, NQ, GC, CL
Posts: 5 since Aug 2019
Thanks Given: 2
Thanks Received: 2

Hello, I have a strategy to scale in with 2 additional entries after I make the first entry manually using chart trader. However, I cannot find a way for the strategy to recognize the first entry made with chart trader. When the strategy is enabled, and I have entered a position using chart trader, "Position.MarketPosition" reads flat. I have it print on screen to confirm using the fixed text function and it reads flat, while in chart trader it shows the open position. How can I read the current market position within the strategy?


Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Hungary Called for Magyar at 97pct, Ending 16-Year Orban …
Prediction Markets & Event Contracts
Iran War Prediction Markets: Ceasefire 16%, Ground Invas …
Prediction Markets & Event Contracts
CPI Eve: Fed Hike Odds Hold at 52% for the First Time, I …
Prediction Markets & Event Contracts
SEC and CFTC Unlock Customer Cross-Margining for Treasur …
Treasury Notes and Bonds
NinjaTrader Parent Payward Acquires Bitnomial for $550M …
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114


greene828 View Post
Hello, I have a strategy to scale in with 2 additional entries after I make the first entry manually using chart trader. However, I cannot find a way for the strategy to recognize the first entry made with chart trader. When the strategy is enabled, and I have entered a position using chart trader, "Position.MarketPosition" reads flat. I have it print on screen to confirm using the fixed text function and it reads flat, while in chart trader it shows the open position. How can I read the current market position within the strategy?

The strategy will only recognize the positions it has opened itself. It will not take into account positions that have been created manually or by other strategies.

You may want to

- let the (master) strategy start an ATM strategy inside the (master) strategy to open the fist position,
- then let the strategy add two more positions according to your rules

When the strategy creates the ATM strategy, it may call any preset ATM template as specified. Once the ATM strategy has been started, the (master) strategy can no longer control it.
However, you will be able to move the target and stop manually or close the first position manually. This will not affect the second and third position.

To simplify entering the first position, you could let the strategy have one or two buttons sitting in the chart task bar, such that it will enter a position (long or short) when you press the button.


Reply With Quote
Thanked by:
  #3 (permalink)
Rinn
Okotoks, Alberta, Canada
 
Posts: 4 since Apr 2021
Thanks Given: 5
Thanks Received: 1


My experience has been that strategies and manual entries have no awarness of each other. The work around to achieve what your are wanting to achieve to to create an order entry button that is refrenece in your strategy. This way the strategy is involved right from the beginning.


Reply With Quote
  #4 (permalink)
koganam
Garner, NC/USA
 
Posts: 39 since Dec 2009
Thanks Given: 16
Thanks Received: 42


greene828 View Post
Hello, I have a strategy to scale in with 2 additional entries after I make the first entry manually using chart trader. However, I cannot find a way for the strategy to recognize the first entry made with chart trader. When the strategy is enabled, and I have entered a position using chart trader, "Position.MarketPosition" reads flat. I have it print on screen to confirm using the fixed text function and it reads flat, while in chart trader it shows the open position. How can I read the current market position within the strategy?

https://ninjatrader.com/support/helpGuides/nt8/?syncing_account_positions.htm


Reply With Quote
Thanked by:
  #5 (permalink)
 greene828 
West Palm Beach, FL
 
Experience: Intermediate
Platform: Ninjatrader 8
Trading: YM, RTY, NQ, GC, CL
Posts: 5 since Aug 2019
Thanks Given: 2
Thanks Received: 2

To Fat Tails Market Wizard, checking the link that you gave, I found something that referred to the Long Short Toolbar Buttons strategy in the ninjatrader ecosystem user app share. I was able to incorporate that strategy into mine and it works, thanks very much.


Started this thread Reply With Quote




Last Updated on August 21, 2022


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts