How to create built-in indicator in Metatrader

时间:2015-10-29 15:55:49

标签: mql4 metatrader4 mql5 mt4

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

enter image description here

1 个答案:

答案 0 :(得分:0)

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.