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"
AYMERIC75
Added topic DLL load failed while importing _core
Hello, On Windows Server 2022, I installed MetaTrader5 package for Python. But then, when I run a test code: import MetaTrader5 as mt5 # affiche les données sur le package MetaTrader 5 print( "Auteur du package MetaTrader5 : " ,mt5.__author__) print(
AYMERIC75
Added topic In Python MT5, how to have my code running on every asset change ?
Hello, I would like to display, in the terminal, the price of DJ30 at every change in the market (at every move of one pip say), I don't the frequency of this event, but I guess it's something like every second or less. So in the Metatrader library
AYMERIC75
Added topic MT5, how to scroll up and down ?
Hello, As you can see on the screenshot below, I would like to scroll up on the chart in order to use the measuring tool to measure the amount of pips up to a specific (higher) level: But I cannot find how to do this, any idea ? Thank you
AYMERIC75
Added topic In MT5, can we overlay two Ichimoku indicators of different timeframes on the same chart ?
Hello, In Tradingview, we can superimpose two Ichimoku of different timeframes on the same shart, see below a 1H Ichimoku cloud (blue) and a 4h Ichimoku cloud (green): In Metatrader 5 I could not find a way to do this, is it possible ? Thank you
AYMERIC75
Added topic Creating my own list of Forex pairs to choose from, when clicking on the New Order button
Hello, In MT5, when clicking on the "New Order" button (see images below), then in the "Symbol" select, I can choose among a list that is also present in the symbol list (CTRL+U). But, how do I create my own custom list ? I would like to have the
AYMERIC75
Added topic Calculating the profit/loss that correspond to one pip value (problem with pairs with Yen as a quote like USDJPY)
Hello, I already opened a similar post on the subject but we got lost in a long conversion, so I preferred to open a new post so that the problem and the solution (if exists) remain clear. Here is the problem: I want to know the profit/loss
AYMERIC75
Added topic In the strategy tester, how to manually place orders ?
Hello, I am trying to use the Strategy Tester to manually backtest a strategy where I use the Ichimoku indicator, but I cannot find a way to place orders in the Strategy Tester. Here is what I have done so far: 1) In the Strategy Tester overview
12