Hi all. I am getting crazy with this issue. I have a MT5 EA using the native MT5 Heiken Ashi indicator. It just displays the values of open, high, low, close of the current Heiken Ashi candle. When applying the EA to a graph which has the indicator applied, values printed by the EA do match the one...
Hi, I'm new to the editor, and I wanted to create a EA. I've seen how to build an EA but I didn't want the EA to open and close positions for me, I only wanted it to highlight a potential setup based on my strategy so I do not have to spend all day at the screens, is this possible? I prefer to take...
Hello, I'm trying to create my first EA ... but I crashed during the tests! Apparently, I'm create the "Order"... but they are not initialized! They appear on the chart, but do not close, do not profit or hurt. I attached a printscreen, log and my code. Can you help me? Log: 00:00:00...
hello please i need to advise I want to use the basic moving average which is in MT4 on a test log with 0.1 Lot great results, but I can not run it on a real account with Lot 0.01. Can you help me how to run it? Thank you
I am building an indicator that I want to be full-screen. The underlying price-bars do not matter because this is multi-currency. I am able to size the window dynamically using the following code, and it works, but it feels "ugly" to me. int OnInit () { const int MAIN_WINDOW = 0 ;
Hi, I would like to get as much information on copy trading on MQL5. I have an EA which I would like to share with my group and want them to copy trade. Is copy trading available for mql5? if it is available how do I go about this? Also I see that there is a "SIGNALS" tabs, what is the use of...
Recently subscribed to a signal that I like but having problems with the correct number of lots being traded. On signal history it starts out with .10 with a $5000.00 Deposit and after the first 11 profitable trades of $10.00 each it jumps to .30 lot. My account has $10000.00 in it and traded the
Dear Trader... I m now trading 2 years cdf etc and trying to build up an ea on mt4. As its not that simple im making progress... I have a question about backtest and your experience! I heard that mt4 backtests, usually are not very reliable cause of tick data spread and slippage and everything more...
My question is that. How, if it's possible, to use python code with MQL5, for algorithimic trading? Becouse I want to use some Python librarys to make a robot. If it is possible, is there any article about it? But if you just point me the way it would be vry helpful. thx.
It's been a while, but I'm back trading again. There is something that I need to get done before I can start. I need to calculate indicator values for every symbol that is loaded. My code currently looks as follows to calculate the ATR< however the ATR CopyBuffer returns -1. Any idea what I'm...
Who can help me? I want to make an EA, but i cant code, please hepl me I have an indicator and my stratergy is very simple. If two lines are red, set one oder Sell, TP = SL =60pips If two lines are green, set one oder Buy, TP = SL =60pips If one is red, one is green, Close all and wait untill they...
Why doesn't my EA work well? Although I have followed every instruction from my downloaded EA, it's still bad in backtesting result. In its website shows good backtesting result and it can give big profit from small deposit.
My broker says the trading server setting is done by MT company. The code is too long. Just this open-more-trades-than-code, does anyone encounter
I am using OANDA's version of MetaTrader. I am coding an EA that requires real-time access to Oanda's Margin Requirements Rates.These rates are located here: https://www.oanda.com/resources/legal/canada/legal/margin-rates. How might I access these rates in real-time? Is there a function already...
Hi Everyone, The Developer of the indicator i'm using can't make me an EA right now. So i want to know if another person can use THIS INDICATOR to make an EA. It's an closed code Indicator. What i'll request from this indicator is simple : Direction of the channel (if it's going up or going down)....
My EA opening trades does not based on bars or other indicators. I just open trades which are in my EA settings, like : eurusd,usdjpy,audusd,usdcad,eurchf and trade direction for each. It should open 1 trade for each symbol I set. In the Demo account and backtesting (every tick and random delay...
Is it possible: With predefined stop-loss levels for buy and sell orders, risk per trade, etc. to somehow use voice commands with words "sell", "buy", "close half", "close all" where EA would then execute the trades? Can EA be connected with speech recognition apps or something similar?
Hi - I put a request in for programming but haven't had any response yet, so I just want to know if this is possible in metatrader 4: 1. I want to enter a buy or sell order at a specifi price level 2. I only want the order or trade to trigger if price is outside the Bollibands when it hits my level....
Hi there. to assist my automated trading via EA-s in MT5 I would need a database in which/from which I could read/write data using mql code. I've seen some posts explaining how to connect MT5 with MySql, have tried that, but it's a bit difficult, while writes to DB are straight forward, reads from
Hi, ------------------------------------------------------- Question 1: somewhere inside position-managing parts of my EA, i need to close an open position. Since I have the ticket of that position, I can easily close it using standard class function Ctrade bool RES = PositionClose(ticket,...
What is the cause, how to remove this ? JS 2 00 : 07 : 19.699 Core 1 2017.06 . 01 00 : 02 : 00 failed instant buy 2.20 EURUSD at 1.12470 [Trade disabled] QM 0 00 : 07 : 19.699 Core 1 2017.06 . 01 00 : 02 : 00 #error: strategy24.mq5::place_order. code= 4756 bar=
after clicking download on the expert that I want, MT5 opens up, but nothing happens. mql5.com is added under the experts tab in the options menu... What now?
Hello, I have an EA written in mql5, everything works properly in both live trading and strategy tester. However some times when trying to update local buffers of the indicators the ea is dependent on, it turns an error 4116. This is totally strange to me as all the indicators were attached to the...
Here is the indicator which is returning the time remaining for the new bar: //+------------------------------------------------------------------+//| CandleTimeStationary|//| |//|...
Hi, I try to use a CandleTrail function on a simple MAcross system and it works but I have many [Invalid stops] errors and I don't know why. Can someone help me fix this problem?
Hi all, I'm using the CTrade class to place a pending order and retrieve the executed price when the order gets executed, however I keep getting a value of 0. This is the MqlTradeResult I get : MqlTradeResult{ retcode:10009 deal:0 order:2 volume:1.47 price:0.0 bid:11766.129999999999199645 ask:11767...
Hi, I am trying to learn about Expert Advisory strategy tester. Just as a test I would like to calculate if I opened a position above the 200MA and then closed it when it closed below again or at say 50 pips and again for the opposite. Can anyone assist me in getting this to work on EA Strategy...
Hello Everyone, I'm developing my first EA. I got to write one, and it works perfectly well on the strategy tester. My EA does the following: I specify a pair of currencies, say currency1 and currency2. When it starts, the EA buys immediately the currency1. Afterwards, it checks the conditions A &...
I am trying to create a simple indicator on Mql5 but i get an ERROR when i compile it... Could anyone help me please? int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[], const double &open[], const...
Hello, why when I connect the mt5 to the Metaquotes server is deleted the personal data history present in the folder Custom \ Symbol \ Ticks? Thanks for the reply
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.