- ago
please I need help, how do you create a custom indicator. example: creating an indicator that measures the standard deviation of ATRP
0
1,119
Solved
4 Replies

Reply

Bookmark

Sort
- ago
#1
You need to ask yourself first, why do you need it to be an indicator. There are cases you'll need one - like NeuroLab etc, but TimeSeries will be enough in most cases. I use TimeSeries only.

What you've described will look something like:

CODE:
TimeSeries ts = StdDev.Series(ATR.Series(bars, 25), 25);
1
- ago
#2
@manofsteel
Check out Help > Indicators > "Custom Indicators" chapter. The Indicator Builder tool (Tools menu) comes with 3 example indicators (open source).

@Rep_m
Just a minor correction: should be ATRP
CODE:
TimeSeries ts = StdDev.Series(ATRP.Series(bars, 25), 25);


P.S. Advanced users may be interested in creating full-fledged indicator libraries following this manual:
https://www.wealth-lab.com/Support/ExtensionApi/IndicatorLibrary
0
Best Answer
- ago
#3
If we create a custom indicator using the corresponding menu, does it appear in the indicators tab?
0
Cone8
 ( 6.32% )
- ago
#4
Yes.
1

Reply

Bookmark

Sort