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 Fat Tails with 1 posts (1 thanks)
    3. looks_3 Rinn with 1 posts (0 thanks)
    4. looks_4 koganam with 1 posts (1 thanks)
    1. trending_up 964 views
    2. thumb_up 3 thanks given
    3. group 4 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

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

  #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?
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Ninja Mobile Trader VPS (ninjamobiletrader.com)
Trading Reviews and Vendors
Are there any eval firms that allow you to sink to your …
Traders Hideout
Online prop firm The Funded Trader (TFT) going under?
Traders Hideout
Deepmoney LLM
Elite Quantitative GenAI/LLM
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
The Program
20 thanks
GFIs1 1 DAX trade per day journal
19 thanks
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts