AYMERIC75
AYMERIC75
Friends

Add friends via their profile or user search and you will be able to see if they are online

AYMERIC75
Added topic Starting MT5 and enabling MT5 agents on a distant Linux server, only with command line (no GUI)
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
AYMERIC75
Added topic In Strategy Tester, how to know which "Out" order correspond to which "In" order ?
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
AYMERIC75
Added topic Is it common to Buy Above and Sell Bellow with Bollinger bands ?
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
AYMERIC75
Added topic Strategy Tester : no trades at all
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
AYMERIC75
Added topic 'ENUM_MARGIN_LOTS_MODE' - enumeration cannot have modifiers RSI_EA.mq5 16 12
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' -
AYMERIC75
Added topic In strategy tester input section, how to have the Value / Start / Step and Stop completly reset and updated wrt to the EA code ?
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
AYMERIC75
Added topic detecting when a trend is ending ?
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
AYMERIC75
Added topic In strategy tester, Trade section, what do the two columns of Price correspond to and the profit column ?
Hello, I could not find the information about this in the documentation, my question is, what do the following columns correspond to exactly
AYMERIC75
Added topic custom indicator color, not working
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 ()   {
AYMERIC75
Added topic How to display indicator from EA code and have this indicator merged with chart
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
AYMERIC75
Added topic When creating a Take Profit for an open position SELL position, a BUY order is created... why ?
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
AYMERIC75
Added topic Python / MT5, how to close half a position?
Hello, I am opening an Buy order with:    price = mt5.symbol_info_tick(symbol_for_strategy).ask    stop_loss = price - price/ 2    take_profit = price + price/ 2    request = {
AYMERIC75
Added topic In Python/mt5, my order request returned an error
Hello, With this code:     request = {          "action" : MetaTrader5. TRADE_ACTION_PENDING ,          "symbol" : "BTCUSD"
123