简体   繁体   中英

How to create built-in indicator in Metatrader

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

在此处输入图片说明

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM