Entry Order Program for Mt5? The current Entry Order Program has extremely limited pre-sets for Type, Volume, Stop-Loss & Take Profit. By the time I find my desired entry point and click New Order, I have to change the type from Market Execution to Pending Order, enter the Volume, Stoploss, and Take
I am trying to place XAUUSD order with Python/MetaTrader5 combination in my demo account. When "action" is mt5.TRADE_ACTION_DEAL, it is a valid market order, but I am unhappy with large slippage. So I changed the action to mt5.TRADE_ACTION_PENDING to place limit SELL order with price + DEVIATION
Hello everyone, I am pulling historical data from binance with csv and I want to create new symbols and backtest them on the strategies I wrote. If I'm not mistaken, I can't open any position and I can't get trade information because I don't upload tick data. Binance history does not share tick
Hello, I am developping an EA and sometimes when I try to buy or send, I get the error message (sometimes, the transaction is OK) : failed market sell 4.71 #TSLA sl: 42.86 [ Invalid stops ] CTrade::OrderSend: market sell 4.71 #TSLA sm: 42.86 [invalid stops] I understand than my stop loss is wrong
I want to try to put in a method switcher to the EA generated by the wizard. Indeed learning curve still lacks. //--- Creation of trailing object switch (Trailing_Method) { case 0 : CTrailingNone *trailing = new CTrailingNone; break ; case 1 : CTrailingFixedPips
[Deleted]
I am trying to backtest an EA the deals and orders are being shown but the report not showing anything, someone kindly assist. Thanks in advance
I have 2 EAs on the same chart, the magic numbers are different but one reads the floating operation of the other .. Some one can send me a code example to solve this problem? K.R Alex
Hello, I am wondering if the creation of an EA is possible without knowing the source code of an indicator
Here is the thing...I was wondering there is such thing on the market like a simple equity protector t will cut trades at certain percentage drawdown however it only applies to manual trades and most importantly is there such way that would not only cancel all running trades but forbid you from
Hi :) I need EA where i set SL only for Buy or SELL position? Could You tell me, is it possible? Mebay You know where i find this Auto SL EA
The back-testing in strategy tester closes any open trades at the end of the test period. Is there a way that we can change this setting or do something in coding to achieve that the tester does not close the open trades at the end of testing period
[Deleted]
Hello, I am trying to input my EA into the mql5 market. My lotsize parameter is fixed as 0.01 lot size. However, it could not be validated for the market. When I try a higher fixed lotsize as 2.00 lotsize, it could be validated. I want to publish my EA with a fixed lotsize as 0.01. How can I do
hi, I have this ea installed and using on standard settings. i use ic markets to trade - the minimum lot size for us30 is 1.00. when i change the lot size in the settings from the default 0.01 to 1.0 its not picking it up and the bot will not trade. picture attached. <image deleted>
Hi, i am trying to create a script which would close a position when a specified profit is met. so far i have had zero luck at all. Currently i am using the below code to test out. I can compile it fine with 1 warning, but it doesn't work.... ( i understand that if successful this would close all
I have a solid set of MQL5 code and I finally have the ordering right but I'm getting a lot of the '10004' message for the trade result. I know that this is listed as " requote " in the manuals but what exactly does that mean? I have tried re-submitting my requoted orders and it usually results in
Hi all, I would like to test neural network targeting pattern recognition (e.g. head and shoulder) using python. Could you guide me to specific topics, I have tried searching but unable to find what i need. I am almost sure some ppl have tried this. I want to feed the code specific patterns, and
Is it possible to create an EA (pips counter) based on the trend when trend is bearish and bullish
Hello everybody, I'm dealing with hundreds of series that have approximately the same % of increase in a given time, but they all differ in terms of linearity. To make it clear, I attached an image here. The blue line represents the ideal series, the green line the worst, the red line the average. I
"Why should my newly created MT5 EA perform differently on my terminal to my developer's terminal using the same login? It works perfectly on his" Developer = White background
I have found a good indicator on the mql5 marketplace but is it possible to create an expert advisor who trades on the signals of this indicator. Unfortunately I don't have the original script so I have to make do with the indicator bought on mql5 marketplace
Seriously guys... why? I have a complex EA and I can't manually write the Array rows and columns every fricking time. It would mean stopping the program and run it again for like 10 times. It is not possibile. I would like to pass those values in a function like this: void create_array( int rows
Hello everyone, I have started programming bot for traiding. I use Python IDLE for opening MQL5. Broker: TMS BROKERS. When i try to open a trade i recieve 10017 error: retcode=10017, comment='Trade disabled'. Algo Traiding is ON in MQL5. Tools -> Options -> Strategies -> Allow Algo Traiding - this
Hello, I'm new to this, but I'm looking for how I can create an EA that allows me to put these parameters, or if someone likes to share one, I would appreciate it
I am trying to control my MT5 accounts with Python/MetaTrader5 programs. I have the following order request and its values in Python dictionary format. request = { "action": mt5. TRADE_ACTION_DEAL , "symbol": symbol, "volume": volume, "type": action_type
hi, could you tell me why this code is not opening any positions? #define EMA_MAGIC 123452413534876 //--- #include <Trade\Trade.mqh> #include <Trade\SymbolInfo.mqh> #include <Trade\PositionInfo.mqh> #include <Trade\AccountInfo.mqh> //--- input double InpLots = 0.01 ; // Lots input int
Hi everyone. I' programming my own EA which opens a lot of positions on the same instrument. So far so good, but now I have trouble identifying which pairs belong together, I mean which closing position belongs to which opening position. I can add a comment when opening a position, but I can't find
Hiya, Looking to convert my CFD EA to be suitable for my spreadbetting account & was wondering if there is new terminology required elsewhere in the code or is it simply changing the lot size to £ per pip calculation? Feel like I'm missing something. Trying to write the spec now. Thanks for any
Hi, I use CustomTicksAdd to create ticks from external maket data source via a MT5 service, I checked ticks on the custom symbol chart is perfect compare to external maket data source, but I print out custom symbol tick and EA OnTick at the same time, found sometime EA OnTick is very old tick
Hi, I wanted to know if its possible that the EA wait the reversal before re placing another trade if my Buy Signal is when CCI is over 100 And Sell Signal is when CCI is below =100 Example When the CCI will hit 100, my EA will place an Buy Trade But i dont want it after it hit the SL or TP that
#property copyright "Copyright 2022, MetaQuotes Ltd." #property link "https://www.mql5.com" #property version "1.00" void OnStart () { //--- MqlTradeResult result={}; MqlTradeRequest request={}; request.action= TRADE_ACTION_DEAL ; request.symbol= Symbol (); request.type=

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.