NexusFi: Find Your Edge


Home Menu

 





How to Use Third Party Vendor Indicators in Strategy?


Discussion in NinjaTrader

Updated
    1. trending_up 4,424 views
    2. thumb_up 7 thanks given
    3. group 3 followers
    1. forum 11 posts
    2. attach_file 1 attachments




 
Search this Thread

How to Use Third Party Vendor Indicators in Strategy?

  #1 (permalink)
 Michael Krall 
Manitowoc, WI
 
Experience: Advanced
Platform: NinjaTrader
Trading: Forex
Posts: 10 since Aug 2013
Thanks Given: 5
Thanks Received: 4

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.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Build trailing stop for micro index(s)
Psychology and Money Management
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
Ninja Mobile Trader VPS (ninjamobiletrader.com)
Trading Reviews and Vendors
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
37 thanks
NexusFi site changelog and issues/problem reporting
22 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
20 thanks
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


Michael Krall View Post
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.

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.

Reply With Quote
Thanked by:
  #3 (permalink)
 Michael Krall 
Manitowoc, WI
 
Experience: Advanced
Platform: NinjaTrader
Trading: Forex
Posts: 10 since Aug 2013
Thanks Given: 5
Thanks Received: 4




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?

Started this thread Reply With Quote
  #4 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


Michael Krall View Post


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?

You should see the names of the plots without any difficulties.

The indicators shown in the chart are pretty simple, you can also use free stuff to achieve the same.

Reply With Quote
  #5 (permalink)
 Michael Krall 
Manitowoc, WI
 
Experience: Advanced
Platform: NinjaTrader
Trading: Forex
Posts: 10 since Aug 2013
Thanks Given: 5
Thanks Received: 4

The indicators do not show up in the Strategy Wizard list. Do I find the names of the plots in the data box?

I may have found comparable indicators for all except the MA tick channel indicator.

Started this thread Reply With Quote
  #6 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


Michael Krall View Post
The indicators do not show up in the Strategy Wizard list. Do I find the names of the plots in the data box?

I may have found comparable indicators for all except the MA tick channel 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.

Reply With Quote
Thanked by:
  #7 (permalink)
 Michael Krall 
Manitowoc, WI
 
Experience: Advanced
Platform: NinjaTrader
Trading: Forex
Posts: 10 since Aug 2013
Thanks Given: 5
Thanks Received: 4


Fat Tails View Post
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.

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?

Started this thread Reply With Quote
  #8 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


Michael Krall View Post
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?

If the different plots do not show up, then you should at least be able to access the main plot.

The other plots cannot be used with the strategy wizard unless the vendor has coded properties to access them.

Reply With Quote
Thanked by:
  #9 (permalink)
 Michael Krall 
Manitowoc, WI
 
Experience: Advanced
Platform: NinjaTrader
Trading: Forex
Posts: 10 since Aug 2013
Thanks Given: 5
Thanks Received: 4


Fat Tails View Post
If the different plots do not show up, then you should at least be able to access the main plot.

The other plots cannot be used with the strategy wizard unless the vendor has coded properties to access 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.

Started this thread Reply With Quote
  #10 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102



Michael Krall View Post
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.

Harry

Reply With Quote
Thanked by:




Last Updated on February 17, 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