Anyone have NT8 strategy code for a chart button? - futures io
futures io futures trading



Anyone have NT8 strategy code for a chart button?


Discussion in NinjaTrader

Updated by Fat Tails
    1. trending_up 471 views
    2. thumb_up 6 thanks given
    3. group 2 followers
    1. forum 1 replies
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,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
 

Anyone have NT8 strategy code for a chart button?

(login for full post details)
  #1 (permalink)
Greenville SC
 
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaTrader
Trading: NQ, MNQ
 
Posts: 8 since Nov 2018
Thanks: 11 given, 3 received

Is anyone willing to share code (snippets) on NT8 strategies that would create a button in a chart title bar (or on the chart itself) ? I'd like to create a "Position Close" button, only visible when the strategy has opened a position, that would close the open position when clicked.

Reply With Quote
The following user says Thank You to sunshnpeg for this post:

 
Best Threads (Most Thanked)
in the last 7 days on futures io
Legal question and need desperate help
91 thanks
Building a high-performance data system
15 thanks
FIO Journal Challenge - June 2020 w/SharkIndicators
12 thanks
New Computer Build
11 thanks
VWAP for stock index futures trading?
11 thanks
 
(login for full post details)
  #2 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,839 since Mar 2010
Thanks: 4,238 given, 26,581 received


sunshnpeg View Post
Is anyone willing to share code (snippets) on NT8 strategies that would create a button in a chart title bar (or on the chart itself) ? I'd like to create a "Position Close" button, only visible when the strategy has opened a position, that would close the open position when clicked.

Questions like this can easily be answered in a few minutes via Google search or similar. You will find coding examples as per links below:

https://ninjatrader.com/support/forum/forum/ninjatrader-8/indicator-development/96376-modifications-to-chart-wpf-elements-and-tab-considerations

https://ninjatrader.com/support/forum/forum/historical-beta-archive/version-8-beta/75475-buttons-stackpanels-dockpanels/page2?postcount=21

The buttons may be added / removed with various events. However, I would prefer the button to stay visible as long as the strategy is active. You could use different colors for long, short and flat.

Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > Anyone have NT8 strategy code for a chart button?


September 2, 2019


Upcoming Webinars and Events
 

Getting Comfortable with Price Action Patterns w/Earn2Trade

Aug 4
 

Live Video Panel: Ask Me Anything w/Ironbeam Brokerage

Aug 6
     



Copyright © 2020 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