Accessing a chart from a strategy - futures io
futures io futures trading



Accessing a chart from a strategy


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one kandlekid with 1 posts (0 thanks)
    2. looks_two richtobey with 1 posts (0 thanks)
    3. looks_3 bukkan with 1 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 2,238 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Accessing a chart from a strategy

(login for full post details)
  #1 (permalink)
San Antonio
 
Experience: Advanced
Platform: NinjaTrader Interactive Brokers
Broker: Interactive Brokers
Trading: forex
 
Posts: 45 since Oct 2010
Thanks: 0 given, 116 received

When you create a strategy, it creates it's own charts.

Q1 - I'm wondering if attaching a strategy to an existing chart, would somehow make that chart's child objects visible programatically. So if I manually drew a line on a chart and named it "X." Could I then access that line with a tag of "X" from that strategy. Anybody?

Q2 - Does anybody know how to access an ATM's values such as stop amount or target 1 programatically. I thinking that this might be possible through inheritance somehow in the spirit of this post.

@font-face { font-family: "Cambria"; }p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman"; }a:link, span.MsoHyperlink { color: blue; text-decoration: underline; }a:visited, span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; }div.Section1 { page: Section1; } Access to NinjaTrader built-in functions from classes - NinjaTrader Support Forum

Thanks. Rich

Visit my futures io Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Automatic pattern research with NT
Elite Algorithmic NinjaTrader Trading
OFA (Order Flow Analytics) Licence
NinjaTrader
Automating strategies on multiple charts with same symbol
TradeStation
Indicators for pair trading MES and M2K
Platforms and Indicators
MACD line not plotting after change of plot order
NinjaTrader
 
 
(login for full post details)
  #3 (permalink)
College Point, NY (Queens)
 
 
Posts: 63 since Nov 2009
Thanks: 5 given, 20 received


Q1 ... I imagine that if you instantiate the line from within the strategy, you could "in theory" manipulate it. Unfortunately, I believe that when the strategy owns or has control of an object, you can't manually access it.

Reply With Quote
 
(login for full post details)
  #4 (permalink)
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 269 received


richtobey View Post
Q1 - I'm wondering if attaching a strategy to an existing chart, would somehow make that chart's child objects visible programatically. So if I manually drew a line on a chart and named it "X." Could I then access that line with a tag of "X" from that strategy. Anybody?

in NT7, a strategy can access any drawobject drawn by itself or by the user (i.e. drawobject manually drawn by the user).

a strategy cannot access any drawobject as drawn by any other strategy.

Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Accessing a chart from a strategy


Last Updated on December 31, 2010


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts