Accessing a chart from a strategy - NinjaTrader Programming | futures io social day trading
futures io futures trading

Accessing a chart from a strategy
Updated: Views / Replies:1,109 / 3
Created: by richtobey Attachments:0

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Thread Tools Search this Thread

Accessing a chart from a strategy

  #1 (permalink)
Elite Member
San Antonio
Futures Experience: Advanced
Platform: NinjaTrader Interactive Brokers
Broker/Data: Interactive Brokers
Favorite Futures: forex
Posts: 45 since Oct 2010
Thanks: 0 given, 116 received

Accessing a chart from a strategy

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

Reply With Quote
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

  #3 (permalink)
Trading for Fun
College Point, NY (Queens)
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG
Favorite Futures: YM
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
  #4 (permalink)
Elite Member
Calcutta, India
Futures Experience: Intermediate
Platform: ArthaChitra
Posts: 278 since Jun 2009
Thanks: 161 given, 262 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 > > > > > Accessing a chart from a strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

July Journal Challenge - $500 in Amazon Gift Cards!


AXESS Trader: Powerful Cloud Based Trading Platform w/GFF Brokers

Jul 17

TBA: FuturesTrader71 w/Morad Askar

Elite only

Similar Threads
Thread Thread Starter Forum Replies Last Post
2Range indicator in 4 Range chart : multi data series chart emini_Holy_Grail NinjaTrader 5 July 3rd, 2011 03:19 PM
Accessing Zigzag swing highs/lows buylosellhi NinjaTrader Programming 3 April 27th, 2011 04:56 PM
Accessing the clipboard from within an indicator Tempo NinjaTrader Programming 4 February 7th, 2011 04:23 PM
Accessing Hidden Indicator Conditions KenB NinjaTrader Programming 20 September 29th, 2010 11:57 AM
looking for a quick key strategy button on chart.. budfoxx NinjaTrader Programming 2 April 11th, 2010 02:58 PM

All times are GMT -4. The time now is 07:50 AM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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
Page generated 2018-07-19 in 0.10 seconds with 14 queries on phoenix