NexusFi: Find Your Edge


Home Menu

 





ChartTrader & Order Button size - width


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one monpere with 15 posts (28 thanks)
    2. looks_two ThatManFromTexas with 9 posts (18 thanks)
    3. looks_3 futuretrader with 8 posts (0 thanks)
    4. looks_4 lolu with 6 posts (0 thanks)
      Best Posters
    1. looks_one bukkan with 4.3 thanks per post
    2. looks_two ThatManFromTexas with 2 thanks per post
    3. looks_3 monpere with 1.9 thanks per post
    4. looks_4 TradingGuy with 1 thanks per post
    1. trending_up 23,954 views
    2. thumb_up 65 thanks given
    3. group 23 followers
    1. forum 66 posts
    2. attach_file 6 attachments




 
Search this Thread

ChartTrader & Order Button size - width

  #41 (permalink)
 
ThatManFromTexas's Avatar
 ThatManFromTexas 
Houston,Tx
 
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: TF
Posts: 2,265 since Feb 2010
Thanks Given: 1,206
Thanks Received: 4,348

Saw this in another thread and thought it might be helpful to what ya'll are trying to accomplish.







nailz420 View Post
Hi,

I found how to make enable chart trade while running a strategy on the chart. I put this code in the OnBarUpdate method:
 
Code
        ChartControl.ChartTraderEnabled = true;
	ChartControl.Controls["pnlChartTrader"].Enabled = true;
	ChartControl.Controls["pnlChartTrader"].Visible = true;	
	ChartControl.Controls["pnlChartTrader"].Controls["ctrChartTraderControl"].Enabled = true;
	ChartControl.Controls["pnlChartTrader"].Controls["ctrChartTraderControl"].Visible = true;
This code opens the chart trader panel and allows you to place orders and shows the current pnl. However it does not enable to context menu order placement options or the on-chart order and avg price markers. Any idea how that can be enabled as well?

Thanks,
Tim


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
Thanked by:

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
ZombieSqueeze
Platforms and Indicators
Deepmoney LLM
Elite Quantitative GenAI/LLM
Are there any eval firms that allow you to sink to your …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
38 thanks
NexusFi site changelog and issues/problem reporting
27 thanks
GFIs1 1 DAX trade per day journal
18 thanks
The Program
18 thanks
  #42 (permalink)
 futuretrader 
Como Italy
 
Experience: Intermediate
Platform: Ninjatrader, customized
Trading: ES
Posts: 525 since Feb 2010
Thanks Given: 471
Thanks Received: 643

I was reading about the ATI / OIF method yesterday. Has anyone tried working with that? It looks like you could bypass the Strategy class altogether and just do everything from an indicator....

Reply With Quote
  #43 (permalink)
 
Adamus's Avatar
 Adamus 
London, UK
 
Experience: Beginner
Platform: NinjaTrader, home-grown Java
Broker: IB/IQFeed
Trading: EUR/USD
Posts: 1,085 since Dec 2010
Thanks Given: 471
Thanks Received: 789



futuretrader View Post
I was reading about the ATI / OIF method yesterday. Has anyone tried working with that? It looks like you could bypass the Strategy class altogether and just do everything from an indicator....

Surely that's overkill when you don't need to communicate with a third-party application?

You can discover what your enemy fears most by observing the means he uses to frighten you.
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #44 (permalink)
 futuretrader 
Como Italy
 
Experience: Intermediate
Platform: Ninjatrader, customized
Trading: ES
Posts: 525 since Feb 2010
Thanks Given: 471
Thanks Received: 643

Well, all of these are workarounds. Using the OIF would eliminate the need to run both the indicator and a strategy, so in a sense it could be simpler.

Reply With Quote
  #45 (permalink)
 
NinjaTrader's Avatar
 NinjaTrader  NinjaTrader is an official Site Sponsor
Site Sponsor

Web: NinjaTrader
AMA: Ask Me Anything
Webinars: NinjaTrader Webinars
Elite offer: Click here
 
Posts: 1,713 since May 2010
Thanks Given: 203
Thanks Received: 2,686


futuretrader View Post
Well, all of these are workarounds. Using the OIF would eliminate the need to run both the indicator and a strategy, so in a sense it could be simpler.

