I bought an EA, it was designed to have an automatic SL and TP. However, when I tried to alter the SL/TP manually, the EA corrects it after. It was a good EA, but the SL are too far, which is too risky for me. So I am looking for some help, or whether the mql5 market has the solutions
Guys I have no ideia why I cant make this simple operation in my EA code work. I first tried to compare the doubles of both prices but I realized that there is something tricky about comparing doubles so I decided to apply some math instead but still cant make it work. Please Help. double H3 =
Hello everyone, I have an protected indicator which I cannot find its output number to import it in my EA. It shows some number in a graphic window but it seems it has no output. I usually see indicator's numbers in Data window but it has no number shown in it(attached photo). I also try every
Hi there, I am trying to test simplest EA which only buy's a stock at a specified price. But when I do strategy test, I get no result and seems there is a problem in my code. May you help me to know is my code a complete robot or what is the problem? Thanks in advanced!...
Hello everyone I am looking for semi automatic hedging EA that would open an opposite trade (after I manually initiate one) that opposit trade would be pending order with double or triple the original trade size (could be designated in the parameter) and far from the original trade by number of pips
Hey everybody, Which spread do you recommend when backtesting - current or a particular fixed number? I'm looking for a starting point that I can tweek later depending on the EA, parameter to be optimized (here I usually use profit maximum and maximum drawdown) and currency pair. Thanks! :)
Hi guys, I'm relatively new the world of MQL4 and can't seem to wrap my head around why my array won't work. It just simply isn't alerting me to the colour of the specified candle! Any ideas why this won't work? void OnStart () { int shift = 20 ; string candleColourArray[]; while (shift > 0 )
[Deleted]
Hi everyone I was wondering if when using the same EA in several different pairs, will I have to change the magic number for each one? In other words, each pair would have its magic number
Good morning, I'm looking for an Expert Advisor who works on the correlations between forex currencies. Can you give me directions please? Thanks. Peter
I dont understand the whole invalid stops thing. This is my code and output. Im using a multiplier of ATR added or deducted to ASK. if ( PositionsTotal ()== 0 ) // buy when candle is bullish if (PriceInfo[ 1 ].close > PriceInfo[ 1 ].open) { // buy trade.Buy(
//+------------------------------------------------------------------+ //| Strategy1.mq5 | //| UJE | //| udohjeremiah231@gmail.com |
Hi guyz, in my chart, i used the green color for bullish candles and red for bearish candles, so i need help getting the current opening candle colors to use with my EA but i dont seem to get a way to code it. i tried to use the chartgetinteger but it now working as i want it. Let assumne am in a 5m
Hi fellow traders.I am trying to write an Expert and saying under specific circumstances, place an order and take profit or stop loss. But sometimes it opens and closes under the same candle. And because in this candle the situations are still valid, it opens a new trade. How can I say if it already...
Hi I've done a lot of digging around and can't find anything similar to this - which may mean that either my understanding/coding ability isn't good enough (I'm a 'cut and paste' coder) or this isn't possible. What I'm doing is building an EA which uses a series of boolean to determine whether
Hi coders, Need to save set files of inputs parameters when remove it form chart and then load it. Is there any functions in MQL4 to save inputs param (.set files) upon deinitialize the EA and also apply the set file when I initilaize the
Having checked and seen no obvious lack of support other than for DLLs, I have just improved an EA to save some state information periodically to better handle a VPS server restarting unexpectedly On migrating it to VPS it gets a spurious error message saying it is using an obsolete ex5 format and
Hello dear MetaTrader Users, Can anyone please share the idea of using Machine Learning and Deep Learning in MQL5 Programming language to create EA for Chart Patterns and Backtest the results
Hi, Im after some advice please. I am using an EA which sets Buy Stops and Sell Stops, however when the price gets near the Buy and Sell Stops it seems to move so I cant actually take a trade? Is there a setting that can be changed to stop this? Thanks, Dave
Dear Programmers, Please I am still learning to code EA with MQL5 language however I wrote a code that involved selection of current order. There is no error when I run it but the implementation is different from my intention. My observation was that this code always referenced the first opened
I'm new and I'm trying to move forward. Please help me. 1) I want to open only 1 position for this signal using "void " but I couldn't. :( 2) I have more than one signal. and I have a separate close signal for each signal. So I think I need to record the magic number and I need to use this magic
Greetings fellow programmers; I recently have coded a bot to trade XAUUSD and it has a 90% win rate but the few bad trades it does get itself into it seems to hold on to them far too long and it is causing major draw down. How can i effectively show the bot that it is in a bad trade and either
Hi, it's a stop and reverse system, the moving average on the TR True range must be calculated: (high-low). + ------------------------------------------------- -------------------------------------------------- ------------- + Input: Lenght ( 1 ), numARTs ( 0.2 ); var : atrs, upper, lower, trueran;
//+------------------------------------------------------------------+ //| Input variables | //+------------------------------------------------------------------+ input int Stoploss = 50 , Takeprofit = 100 ; input double Tradevol = 0.1 ;
Hello All, I've got a system that I'm trading manually called MacFibo 1.2, just the main entry setup (created by Sufian Said) and featured in BabyPips. It seems to be playing along nicely on EURUSD H4. I'm using a selection of indicators to make the strategy a bit more automated. I can't seem to
I have several custom indicators that I like. They all work great when attached to a chart and do the job they were intended to...
I am new to the world of creating an Expert Advisor, I now want to build my own EA that trades the world based on my selection of custom indicators.
So... How do I...
Hello everyone, I was wondering if its possible to receive some of this events from Python code using the Python Integration . I've searched in the docs but found no clue of how to do it... In the case of not being possible, is there any way to redirect MQL5 events to trigger Python code? If so
Hi, I was hoping somebody might be able to help me please. Is it possible to create an EA that takes trades when a different pair moves in a certain direction which will then start a trade on another pair? For example say if EUR/USD moved up and a few minutes later another pair moved in the exact
Ehlo, I have created a network miner, which uses trading flow to find financial signs (trader[s] buy/sell signs). I have success of 83 % confirmed and 91 % not confirmed success rate. I need a [ wo /] man , possibly develop er or just an age nt which will direct me in using trade techno log y
Hi, I have the majority of my EA set up but the only piece im missing now is the part where "if this pair drops then take a sell trade for this different pair". Is this some thing someone could help with please? Many thanks David
Please, anyone can direct me to install the <Deleted> to meta trader 4. I'm new to all the whole system of how it work for trading
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.