NT7 - Programming a Scale Justification=Overlay? - NinjaTrader Programming | futures io social day trading
futures io futures trading


NT7 - Programming a Scale Justification=Overlay?
Updated: Views / Replies:1,994 / 3
Created: by chrisflow 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 90,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

Reply
 
Thread Tools Search this Thread
 

NT7 - Programming a Scale Justification=Overlay?

  #1 (permalink)
Elite Member
New Orleans, LA
 
Futures Experience: Intermediate
Platform: xtrader ADL, NinjaTrader7
Favorite Futures: Guitar and CL
 
chrisflow's Avatar
 
Posts: 15 since Feb 2010
Thanks: 54 given, 4 received

NT7 - Programming a Scale Justification=Overlay?

Anyone know how to set a plot to justify as an overlay, programmatically, in NT7? I'm not talking about overlays over the price. I mean on the panels below the price panel.

I'm programming a indicator and I want to put BOTH an EMA and a StdDev on the same panel (ie Panel 2). I know that this can be done with two separate indicators and later in the Indicator panel, set each one to justify left and right as overlays.. but I need to do this in a script so it is automatically set up this way.

So how would I put the EMA scale on the right and the StdDev on the left?


For example, this doesn't work:

Add(new Plot(Color.FromKnownColor(KnownColor.Black), PlotStyle.Line, "EMAPlot"));
Plots[1].Scale = Overlay;
Plots[1].Scale.Justification = Left;

Add(new Plot(Color.FromKnownColor(KnownColor.Red), PlotStyle.Line, "StdDevPlot"));
Plots[2].Scale = Overlay;
Plots[2].Scale.Justification = Right;


Does anyone know of any documentation for NT7 programming? The included help section absolutely stinks for explaining programming NT7's new features.

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)
Elite Member
New Orleans, LA
 
Futures Experience: Intermediate
Platform: xtrader ADL, NinjaTrader7
Favorite Futures: Guitar and CL
 
chrisflow's Avatar
 
Posts: 15 since Feb 2010
Thanks: 54 given, 4 received


I found how to justify (below). But how to do this for each plot ("EMAPlot" and "StdDevPlot") ? Any suggestions?

ScaleJustification = ScaleJustification.Left; // Indicator will be plotted on the left scale
NinjaTrader Version 7

This fails:
 
Code
                            
Plots[0].ScaleJustification ScaleJustification.Overlay
This fails too:
 
Code
                            
 EMAPlot.ScaleJustification ScaleJustification.Overlay


Last edited by sam028; May 28th, 2010 at 03:53 PM. Reason: add coding tag
Reply With Quote
 
  #4 (permalink)
Elite Member
Denver, CO
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: ES
 
NinjaTrader's Avatar
 
Posts: 1,260 since May 2010
Thanks: 153 given, 1,890 received

You can't do it for each plot. All plots of an indicator are grouped together in terms of the panel and scale they reside on. Thus, you can either set all plots to either display on the Left, Right or Overlay scale.

Reply With Quote
The following 2 users say Thank You to NinjaTrader for this post:

Reply



futures io > > > > > NT7 - Programming a Scale Justification=Overlay?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Programming (programming without coding) LukeGeniol Platforms and Indicators 11 September 16th, 2016 01:49 PM
Removing access space to right of price scale NT7 SMDBIOS NinjaTrader 11 April 24th, 2011 12:05 AM
Can you overlay Bonds on a ES chart in Multicharts? Birch49 MultiCharts 1 January 22nd, 2011 05:39 PM
Programming Indicators Using OnMarketData in NT7!!! RJay NinjaTrader Programming 3 December 16th, 2010 01:16 PM
Transparent overlay trick MXASJ NinjaTrader Programming 1 May 27th, 2010 04:48 AM


All times are GMT -4. The time now is 04:01 PM.

Copyright © 2017 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
Page generated 2017-12-17 in 0.08 seconds with 19 queries on phoenix via your IP 107.20.115.174