I am trying to open 2 buy and 2 sell at once after void tick. 1st buy and sell has one step TP. 2nd buy and sell has 2 step TP. When 1st buy hits TP, that, market moves 1 step up, TP of 2 sells must move one step up, not to one place, but one step from their own previous TP level. Question is how to
Hi All, I hope all is well? So, I am looking to get in to Autotrading, with an algorithmic robot which trades for me (and hopefully is consistently profitable). I'm a Mac user on MT5 (or could downgrade to MT4), and I wondered if there are any recommendations for a Mac user for something that fits
Hello Traders, Developers, I am looking for an expert advisor for MT5, which closes at RSI ( Typical price , Period 8) on H1 or H4 after opening a manual trade. Unfortunately I am not a programmer and what I found on the net are mainly focusing on opening a trade based on RSI. For me, all I need is
i've been using high frequency trading strategy [redacted] . that strategy works during new york session and i saw some taders trading account bannd by thier broker what i wanna know is doing high frequency trading will banned my account too
Maybe I am not using the right search terms in google or on this forum (if so, please enlighten me so I can find the golden key). I cannot find easy solutions to aligning my timezone with my broker's timezone in the strategy tester ... and take into account DST. So, I kludged my way through it as
I have an EA which works fine in back testing and Demo mode but on my real [redacted] doesn't take any trade what can be the issue
Hi I made a trading robot with python that uses metatrader5 module to interact with MT5. But the problem rises when I backtest the strategy on different accounts and the results come totally different. Is there a way I can fix that
what is the equal of this mql4 code in mql5 : double PointValuePerLot( string pair= "" ) { if (pair == "" ) pair = Symbol (); return ( MarketInfo(pair, MODE_TICKVALUE)/ MarketInfo(pair, MODE_TICKSIZE) ); // Not Point. }
Hello everybody, I have a code like below. I want to add something to this code but I couldn't. Can you help me. I want to do the following: This code sends 22 orders at the beginning. The TP and SL points of these orders are certain. When the market starts trading, I want to open a new transaction
Hi, my understanding of logic regarding this event is, that it is sent when the chart changes. But it does not in many circumstances in MT5: 1. User changes the scale from normal to fixed scale 2. When bars are growing and exceed the current price scale 3. When the scaling (zoom) is changed These
I am looking for a bot that can send my metatrader trades directly to my signal channel. With clear text that gives my entry sl and tp
I have strange issue. I have this code: #include <Trade\Trade.mqh> CTrade trade; CPositionInfo pos; COrderInfo ord; trade.Sell(0.01, _Symbol, 0, 0, 0, "Test SELL"); // I open sell somewhere in my code, then call myFunct() below to read that void myFunct() { for ( int i = PositionsTotal
Hello folks, I was running a very large cloud optimization and in the middle of it, windows rebooted. Is there any way to see the previous results or do I have to start from scratch again and pay the $$$ :( :( Thnx
Hello, I often encounter errors. How do I get to the bottom of this and find the source of the issue for my Python scripts? 12-12-2024 23:45:27 (-10001, 'IPC send failed') 12-12-2024 23:45:04 Failed receiving rates. Reason: (-10004, 'No IPC connection') 12-12-2024 23:30:03 Failed receiving rates
Hello everyone, Could you please help me resolve this error? The MQL5 checker displays the message: "Cannot load custom indicator...". However, both the indicator and the strategy work perfectly on demo and real accounts. Here’s the indicator path I’m using: #resource "\\Indicators\\Dynamic
Hi, when I see samples of how people use the CCanvas class, Im always surprised. When I use the class, I have to work asynchronously all the time since it is simply way too slow and I don`t know why. This little piece of code, which does not more than painting 3 times a text, needs between 0.3 and
Hello. Terminal is restarting periodically. So, LastOrderPrice is loosing. I want that when LastOrderPrice is lost because of restarting terminal and if OpenPosition >0, LastOrderPrice must be equal to the LastTicketPrice. Who can help me? the problem is the last ticket may be either in Open
Hello, Wouldn't it be better if the values of SYMBOL_FILLING_* and ORDER_FILLING_* were consistent? Or adding SYMBOL_FILLING_* to the python library and adding integer values on ORDER_FILLING_* SYMBOL_FILLING_*(not exist in Python): SYMBOL_FILLING_FOK 1 SYMBOL_FILLING_IOC 2 SYMBOL_FILLING_BOC 4
ichiHandle= iIchimoku ( NULL , 0 ,tenkan_sen,kijun_sen,senkou_span_b); ///////////////////////////////////// double GetIchi( const int buffer, const int index) { double Ichimoku[ 1 ]; ResetLastError (); if ( CopyBuffer (ichiHandle,buffer,index, 1 ,Ichimoku)< 0 ) { return ( 0.0 );
Hello everyone, I am trying to display indicators in a timeframe different from the chart's timeframe where the EA is running. For example, the following code works: int ma1Handle = iMA ( Symbol (), PERIOD_CURRENT , ma1_period, ma1_shift, ma1_method, ma1_applied_price); However, if I replace
Any security considerations if MQL would provide SocketListen() and SocketAccept() functions ? IMHO surely not more than manually allowing usage of DLL in EA / Service. Maybe a list of allowed listening ports would be a good security precaution ? Hopefully these functions could be added in the near
Hello everyone! Can anyone explain how to read messages from your own telegram channel? There is a bot connected as an admin to this channel, but I can't extract the text of the message. Please, help me. I tried this, it doesn't work: for ( int i= 0 ; i<m_chats.Total(); i++) {
I want to set the Magic Number in my robots in Metatrader 5 (MQL5). In MQL4 was easy, on OrderSend() I just put the Magic number in order to identify what orders are from each expert advisors (I want to use several different robots, and each robot can only close the positions the same robot open
Hello every one. I'm iniciant in mql5, I have a indicator that I do and now I want create a EA for work with indicator. This is very simple because I am a iniciant I'm testing this EA, but I think that the values of buffers are not actualized when I am using the EA. If you try ut just the indicator
Hello! I have created a panel and on the panel I have placed several other objects( buttons etc). When I place this panel on the chart it will go on top of other objects that are already on that chart. But If I add another object, for example like a vertical line, it will go on top of this panel. (
[Deleted]
Buy Signal: Entry Condition : The first candle is below the EMA-5, with its high point not touching the EMA line. This candle becomes the alert candle. The second candle breaks the alert candle, signaling the buy entry. Sell Signal: Entry Condition : The first candle is above the EMA-5, with its
Hello all, i have a small question i dont understand. As above mention subject, my computer is 24hrs on already how come i still no see auto trading at all? Everything is set up Algo trading is on, the setting for trade all this is done follow by the user set up.. ONLY VPS is not set up.. Previously
Hi everyone, I'm currently learning some python and I've decided I'm going to try and create some of my own walk forward and monte carlo testing programs using some of the existing python libraries already available. I was just wondering if anyone has done this before and if they have any advice? As
Where am I going wrong... Here is my Python code which interacts with the MetaTrader5 API. import numpy as np import MetaTrader5 as mt5 import pandas as pd from sklearn.preprocessing import MinMaxScaler from keras.models import Sequential from keras.layers import Dense import time from keras.utils
Hi, My EA's been automatically removed in mt5 vps in 2 consecutive days. I set it up ok in the mt5 vps, which shows 1 chart and 1 EA. But after few hours, the EA is auto removed from the mt5 vps. In the log, there's only 1 line shows the EA is removed, nothing else. I use a prop firm
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.