Hi, I have done a mistake. I've assigned a signal to an ICMarkets account but th esignal is to assign to a FBS account. Can I move the signal to the correct account ? I didn't found how to do it in MT4. Thanks
I am looking for an expert / utility that will allow me to input 4 Targets for taking profit . When price reaches first TP, i need it to move stop loss to break even. Also Each TP level it hits, I only want to close half lots each time. What is out there that is the easiest / best?
I am copying a signal. The equity is €996 and I have tried to migrate the signal with equity stop levels at €250, €50 and now €1. The VPS journal keeps saying the signal is stopped because the equity is below the allowed value. Even without any trades open. What am I doing wrong?
Hi, it's been a month i'm stuck with this problem. I found nowhere on Internet how to set up a hidden trailing stop so i tried to code it myself. there is an error in my code. here is my bot:...
Hello dear Community, I would like to program an EA that gives me a maximum Lotsize per day. If I am allowed to set 0.1 Lot per day, then 10 Trades x 0.01 Lot can be set. Or just 0.1 lot. So that i cant overtrade! Should normally be a very small code and not difficult but I am unfortunately not a...
Hi, Is that possible to include TF as a parameter to my ea? It enter when rsi = x and price is out of keltner, leave when rsi = y. What make me think it can't is that : datetime lastCandle = 0; If I use a tf different from the "analyzed" it will try to use a candle as datatime and may not function.....
Hi, My ea is sometimes triggering "Invalid Stops". I believe that's why it calculate the stop value based on my medium price, and in Brazil's index, price always end with 0 or 5. And the Error only appears when finishing with 1,2,3,4,6,7,8 and 9. What should i go to avoid that? Thanks!
Just margin by itself does not count in the stoploss and fees so given enough market positions there will eventually be a stopout. There should be a formula to check free margin based on this for a new position with stoploss and fees. Calculating margin in such a way predicts the outlook of a margin...
Hi everybody, I am developing my first EA and maybe some of you could help me. What I want to do is quite simple but I dont know how to write itin mql5. I just want to get the latest price as quickly as possible (here every 16ms for example). This my current code : input int shift=0; void...
Hi this is a snippet, executed on ChartEvent click event : double SL_price=0, TP_price=0;bool SL_retrieved = ObjectGetDouble(0, "UTA_SL_LINE", OBJPROP_PRICE, 0, SL_price);bool TP_retrieved = ObjectGetDouble(0, "UTA_TP_LINE", OBJPROP_PRICE, 0, TP_price);if(SL_retrieved &&...
Hi all, Thanks for looking at this thread. I recently purchased 3 months MetaTrader server time but I am having problem migrating my EAs. I get the error that my arrays are out of range when the EAs are on the server. However, when I add it to my local system I don't have any errors and the EA...
Hi, I wonder if it posible to run 2 signal? Maybe on the same account? Or should I have 2 accounts with 2 VPS? Many thanks
Hi everyone, I run some backtests for some assets a few months ago with mt5 build 1940. When i run the same tests with same EA and parameters using the same brokers in a newer build (1978) i get different results for some of the assets. More specifically i run backtests with these assets: AUDUSD,...
What is the best time period (like 3 months, 6 months or one year) for optimizing an EA according to the current market conditions? EA may be a scalping EA, a medium term trading EA or long term..
Hi, I've written an Expert that contains a few graphical buttons to enable me to change certain trading parameters "on-the-fly". I then want to be able to press these buttons during a Strategy Tester - Visual Tester mode session. According to the documentation in https://www.mql5...
hi fellow trader, need help for some source code here l build an EA, I wish it will open one trade position a day the problem is the EA cannot open another position on next day if the previous opened trade not cleared yet i wish this will always open a new trade position once a day regardless the...
Is there a way to detect new bar with iBar function? Common methods for this purpose use time functions.
Catching Gaps 2019 - mql4 -> mql5 ?! I am looking for EA to Catching Gaps. Stock, Forex. mql4 exists: https://www.mql5.com/en/code/11199 is missing mql5 or C # calgo ?!
Hello dear programmers, Anybody know some updates library for implement an EA based on Neural Networks ? Thank you
I have recently bought a hampster ea of the mql5 market place which is fine but i am having trouble registering it coz i cant provide the right right picture with the right amount of pixles. When I use an editor it rejects the photo coz its been enhanced by a third party. Anyone got any ideas of...
I am looking for EA with opening and closing positions when return to 20, 50, 80 level Stochastic , RSI etc. Is this code? Regards
[Deleted]
Good Afternoon,
I have multiple EAs runningin different accounts (demo/real) with no problem.
Specifically in oneaccount, the EA is giving me this error mentioned on the subject.
Any clue ? I did not findany comprehensive information regarding this error. Only generic information.
Regards,
MRC
Hi coders I need to plot values from an EA onto a chart , It is a very complicated EA , and I want to do this for troubleshooting purposes , I have multiple signal setups and need to validate the signals/indicators 'look' correct visually [ie if signal1 is true plot arrow , if signal 2 is correct
Hi everyone. This is my first time posting anything, so please forgive my ignorance about conduct and format and such. I have combined some indicators on the same indicator window below my chart. I was wondering if there was a way to view the code for that window so that I can save it as and...
Hi guys, I have written an EA in MQL5 that uses the ICustom function for some backtesting and noticed that there are differences between the indicator when I attach it on the chart and when I run it on visual backtest. I have attached the indicator below. I was wondering if you had any experiences...
Hello everybody! I have a small problem, which I urgently need a solution: I currently use a signal in which the TP is not optimally matched, but still every trade always is positive, but it just closes too late. Here is an example: (it starts at about -5 €, and then it rises to about 20 € in...
Hi guys, I found this error while running a backtesting on below code. Just wondering anyone could give me a generous comment! Thank you so much !! void OnTick(){ if(zigzag_Trend()==1) Print("HH HL"); if(zigzag_Trend()==2) Print("LH LL");}int zigzag_Trend(){ double Points = MarketInfo...
Hi everybody, currently I am copying a signal here on MQL5. I would like to use an Utility / EA that automatically opens more positions when the price is going against the position that the signal provider opened. For example if the signal provider opens a buy trade and the price goes down 5 pips I...
Good night, We're in 2 friends, trying to cede processing to a single CPU. After adding the external IP (they are not in local network) and the doors, with password and to start the backtetest, it appears: Authorization on still connected agent. Connection closed. My PC is selling cloud processing...
Dear developers, I get two errors on the following scenarios during test of cci_ma_ea_corrected.mq5 (attached) : Platform: PC: OS Windows 8.1 MT5: MT 5.0 Build 1966 1)Using Local agents: During the test the results are zeros and the journal has text(detailed extract is attached): EO 0 00:00...

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.