I need to create custom indicator & add it as built-in indicator to 'Indicator/Trend' directory.
How can I do it?
答案 0 :(得分:0)
Create the Custom Indicator
and then code its behaviour according to the MQL4
syntax / processing logic.
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.