Technically it would work but its analagous to walking out the front door and back in through the back door of your house. It's not as efficient. The ATI's purpose is to provide an interface for automated trading from a 3rd party application such as TradeStation or eSignal and execute through NinjaTrader.

Follow me on Twitter Reply With Quote
  #46 (permalink)
 
monpere's Avatar
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
Posts: 1,854 since Jul 2010
Thanks Given: 300
Thanks Received: 3,371


futuretrader View Post
Well, all of these are workarounds. Using the OIF would eliminate the need to run both the indicator and a strategy, so in a sense it could be simpler.

OIF requires additional I/O to disk. That is always more expensive.

Reply With Quote
  #47 (permalink)
 
ThatManFromTexas's Avatar
 ThatManFromTexas 
Houston,Tx
 
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: TF
Posts: 2,265 since Feb 2010
Thanks Given: 1,206
Thanks Received: 4,348


NinjaTrader View Post
Technically it would work but its analagous to walking out the front door and back in through the back door of your house. It's not as efficient. The ATI's purpose is to provide an interface for automated trading from a 3rd party application such as TradeStation or eSignal and execute through NinjaTrader.

@NinjaTrader

I understand that and agree with you.

The problem is documentation. It is available for the ATI.

I was able to build a system to initiate orders, interface with the Chart Trader and invoke the ATM for stop and target management without using the ATI, but I had a very difficult time finding reference information or documentation.

If this type of information is available, I would be most greatfull if you could provide a link.

Below is the interface I use. It works great for my needs, but the necessary information to accomplish it was difficult to find.




I can understand how making it easier for users to do this could create a headache for support , but providing documentation or a development kit could help reduce that issue, IMHO.

Thank you for your time and consideration.

TMFT

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
Thanked by:
  #48 (permalink)
 
NJAMC's Avatar
 NJAMC 
Atkinson, NH USA
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker: NinjaTrader Brokerage
Trading: Futures, CL, ES, ZB
Posts: 1,970 since Dec 2010
Thanks Given: 3,037
Thanks Received: 2,394


ThatManFromTexas View Post
@ NinjaTrader

I understand that and agree with you.

The problem is documentation. It is available for the ATI.

...


I can understand how making it easier for users to do this could create a headache for support , but providing documentation or a development kit could help reduce that issue, IMHO.

Thank you for your time and consideration.

TMFT

Agreed,

I think NT has a lot of power which is due to the "Openness" of the platform, but information is limited outside of the "NT authorized" additions (Indicators and Strategies). So we end up with people reverse engineering other portions of the system like Chart Types, etc. I think these enhancements end up causing more pain to NT support because they are unstable and rely upon certain observations. If NT can release some of these documents as "UNSUPPORTED", I think that would help.

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Visit my NexusFi Trade Journal Reply With Quote
  #49 (permalink)
 
aligator's Avatar
 aligator 
Las Vegas, NV
Market Wizard
 
Experience: Advanced
Platform: Abacus, Slide Rule, HP-65
Trading: Futures, Stocks, Options
Posts: 3,615 since Aug 2010
Thanks Given: 1,071
Thanks Received: 5,988


ThatManFromTexas View Post
I read through the thread but I don't understand what your indicator does. (The mind is the first thing to go when you get old... )

@ThatManFromTexas,

I am not sure if you have seen this indicator mentioned before (attached) and is in download section. Seems to work fine without being piggybacked to a strategy. The problem is the buttons and MM are not intuitive and some cleanup will make it a good indicator.

Attached Files
Elite Membership required to download: bTPAcontingent.cs
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #50 (permalink)
 
ThatManFromTexas's Avatar
 ThatManFromTexas 
Houston,Tx
 
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: TF
Posts: 2,265 since Feb 2010
Thanks Given: 1,206
Thanks Received: 4,348



aligator View Post
@ThatManFromTexas,

I am not sure if you have seen this indicator mentioned before (attached) and is in download section. Seems to work fine without being piggybacked to a strategy. The problem is the buttons and MM are not intuitive and some cleanup will make it a good indicator.

@aligator

Thank you for your efforts!

Yes I have, but I don't need it. I have a complete system that I have been using live for some time. But getting the information when I was building it was very difficult. I was asking NT to provide documentation to make it easier for the next project.

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
Thanked by:




Last Updated on February 25, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts