Reloading a chart/indicator programatically to determine dynamic trade parameter - NinjaTrader Programming | futures io social day trading
futures io futures trading


Reloading a chart/indicator programatically to determine dynamic trade parameter
Updated: Views / Replies:432 / 1
Created: by tomg1970 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
 

Reloading a chart/indicator programatically to determine dynamic trade parameter

  #1 (permalink)
Elite Member
chicago
 
Futures Experience: Beginner
Platform: NinjaTrader, MT4, and TradeStation
Favorite Futures: es
 
Posts: 2 since Oct 2014
Thanks: 1 given, 0 received

Reloading a chart/indicator programatically to determine dynamic trade parameter

Hi,

I still consider myself a novice NT7 developer, so maybe this is easier than I think, or maybe it can't be done at all.

I created an indicator that has 1 parameter or setting. This setting really determine how many signals the indicator will show. I have a private variable that counts the number of signals on my chart and plots the signal number along with an arrow, so if I change this parameter to 100 (lets call it minimum trade score) I will have HUNDREDS of signals on a historic 10 day chart. If I change minimum trade score to 500, I may only see 1 or 2 trades on the same 10 day historic chart. Usually I have to find a value somewhere in the middle of 100 and 500, like 350, that will produce 30 signals on a 10 day chart, and I accept this minimum trade score value for creating signals in real-time.

So would much rather have a parameter called something like "Max Signals" and set that value to 30, and when I apply that parameter to my indicator, the indicator behind the scenes would start with minimum trade score value of 100 and store all the signals and scores into an array. Then I would loop through the array and count the number of trades with an increase of increment of 25 to the minimum trade score (100, 125, 150.. up to 500), to find which minimum trade score will produce around 30 trades (or whatever the desired number of trades for the time range on the historic chart), lets lets say 325 is 37 trades, and 350 yields 28 trades. I then plot the minimum trade score of 350 on the chart for informational purposes and reload the chart using that setting, so the chart actually shows 28 signals (arrows). Is this possible?

I figured the only way to make this possible is to load the chart twice. Once to determine all the signals, and the 2nd time to show the chart with the desired number of signals.

Any help would be appreciated.

Thanks.. tom

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.


Reply



futures io > > > > > Reloading a chart/indicator programatically to determine dynamic trade parameter

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
[Other]       Indicator Parameter? Stochastic Momentum Index EdenR Platforms and Indicators 4 November 21st, 2016 03:55 PM
How to call/enable and pass a parameter to a Ninjatrader Strategy from Chart trader? podski NinjaTrader 3 April 10th, 2014 12:39 PM
How to Determine potional P/L on option trade.... mdsvtr Options on Futures 2 December 24th, 2013 05:23 PM
How to programatically get value of Camarilla pivots from anaPivotZones indicator? approx NinjaTrader Programming 8 January 13th, 2012 06:20 AM
Storsi Indicator and how to change parameter display order TraderJesse NinjaTrader Programming 6 August 27th, 2010 06:20 PM


All times are GMT -4. The time now is 10:53 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-11 in 0.06 seconds with 19 queries on phoenix via your IP 54.145.16.43