Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
well, for me something like this is not good or bad or a mess or whatever, its a concept, a kind of systematic arrangement, that can be used in many diff. ways, depending on what you like.
each trader can extract his own idea + setup out of it.
look at TAJTrades, he created a divergence / contertrade-play from it.
look at cory and my pics, we do one look and we have an idea of a trend-/ pullback-system created out of the same indicators.
like rogerF said this these days, its all just tools and the key is to learn how to use those tools.
become a master with your toolset / of your style !
Thanks to @whoisthere48 for reporting a bug in the TradersDynamicIndex indicator. I had not correctly serialized the plots, so it was not possible to change plotstyle, dashstyle and width of the lines.
I have addressed the problem now. You can download the indicator here:
Hi Fat Tails - I am trying to learn from your code can you help me understand what "serialized the plot" means?
What happens if you do not serialize the plots?
Serialization basically means that some of the parameters of an object are transformed to a storable format to be accessed by the user. For NinjaTrader indicators these parameters will appear in the indicator dialogue box.
In the Properties region of the indicator, you will basically find two types of objects
(1) DataSeries objects: Please note the [XmlIgnore()] line. This means that DataSeries objects are not serialized, as they will not be stored. When you open a chart template, all DataSeries values will be recalculated.
(2) Parameters: These are serialized, that means stored. When you add an indicator to a chart, it typically shows up with a default period. You can change the default value of the period and save it as a template. Next time you open the template your saved value will be used.
NinjaTrader serializes the plots automatically. For the indicator I have suppressed this serialization with the line PlotsConfigurable = false;, because I wanted to use a user selectable multicolor plot, which is not possible with the standard serialization. The manual serialization requires to set properties for upcolor, downcolor, plotstyle, dashstyle and width and collect these values, which is best done in OnStartUp(). I had simply forgotten to collect the values set by the user, so they were ignored.
hi Fat Tails - a follow up question - if a parameter is serialized does the user's setting get stored in the template XML file or somewhere else in NT folder?
Absolutely. Serialized parameters get stored in the template and workspace files. Otherwise the template would not "know" which settings need to be applied to the indicators, when they are used on a chart.
Parameters that have not been serialized cannot be stored in a chart template.