In MQL5 there are several ways to call indicators, and they are mostly carried out using IndicatorCreate() and iCustom() functions. Moreover, these functions only return indicator handle, and further work on indicators is done through it. So what is a handle? How to deal withIndicatorCreate...
pls i need someone to explain how to use indicators.do i use onopen chartsay eursud then when i see that it is making money,i then make an order or how.i need help? Coding help Predicting future market using Xprofuter indicator fxultratrend indicators...
You can learn some basic MQL4/MQL5 coding by reading our guides on MQL programming.One important thing to understand is that it isn't possible to add alerts to indicator without at least some coding. The good thing is that what you will require is so simple that even a 5-year old ...
You can learn some basic MQL4/MQL5 coding by reading our guides on MQL programming.One important thing to understand is that it isn't possible to add alerts to indicator without at least some coding. The good thing is that what you will require is so simple that even a 5-year old ...
1. "IndCreateOffline" indicator for creating offline chart We are going to call the indicator IndCreateOffline. It will have only one input parameter in charge of the offline chart period. We will speak about it further below. The IndCreateOffline indicator will perform a single task — creat...
We will learn how to create our custom True Strength Index indicator using MQL5. Then we will use its features in other systems or EAs. The following steps are for creating this custom indicator. Creating additional parameters by using the #property and next to it we will specify the identifi...
After reviewing a couple of alternative IDEs/Source Code Editors that could be used to code and compile in MQL5 instead of using the original Metaeditor IDE, I decided to go with Visual Studio Code
Code for Close Trade and Save profit due to weak signal is as follows: intMCEA::GetCloseInWeakSignal(conststringsymbol,intexis)// Signal Indicator Position Close in profit{//---intret=0;intrise=1, down=-1;//--intbr=3; Pips(symbol);doubledifud=mc_symbol.NormalizePrice(1.5*pip);//...
Our second problem (which is not less important) - to make our class "visible" toMQL5 Wizard. But, first things first. 2.1. Creating the class of the trading signals generator Let's begin. First, we create (for example, using the sameMQL5 Wizard) an include file with the mqh extension...
(arrows, crossover of indicator/price lines) may be used in the system (to open a position) only at the next bar after its appearance. If we try to use the signals (without waiting for the closure of the bar), during the testing of the Expert Advisor, it will turn out that there ...