Hello, I have used the metaeditor 5 to create an EA, I can't code, the EA works well but I would like to be able to limit it to trading in only one direction based in my bias to where the markets headed Could someone please advise me on what I would need to put into the existing code to make that
I got this message when I rent virtual platform in the another VPS IN MICROSOFT WINDOWS, also this masseg is come when I clos platform and open it again with the virtual platform is! workink on ”You want to trade 0.0 lot, but your broker's minimum is 0.01 lot. The trade/order will continue with
Hi I wish to find the most efficient way to perform this in MT5. The way I am looking is to check every x seconds(eg 5) and record the prices of every symbol I selected from a single chart EA. The problems with that are obvious. - I will miss any ticks that occurred during those x seconds in each
Hello I'm facing a problem, and I need some help. I'm trying to code this feature: "Split up trade into X smaller trades " i.e the user can set 1 standart lot and set 5 to this parameter. (In this case, the ea should open 5 trades with 0.20 lot size) This the code i wrote void getSplittedVolume(
I bought <Deleted>, but he never replied to my questions. Who can provide a correct setting parameter? Thank you
Hello friends, I have an EA that ive been developing without major hitches. however it has suddenly become extremely slow - that is from today morning. After several tests, i realized that its working well in one of the computers i use. On further checking i realised that the computer has one of the
Hi, First, I do a couple of csv files for different magic numbers in this EA. (3 different) I then call FTP function to send this to my FTP. The first goes well and lands at FTP. Second I get an errormessage "FTP: change directory failed [path in settings] Third csv goes well and lands at FTP. I
Who has found a profitable EA on MQL5 that they could recommend? I don't know any and it's not for lack of having bought some, some at 500 euros... Or only those who sell their rotten robots here make money
I need someone to help me turn this free code (( EA )) auto tradinig ..just simply..adding..one thing..every time price go up or down ( +-)( 10 )(points)..it starts ...(( puting orders )).. and of course if we can test it in tester ...will be great.... https://www.mql5.com/en/code/223
Hi all, I’m trying to add something to my EA that will look at the account, and then understand the amounts that have been deposited into the account and withdrawn from the account . I’m trying to work out whether this comes from DEAL_TYPE_CREDIT, but then if it does, which value is it? I’ve
[Deleted]
When i use; int LC = ( iLowest ( NULL , 0 , MODE_LOW , 400 , 1 )); I'm getting small values and not something within Price range of 400 bars. has anybody been through this problem
Hello everyone, I am a developer. My EA often encounters slippage problems in the market, especially when the lot is large. I try to set filling type to solves this but it doesn't seem to work. I'm looking for some answers : 1. can anyone effectively apply IOC, FOK and return filling types? 2. does
Dear Forum Members I have issue with Strategy Tester , which I noticed recently while running the tester. It shows Balance 5200 Pips Profit 0 Equity 5200. Now even my Max SL (USD 50) calculated using Optimum Lot size is also showing very high figure of (USD -401). I have checked my code and it still
Hi friends i need help i make ea i want lock this only for tester run plz help me
Hello everybody, I'm programming an Expert Advisor which work with ichimoku. I want to wrire a function() which deliver me the precedent flat of Kijunsen. Is there anybody who can help me ? Thank you very much
Hi, My doubt is if I load my ea script to a VPS to trade forex markets, will the VPS company find easy access to my script or my ea? will they e able to copy it? If Yes, any solutions to hwo I protect it
Hello developers I want to know if there's a way to change chart profiles by ID programmatically for MT5 i have the source for mt4 this is part of my mt4 code #include <WinUser32.mqh> #import "user32.dll" int GetAncestor( int , int ); #import main =GetAncestor(WindowHandle( Symbol (), Period ())
hello guys I'm using an EA shockbar 1.1 and i want to add a feature to it that make the EA set the lot size automatically based on the number of positions for example: the the first position will be 0.04 and the second will be 0.03 third will be 0.02 and all positions after that will be 0.01 until
Hi there community, I'm trying to get Symbol Profit values from the loop. Made this way: double TotalProfit= 0 ; int LongPos= 0 ,ShortPos= 0 ; double SProfit= 0 ,SLoss= 0 ; double Positive= 0 ,Negative= 0 ; for ( int i= 0 ;i< PositionsTotal ();i++){ ulong
Hello friends I need an EA modify and close all position There are illustrations, examples, and sketches SL and TP are edited directly in position Anyone who can do it can inbox or pm me thanks Example image link for EA and features
Hello, I am using the following function within my EA to only open trades at the start of a new bar if the entry criteria are met. //+------------------------------------------------------------------+ bool new_bar( ENUM_TIMEFRAMES timeframe) { //--- memorize the time of opening of the last bar in
Hi, I am interested in the possibility of giving trading orders(T/P and stop to existing order or new entry order, maybe OCO order possibility) with the use of EA where I would manually specify levels for the order to execute. Does such EA already exists already(a question for somebody that knows
Hi I'm trying to make my spread filter work again, as it was working perfectly before and now it isn't and for the life of me I can't figure out why. In my trading routine I check for low spreads : double maxSpread = 0.4 ; int spread = SymbolInfoInteger (pair, SYMBOL_SPREAD ); if (spread <=
hi, functions : CopySpread() and iSpread return the spread value of bars. What's definition of spread for BARs ?!!! (as compared to tick spread) Spread at any tick = Ask - Bid. Ask and Bid can change each tick, and bars are accumulations of ticks. so spread of bar is first spread of ticks of that...
Hello, according to the MQL5 documentation it should be possible to determine whether an account is under the netting or hedging mode the following way: AccountInfoString(ACCOUNT_MARGIN_MODE_RETAIL_NETTING); Unfortunately this only produces a compilation error — any ideas, please
Hi everyone. I'm using the StopsLevel() and FreezeLevel() methods of the CSymbolInfo class to help calculate the minimum stop-level for an open position. I'm getting 40pips returned in StopsLevel() for EURUSD so I'm subtracting 0.0004 from the ASK price before placing a BUY order. My problem is that
Hi, I would like to know is any EA can help to close + disable auto trading when reach certain amount $ / % in equity? On the internet I found a few but I don't know how it choose the starting equity balance to calculate. I hope to have option to choose using what time of Equity (E.g. everyday start
Hello, Any ideas why my EA gets slowly over time when backtesting ? CPU runs on 25% ram 280MB. I am Running the EA each minute. The variable are initialize before getting into the loop, there are approx 100 variables. int Check_Candles[ 3 ]; I have a loop that is executed three times, based on
hi everyone, i'm new to programming and i need your help. I needed an ea to start studying the nature of the financial instrument, so I established these rules: - every day marks the high and low of the current day - we will use smaller timeframes for the visualization but we will refer to the high
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.