How to add custom indicator?
Author: lyrklaunavan
Creation Date: 11/10/2009 1:38 PM
profile picture



I just downloaded Wealth-Lab Developer ver. 5.5 demo version and just digging it. I wanted to add a custom indicator to this program but could not succeed.

From this link, I copy the code, I open a chart and press Ctrl+Shift+S and I paste this code instead of the existing one. Then I press F5 as said in "Wealth-Lab WealthScript Programming Guide" .

It gives an error that "indicators is not in community"
What to do now?

I was using ninjatrader and it was so easy. I could export an indicator and the rest is easy.

Wealtlab is a bit strange. How can I make this indicator work on Wealth-Lab? Please tell me step by step because I am a stranger to programming and correcting programming errors.

Thanks in advance
profile picture



You were pasting the example usage code, not indicator's. It's a so called "formal" indicator, so its code is "hidden" in a dynamically linked library called Community.Indicators. (On the contrast, there are indicators created on-the-fly, directly in Strategy code.)

Once you install the library (click Extensions > Get Extensions > Indicator... on this site) using the Extension Manager, the example will compile w/o errors. Furthermore, Elder Stops will become available for dragging and dropping to your charts and in rule-based strategies which require no programming skills.

Take a look at these tutorial videos:

Designing Rule-based Strategies, Combining different Indicators
Use the Wizard to create a Rule-based Strategy
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).