Hello I'm looking for a script that meets the following condition: When the pre-set price level is reached, a pending order is automatically placed. The entrance of the pending order must be at a distance from the reached level. The distance is set via the script settings
Hello, I've downloaded this indicator (support and resistance levels) here: But In my EA, I can't get any value from the 8 buffers, in DISTANCES, or LEVELS. Even with #property indicator_buffers 8 WHat Am I missing? I'm learning MQL5, so any help is welcome. Thanks for your time
In many programs (CGQ Desktop, Ninja, Sierra etc) a functionality is offered for Continuous contracts called 'Ajustment'. This does not exist in MT5. I would like to write this myself. My idea would be to modify the @DD history. Based on the data for DDM21, DDU21, DDZ21 etc. or simply by adjusting
So I just made a robot quickly to try for trading ETH/USD and I did some backtesting but the robot only trade during the week. I'm currently able to trade ETH/USD on the weekend by myself but my bot is not able to start trading during the weekend. Does anyone knows how to enable a bot to trade
Hello! Am working on an EA and I wanted to alternate orders. I have failed to make it possible. I want to check if previous trade was BUY the next trade should be it's opposite and vise versa. Help will be much appreciated folks
An experienced Algotrader recently told me that "I am in this business for many years, and I have never seen any strategy as an EA that works well for a long period without martingale"
anyone knows where to find one thank you
Good morning, colleagues, the title of my topic is deliberately provocative. The question I want to submit is this: I’m backtesting an EA on MT5 with real tick data provided by my broker IC Markets. I checked and the real tick history of the broker IC Markets is only one year. If I extend the
Hello happy people, I want to use points to set tp and sl instead of price. I intend modifying my trade tp and sl with point instead of price number inside an OBJ_EDIT. for example just like modifying a 30 point tp in an active trade and the price number is automatically set. Any help with the
I was able to make 2 options.. enum cnd{ AND= 0 , //AND OR= 1 , //OR }; input cnd Condition= AND; //Condition if (Condition==AND) { if (signal1() && signal2()) entry= true ; } else { if (signal1() || signal2()) entry= true ; } i have no idea to make multiple input
Hi I wrote an ea and in that ea, I used an indicator which I bought from the market. when I want to backtest my strategy in mql5, if I check the visualization box everything is fine and works perfectly But if I don't check the visualization box ea won't work and do not open an order and it won't...
I am on a PC and want to move about 60 EAs from one MT5 terminal from one PC to the MT5 terminal of another. Is there a way to copy the EAs and also have them open and be set on all new chart windows on another much faster? The obvious solution is to copy the EAs and set them on the charts one by
[Deleted]
We've been running optimizations for some time now and noticed that Pass column started to contain floating point values instead of whole numbers representing an actual pass index. Why is it happening and what is the meaning of such value
Can someone please help me create an EA based on my strategy or point me in the right direction?
(2)
I am looking to code my strategy in the form of an EA - I have limited knowledge with regards to coding in general and I recently started working full-time within the NHS and do not have the time to trade my strategy, hence why I am seeking help. I have found a free EA within MQL5 and I have taken
Hi guys! I have a problem with my EA code. In my code I create and delete objects many times. so when I test it , It's blinking too much. Is there a way to fix it?
Hello, is it possible to use an allready existing indicator for an expert advisor without having the sourcecode (its not a default mt5 indicator)
Hello. I'm optimizing an expert advisor. I'm optimizing a very specific parameter. However, to choose the best option to this parameter, I need to know how much is the average loss for each test. MT5 Strategy tester only display these fields: Profit Total Trades Profit factor Expected Payoff
Hi all, This is my first attempt in a very long time at writing an EA. In summary my EA should execute a Buy/Sell if the 1- and 20 EMA has crossed in the previous 10 candles and at the point when the price crosses the 200 EMA. I've done my best so far but when back testing does not pick anything up
[Deleted]
Does any one know how i can loop around all object that are hLine find the nearest line to it and declare it a zone . Like this example first picture below: And On the second picture shows how would i detect lines that are too close to each other like this example: Purpose being so i can average out
MQL5 validation gives me this result, does anyone know why or how can I correct it? test on EURUSD, H1 (netting) 2019.05.03 10:00:00 failed instant sell 1.4 EURGBP at 0.85750, close # 6 buy 1.4 EURGBP 0.85734 [Modification failed due to order or position being close to market] 2019.06.05 03:00:00
Make EA stop executing orders if the latest OrderOpenPrice is less than XX number of points. (MQL
(5)
I'm trying to stop my EA from executing orders if the latest order open price is less than number of points, As far as I know, I have to identify the Order open price of the latest order, Please help
Hi there! How to detect a new bar in RENKO chart? How to programming this in MQL5 to Metatrader 5? Thank you. -- Cristiano Magalhaes
Hi guys, when I test the first part of the code I sometimes get zero divide errors. I'm aware this happens when a candlestick doesn't have any wicks. Looked online but couldn't find a clear solution. double CalculateUpperWick() { if (BullishCandlestick() == true ) { UpperWick
Hi, Very new to coding and am writing up EA that requires a stop loss to be placed at the highest price between the lastest stochastic cross (buy signal) and the previous stochastic cross. Below is the code for reference. Any help or push in the right direction would be greatly appreciated. Cheers
Hello MQL5 developer team or to whom it may concern, to see the problem, under any recent version of Metatrader 5 launch the MQL5 script inside of the attached ZIP-file, setting breakpoints at lines 69 and 114050 (almost at the bottom of the file). Try observing the variables (especially pComplete
[Deleted]
Hi everyone, I don’t want the code or anything else, I would just want to know if it’s possibile to get automatically the backtest result when I load my EA to a chart. For example, I’ve the trading chart of EURUSD currently open, now I insert my EA, the first thing EA would do is give me a message
Hi there, for quite a while I was using market depth info in my EA on a demo account . Suddenly (maybe an update of MT5 platform) I can't anymore, unless it's window is manually opened in the MT5. The code to get the market depth goes like MqlBookInfo priceArray[]; bool getBook= MarketBookGet (
If an EA is removed from the Market, is it still possible for me to use the rest of my remaining activations
I have a CAppDialog with some control on it, like RadioGroup. It does not work at all on strategy tester. If I use normal Button that is created by CreateObject(), so I can find it and set or get value from it. But CAppDialog radiogroup is not accessible. Is there any way to solve this problem
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.