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)
How to Use Third Party Vendor Indicators in Strategy?
I am looking to code my trading strategy in the Strategy Wizard so I can quickly test new price data. Doing it manually takes months for each underlying. However, the vendor's indicators do not come up inside the strategy wizard menu. I asked the vendor for a version that will work inside a strategy but they are unaware of any code that would not allow it. They would like to know where to look.
What specifically in the script needs to be modified to allow the indicators to be used inside a strategy? Does the code have to be unlocked/open source? Does a specific table need to be referenced that is missing?
I asked this question in the Ninja forum several ways and got the most generic answers possible. I am hoping someone here can be more specific.
Can you help answer these questions from other members on NexusFi?
All indicators that have at least one plot (lines, dots or bars) can be accessed via the strategy wizard menu. If an indicator has several plots, you can only access all plots, if the author has created the properties to access them. However, the first plot can always be accessed via the strategy wizard.
An exception are indicators that do not come with plots, but just draw graphical objects on the chart. Such indicators are for example
- paint bar indicators
- Heikin-Ashi bars
- market profile type indicators
- indicators which draw arrows or dots
Best you post a chart, and it should be easy to determine whether your indicator has accessible plots or not.
The behavior of an indicator is the same, whether it comes as an assembly or open source.
There is a paintbar that colors the candles on 2 MAs crossing. A tick channel around a MA that also paints for rising/falling. Red/green solid and blue dash hash lines that are very similar to the Supertrend indicator. The oscillator in lower window has plots for TSI and an EMA of the TSI (I think) similar to other TSI indicators.
To write into a strategy without having the source code, does the vendor need to give me the exact names for the various plots used in each indicator?
@Michael Krall: On range charts you can build a tick channel by setting up a Keltner Channel. For example if you wish to see a tick channel with a channel width of 8 ticks on an 8-range chart, you just need to set the multiplier of the Keltner Channel to 0.5. Select a longer period > 100 to avoid that some special bars such as prior to the session break have an impact on the channel width.
The indicators or plots do not show up in the Strategy Wizard list. Do I use the names of the plots listed in the data box and code them manually instead of selecting them?
This is where I did a round robin with Ninja support and didn't get anywhere. The vendor does not know what code/properties needs to be changed to allow the indicators/plots to be seen in the strategy wizard. He said as far as he is aware they should be able to be seen and used in a strategy. He is willing to modify the code if needed but not willing to provide open source code. Am I a block-head or is there some instructions somewhere that I can pass along to the vendor?
I am a newbie at c# code. I have modified some basic code but have not built anything from scratch. If coding the vendor's indicators/plots is going to be to difficult or not even possible then I would like to go a different route.
If the vendor creates a property for each plot in the property section, the plots should be accessible.
As an example you can have a look at the MACD. In the properties section of the code, there are three public DataSeries Default, Avg & Diff. These public DataSeries allow to access the 3 plots.
If your vendor has forgotten to create such public DataSeries objects, the plots cannot be accessed.
If you have an indicator with a single plot (not other plots), such as the EMA, it is not necessary to declare the public properties, as you can directly access the indicator.