I need to create custom indicator & add it as built-in indicator to 'Indicator/Trend' directory.
How can I do it?

- 11,070
- 4
- 35
- 58

- 21
- 1
1 Answers
First:
Create the Custom Indicator
and then code its behaviour according to the MQL4
syntax / processing logic.
Next:
Use the GUI Mouse.RightCLICK
or Mouse.Drag&Drop
interactions to associate the compiled CustomIndicator
with an MT4.Graph of your choice.
You might have already realised, that the [Navigator] panel displays user-defined indicators in a trailing section of the Terminal's Navigation Tree. AFAIK there is no direct way to specify, the less to enforce, in which other branch a new Custom Indicator
should appear. Terminal simply puts 'em all to a root level, under other leaf-categories { Trend | Oscillators | Volumes | Bill Williams | Examples } and maintains nothing more complex then a simple alphabetical ordering. As the filesystem-level representation appears only for Examples
and Custom Indicators
there should your efforts go, if you strictly need to categorise your indicators in some specific manner.

- 19,824
- 17
- 99
- 186

- 1
- 6
- 50
- 92