

CUSTOM MT4 INDICATORS CODE
Feel free to copy and paste the code into the Editor, replacing all the generated code. The complete source code of our project is below. The Metaeditor is opened and we are ready to code. Select “OnCalculate(…,open, high, low, close)” and click.

Select “Custom Indicator” from the wizard.Using the wizard makes sure the structure of our indicator is correct. Let’s begin using the MetaEditor Wizard to create a new source code file with the basic structure already laid out for us. This indicator is the simplest of indicators that can be coded in Metatrader4.
CUSTOM MT4 INDICATORS HOW TO
Today I am going to teach you how to code a simple indicator in MQL4 that plots a buy arrow when the high of the last bar is broken, and a sell arrow when the low of the last bar is broken.
