General - page 287

  DEAL_FEE mql5  (3)
Hi, Is the fee charged at DEAL_ENTRY_IN, DEAL_ENTRY_OUT or twice (IN & OUT, like DEAL_COMMISSION ) ? (I'm talking about HistoryDealGetDouble(dealTicket,DEAL_FEE) ) Thanks
Hello friends, Hope you are happy today. I wanted my Demo account full trade history. I've chosen All History in terminal but although it shows the start(deposit) and end(current), it does not show some of my trades. They have been disappeared from my history! The proof is my account deposit was 10K
Hi, my signals seller account stats are not corrected because my initial deposit was 95$ You put $1096, I posed this problem to my courtier and he asked me to contact you for this, it also turns out that since I made a loss of $420 while I made a win over $200
input int InpTakeProfitPts = 0 ; input int InpStopLossPts = 0 ; // // Standard inputs // input double InpOrderSize = 0.01 ; // Order size input string InpTradeComment
[Deleted]
Hi everyone, after having optimized my EA, the table of the results shows 23% as max drawdown. However, when I run the optimization variant with right click "Run single test", the drawdown is computed to be 87%. What could be the reason for this issue? Is there a way to fix this from my side? Thank
Hi, I have the following question: I am trying to run a custom script I did for MT4, but when I ran it always get executed with the USDCHF main chart, how can I unattach from that USDCHF chart and attach my script to the GBPUSD chart window I want to run on???? Thank you
Its a MT5 Script if any one could turn it into an EA it would be very much appreciated. void OnStart () { int Num_bars; switch ( _Period ) { case PERIOD_M1 :Num_bars = 180 ; break ; case PERIOD_M3 :Num_bars = 60 ; break ; case PERIOD_M5 :Num_bars = 36 ; break ;
My Trailing SL function no longer works. Maybe it is because of my NormalizeDouble routine. Normalize Double: //NormalizeDdouble(double,par); double ND( double val, string par) { // return(NormalizeDouble(val,StringLen(SymbolInfoDouble(par,SYMBOL_POINT)))); return ( NormalizeDouble (val
Hi! I'm starting meta trader 5 on ubuntu through wine and I want my strategy tester to run automatically with the config inside my common.ini file. I'm able to do it on windows, but I can't make it work on ubuntu with wine. Anyone can help
The MetaTrader 5 platform update will be released on Thursday, June 2, 2022. The update provides improvements and fixes based on the feedback we have received after the previous MetaTrader 5 build 3300 release, which included many new features . These new features, along with other changes, are
  enum every 15 minutes  (14   1 2)
I would like to make a time enum every 15 minutes, I have seen some robots with well-made systems and others made in the wrong way, including using _ to enable enumeration. I would like to do it correctly, tried the form below but the MT5 will not accept. If anyone can help, I appreciate it. enum...
Hi all I have problems with the display of the timeframe label in push notifications? Specifically, I attached an indicator to charts that are in different timeframes such as M1 M15 H1 H4 D1. My problems are: when a signal appears: - if timeframes are M15 M5 M1, the push notification can correctly
Dear fellow traders , my father and i both run EA's on the mql5 VPS , hosted from New York. We both have the same settings on the EA. -1 My fathers execution is different by sometimes 40 minutes. -2 The Entry most of the times is the same , but then also the execution of the TP isnt always the same
Hi, Am looking to disable EA's running in the MQL5 VPS temporarily, ie right before/after major news releases I know I can do this by removing the EA's from each chart and remigrating the VPS ( so it has no EA active anymore) But can I achieve the same result by hitting the stop button on the VPS
[Deleted]
The redirect my orders under the dropdown menu is not working. Individual would like to know if its working for other members
Please How do I set Order Cancels Order (OCO) on MT5 with PC
Hi everyone, I split the algo of an EA by writing most of the vital functions in an include file and custom indicator, I compiled all this into the major executable program, I will like to know if the EA is decompiled by unauthorized users, will the include functions and indicator be a missing files
  Trendline angle  (2)
#property copyright "Copyright 2022, MetaQuotes Ltd." #property link " https://www.mql5.com " #property version "1.00" #property script_show_inputs #include <Trade\Trade.mqh> CTrade trade; CPositionInfo position; // trade position object //--- input
  ATR on chart  (4)
Hi, is there an ATR indicator that displays the ATR levels on the actual price chart?  The standard MT4 ATR displays as an indicator below the price chart similar to the RSI indicator. 
Hi, Having a problem with my MT5, when I change to the H1 time frame it is only changing the last 7 months into h1 candles and leaves the rest of the chart as daily??
We all "hear" what the best hours are to trade but how do we validate the best hours to trade? There are scalpers and there are swing traders. Scalpers may want to target different market conditions, perhaps periods where candles are long enough to profit and swing traders / intraday traders may
I trade lower time frames which can be a problem when it comes time to go to bed and I have open trades. Does anyone know of an EA tha will 1. I have an open trade, maybe even two on single pair 2. I am absent from the screen to sleep or work so I manually create a Pending trade with TP and SL. 3
Hello. I'm looking for a professional programmer who can reprogram c++ indicators entirely to python. Thank you
hi forum members, i've created a custom symbol in MT5 by copying from the broker's symbol, and tried to adjust the session time precisely. for example, the current trade time for monday is 00:00 - 23:58. i want to adjust it to 00:04 - 23:59. however, it doesn't allow me to change the time by typing
I am trying to come up with an indicator that draws a rectangle on chart whenever a fair value gap is detected . its based on the ICT trading concepts for those who are familiar with it. I want to draw a rectangle in between the 3 bars if the high of a candle at index 1 is longer than the low of
Hi, I ordered EA that won't open positions. It works on SP500 when backtested, but won't work on any forex pair. What could be the problem
  update problem  (1)
I can't update the android to the new version 1.8 because it appears to me as a version 1.7 What should I do with Meta Trader Advise me please https://www.mql5.com/en/market/product/81225?source=Site+Market+MT4+Expert+Rating006
Hi guys, if you know about the Trader's Championship Tournament. Please send the information here. I'm so curious to deal with it. Thanks
I have this code: input double X = 6 ; input double Y = 10 ; plus some other code that uses the X and Y variables. I ran it through Strategy Tester and the result was not good. So I ran it again but this time with optimization and a bunch of values for each variable. Strategy Tester tested all the
Why does this not work? int Y; if ( PERIOD_CURRENT == PERIOD_M3 ) { Y = 2380 ; Print (Y); } else if ( PERIOD_CURRENT == PERIOD_M5 ) { Y= 1428 ; Print (Y); } else if ( PERIOD_CURRENT == PERIOD_M10 ) { Y=