ChartTrader -- How to get the selected ATM with script - NinjaTrader Programming | futures io social day trading
futures io futures trading


ChartTrader -- How to get the selected ATM with script
Updated: Views / Replies:848 / 6
Created: by vantojo 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 dont 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
 

ChartTrader -- How to get the selected ATM with script

  #1 (permalink)
Elite Member
Neuquen, Argentina
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: CL, TF, 6S, NG, sometimes GC
 
Posts: 195 since Jul 2012
Thanks: 25 given, 39 received

ChartTrader -- How to get the selected ATM with script

Hello All,

Does anyone know how to (if it is possible) to get the current selected ATM in the ChartTrader drop down list with Ninja script?

Thanks in advance

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


ChartTrader is technically not allowed/supported by NT when used with a strategy (in fact when you run a strategy, ChartTrader is not available from the Control Center). In an ATM/ChartTrader you (or the ATM) enters the order, but a strategy enters it automatically ... in it's own namespace, etc. So how can a strategy possibly see an order entered outside of the strategy ?

But you can do it with the ChartControl functions. Note, you won't find any official documentation on them, but if you search for ChartControl on the futures.io (formerly BMT) forums and also the NT support forums you should find enough to run an ATM with a strategy.


Last edited by kandlekid; March 13th, 2013 at 05:07 AM.
Reply With Quote
 
  #4 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,214 received

Look here:
https://futures.io/elite-circle/25431-vvminitradepanel.html

I would ask in that thread since it duplicates most of the controls available when it creates the new panel window.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #5 (permalink)
Elite Member
Neuquen, Argentina
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: CL, TF, 6S, NG, sometimes GC
 
Posts: 195 since Jul 2012
Thanks: 25 given, 39 received

Thank you both...

by the way, Mike, I love the photos of your dog!

I live in South America...and I don't need my own dog...there are so many loose ones (with owners, but running free) and I eventually win them over to be my buddies when I go for walks.

In my last neighborhood, I felt like a pied piper of dogs...sometimes with 6-7 of them at my side

:-)

Reply With Quote
 
  #6 (permalink)
Elite Member
Munich, Germany
 
Futures Experience: Intermediate
Platform: NinjaTrader, TWS
Broker/Data: IB, NinjaTrader Brokerage
Favorite Futures: ES,NQ,6E
 
Posts: 62 since Feb 2010
Thanks: 15 given, 22 received


vantojo View Post
Hello All,

Does anyone know how to (if it is possible) to get the current selected ATM in the ChartTrader drop down list with Ninja script?

Thanks in advance

Following code will give you combox of ATM strategies

if( ChartControl != null )
{
System.Windows.Forms.ComboBox cb = ChartControl.Controls["pnlChartTrader"].Controls["ctrChartTraderControl"].Controls["cboStrategy"] as System.Windows.Forms.ComboBox;
Print( "Active ATM strategy: " + cb.SelectedItem.ToString() );
}

Reply With Quote
The following user says Thank You to decs0057 for this post:
 
  #7 (permalink)
Elite Member
Neuquen, Argentina
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: CL, TF, 6S, NG, sometimes GC
 
Posts: 195 since Jul 2012
Thanks: 25 given, 39 received

thank you

simple and direct code...

thank you

Reply With Quote

Reply



futures io > > > > > ChartTrader -- How to get the selected ATM with script

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Indicator to Plot the OHLC - user selected start/stop times rfiske NinjaTrader Programming 105 October 14th, 2015 11:14 AM
Accessing selected manually drawn chart drawing tag Xav1029 NinjaTrader Programming 14 October 7th, 2012 08:41 AM
ATM: script generated exit gomad NinjaTrader Programming 2 December 5th, 2011 05:03 AM
Ninjatrader7 ATM Strategy combine with Strategy Wizard Ninja Script schuster21 NinjaTrader Programming 4 July 4th, 2011 05:39 PM
ATM TRADING USING SCRIPT STRATEGY demit177 NinjaTrader Programming 4 May 29th, 2011 10:37 PM


All times are GMT -4. The time now is 07:49 AM.

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-11 in 0.14 seconds with 19 queries on phoenix via your IP 54.226.132.197