Hello, I installed MT5 on a distant Ubuntu server using this https://www.mql5.com/fr/articles/625 , I don't have any GUI access, only SSH Is it possible to start MT5 on the server without any GUI and to also start Metatrader Agents by default ? I
Hello, See the results of a Strategy testing below: If we consider Order number 2 for instance (of type "sell", and direction "in", executed at 14:00:00), how do I know to which "Out" order it is attached ?I mean, this "In" order is at some point
Hello, On some EA that I use, there is the option of Buying Above and Selling Bellow w.t.r Bollinger bands , which is, from what I understand, the opposite of the normal use of the Bollinger bands. Here it is in action on GBPUSD M15 The first trade
Hello, I have tested this code on a live session and it 'works' well (it opens trades): #property copyright "Aymeric" #property link " https://www.mysite.com " #property version "1.00" #property
Hi, In my EA I want to have an input which can be chosen from MARGIN_LOTS_ALL , MARGIN_LOTS_CALL or MARGIN_LOTS_STOPOUT I have tried : input enum ENUM_MARGIN_LOTS_MODE MARGIN_LOTS_MODE = MARGIN_LOTS_ALL; But I get: 'ENUM_MARGIN_LOTS_MODE' -
Hello, In my EA I have updated this code: input double OverBought = 92.51 ; input double OverSold = 7.49 ; then compiled it. But I still get the same values set in the Strategy Tester Input section: Any idea on how to solve this ? Thanks
Hello, I am implementing an EA based on smooth moving averages (the four colored lines below) and I want to have another indicator to prevent to enter (long) when price starts to falter (i.e. to slow down, to be "out of breath" etc.) Best way
Hi, I want to have a Custom moving average with a specific color, following this post https://www.mql5.com/en/code/19864 I have done the following: #include <Trade/Trade.mqh> CTrade trade; int handle_iMA_First; int OnInit () {
Hello, Here is what I have done so far: #include <Trade/Trade.mqh> CTrade trade; int maHandle; int OnInit () { maHandle= iMA ( _Symbol , PERIOD_CURRENT , 21, 0, MODE_SMMA, PRICE_CLOSE ); int subwindow=( int
Hello all, Whenever there is a SELL opened position, I create a SL and a TP for it: // if the position is a SELL double posPrice = PositionGetDouble(POSITION_PRICE_CURRENT); if (posType == POSITION_TYPE_SELL ) { // if it has