How to program chart trader? Is it possible? - futures io
futures io futures trading



How to program chart trader? Is it possible?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one jabeztrading with 2 posts (0 thanks)
    2. looks_two ThatManFromTexas with 2 posts (3 thanks)
    3. looks_3 terratec with 1 posts (0 thanks)
    4. looks_4 monpere with 1 posts (3 thanks)
    1. trending_up 4,496 views
    2. thumb_up 7 thanks given
    3. group 3 followers
    1. forum 7 posts
    2. attach_file 4 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
 

How to program chart trader? Is it possible?

(login for full post details)
  #1 (permalink)
Brooklyn, NY
 
Experience: Beginner
Platform: Ninjatrader, Metatrader
Trading: EUR/USD
 
Posts: 24 since Feb 2010
Thanks: 12 given, 13 received

On Ninjatrader forum I read that you can't modify Chart Trader yet I believe I see that Indicator Warehouse has a position size indicator, which looks to me, has a button and drop down box on, including their logo, on Chart Trader. Anyone has insight to coding Chart Trader?

Started this thread Reply With Quote

Journal Challenge February 2021 results:
Competing for $1500 in prizes from Topstep
looks_oneSBtrader82 's Trading Journalby SBtrader82
(173 thanks from 31 posts)
looks_twoJust BEING a Trader: Letting Go!!by iqgod
(120 thanks from 33 posts)
looks_3Wisdom is Emptinessby Mtype
(68 thanks from 25 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(35 thanks from 17 posts)
looks_5Journal for peanuts1956by peanuts1956
(23 thanks from 13 posts)
 
 
(login for full post details)
  #3 (permalink)
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,082 received



jabeztrading View Post
On Ninjatrader forum I read that you can't modify Chart Trader yet I believe I see that Indicator Warehouse has a position size indicator, which looks to me, has a button and drop down box on, including their logo, on Chart Trader. Anyone has insight to coding Chart Trader?


You might want to check these threads and

Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to redratsal for this post:
 
(login for full post details)
  #4 (permalink)
Houston,Tx
 
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,206 given, 4,332 received


jabeztrading View Post
On Ninjatrader forum I read that you can't modify Chart Trader yet I believe I see that Indicator Warehouse has a position size indicator, which looks to me, has a button and drop down box on, including their logo, on Chart Trader. Anyone has insight to coding Chart Trader?

I created a strategy (with the help of a lot elite members) that gave me my own push buttons and utilized the ATM for order handling. If that is what you mean.

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Attached Thumbnails
Click image for larger version

Name:	RangerATM.JPG
Views:	223
Size:	90.6 KB
ID:	36169  
Reply With Quote
The following 2 users say Thank You to ThatManFromTexas for this post:
 
(login for full post details)
  #5 (permalink)
Brooklyn, NY
 
Experience: Beginner
Platform: Ninjatrader, Metatrader
Trading: EUR/USD
 
Posts: 24 since Feb 2010
Thanks: 12 given, 13 received

Thank you redratsal. I will check out those threads.

ThatManFromTexas, I am aware of the work that was done for you but I was more thinking of having buttons on chart trader itself instead of part of a strategy. I think its doable since It seems like that is what Indicatorwarehouse did.

Thank you guys for helping.

Attached Thumbnails
Click image for larger version

Name:	inwh.jpg
Views:	254
Size:	30.9 KB
ID:	36201  
Started this thread Reply With Quote
 
(login for full post details)
  #6 (permalink)
Houston,Tx
 
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,206 given, 4,332 received


jabeztrading View Post
Thank you redratsal. I will check out those threads.

ThatManFromTexas, I am aware of the work that was done for you but I was more thinking of having buttons on chart trader itself instead of part of a strategy. I think its doable since It seems like that is what Indicatorwarehouse did.

Thank you guys for helping.

This might give you some idea. Bukkan is the keeper of the knowledge as far as I'm concerned. He was a tremendous help to me. You may want to go by his website. www.volumedigger.com


bukkan View Post
one can easily resize the buttons etc. they are just buttons, and standard windows control isnt it.

 
Code
for (int i = 0;i <= ChartControl.Controls.Count - 1;i++)
            {
               if (ChartControl.Controls[i] == ChartControl.Controls["pnlChartTrader"])
                {
                    Panel p = (Panel)ChartControl.Controls["pnlChartTrader"];
                    
                    for (int j = 0;j <= p.Controls.Count - 1;j++)
                    {
                        if (p.Controls[j] == ChartControl.Controls["pnlChartTrader"].Controls["ctrChartTraderControl"])
                        {
                            Control ctrader = ChartControl.Controls["pnlChartTrader"].Controls["ctrChartTraderControl"];
                            
                            for (int k = 0;k <= ctrader.Controls.Count - 1;k++)
                            {
                                if (ctrader.Controls[k].Name == "btnBuyMarket")
                                {
                                    Button btnMkt = (Button)ctrader.Controls[k];
                                    btnMkt.Width = (int)(btnMkt.Width / 2);
                                }
                             }
                        }
                        
                    }
                }
                
            }
the above code resizes the Buy Market button to half

run the code once. so put it in OnStartUp()


I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote
The following user says Thank You to ThatManFromTexas for this post:
 
(login for full post details)
  #7 (permalink)
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,338 received


jabeztrading View Post
Thank you redratsal. I will check out those threads.

ThatManFromTexas, I am aware of the work that was done for you but I was more thinking of having buttons on chart trader itself instead of part of a strategy. I think its doable since It seems like that is what Indicatorwarehouse did.

Thank you guys for helping.

You can put buttons on the chart itself. Here's the chart button indicator that allows you to do that.



You can see how some others have use this indicator here:



The chart below is what my trading charts have looked like for the past couple of years, using the buttons on the right to enter and manager trades..

Attached Thumbnails
Click image for larger version

Name:	chartbuttons.jpg
Views:	234
Size:	118.2 KB
ID:	36235  
Reply With Quote
The following 3 users say Thank You to monpere for this post:
 
(login for full post details)
  #8 (permalink)
Zurich Switzerland
 
Experience: Intermediate
Platform: NinjaTrader
Broker: IB
Trading: ES, 6E, CL
 
Posts: 404 since Sep 2009
Thanks: 64 given, 515 received

I try to add an OCO to a stop (or limit) order in the chart trader.
For testing I took the code that Bukkan posted in this thread and added the oco (OnBarUpdate) to a stop order.
(the code is not tested. Not for live use!)

In a strategy I can use OnExecution... for trade confirmation. With chart trader it does not work.

When placing a market order everything is fine. The entry and the oco are fired at the same time.

For stop and limit it's different.

I place a buy stop at 1300 protected by oco.
when the 1300 is touched oco is fired (before the buy is filled)
-> I am protected with the possibility to have no fill. ( and I can cancel the oco in that case)

Or I change it to oco is fired when 1300+1 tick is touched (after the buy is filled)
-> I have my fill with the risk not being protected.

In volatile markets like CL and 6E the 2nd way could be OK. For ES this could be too risky.

Are there other ways outside of strategy use?

Attached Files
Register to download File Type: zip ChartTrader.zip (2.6 KB, 86 views)
Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > How to program chart trader? Is it possible?


Last Updated on July 15, 2011


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

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

March
 

Call Option Buying: The New Pain Trade? w/Carley Garner

Elite only
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

New Challenge (TBD)

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