Metatrader Symbols [ MQL ]
You can change the default metatrader symbols for "buy" and "sell" that comes with your expert advisor or
indicator by modifying its code on MetaEditor. Click on the MetaEditor symbol on your Metatrader platform to open it. View Navigator and double-click on
the indicator / expert advisor that you want to modify.

For example, in the EMA crossover signal indicator below, change the default "buy" and "sell" arrows
:
|
SetIndexStyle(0, DRAW_ARROW, EMPTY,3);
SetIndexArrow(0, 233);
SetIndexBuffer(0, CrossUp);
SetIndexStyle(1, DRAW_ARROW, EMPTY,3);
SetIndexArrow(1, 234);
SetIndexBuffer(1, CrossDown);
The default arrows look like this ⇒
|
 |
|
After modification,
SetIndexStyle(0, DRAW_ARROW, EMPTY,3);
SetIndexArrow(0, 221);
SetIndexBuffer(0, CrossUp);
SetIndexStyle(1, DRAW_ARROW, EMPTY,3);
SetIndexArrow(1, 222);
SetIndexBuffer(1, CrossDown);
... arrows look like this ⇒
|
 |
You may need to re-compile the file. Click File - Compile.
Save the newly-modified indicator, then close metatrader and re-open to use it.
|