Hi I made EA depend on moving ravage cross down and cross up and small crosses not taken the problem is the orders not come in sequence buy sell buy sell ... some time come buy buy sell or sell sell sell.. how can I make the orders in sequence sell buy sell buy.... thanks
Most of EA's work bad way, when using indicatros levels for opening trades. Let's use RSI as example: Buy 30 Sell 70 All fine but, many, many times the price goes wrong direction as our indicator wat... I need script for RSI or W%R On Set levels No 1 - open pending orders, and open trades when the
In the code below: for ( int j= 768 ; j< 780 ; j+= 1 ) // 768dec=300H, 1024dec=400H { string strTemp= StringFormat ( "%I64X" , j); strTemp= " \xF" +strTemp; Print (strTemp); } I get this result
What I am essentially asking is if there is any sort of indicator or script that I can apply to a chart to turn it from a standard candle/bar chart into a Renko or Heikin-Ashi chart (which aren't available by standard in MT4/MT5 as far as I am aware) and then allow an indicator based EA to make
Hi, I'm a newbie in MT5 EA programming, wondering if anyone can give a hand on the below question, Appreciate for your valuable time inadvance! Here I'm going to get the equity value change per tick price update, And my test code is below if(log_enable)Print(name ,"\t",SymbolInfoDouble(name
I was try to install the Expert on the Market but with the price and rent price I m not come out. Invalid price . Rent must be cheaper than purchase. Longer rent must have higher price. Expert cost 589 USD for sale and 31,00 for rent and I get this answer! Invalid price. Rent must be cheaper than
Hi, I've been running backtests with optimization, and it's been great a tool to analyze my EA's performance. Today i just noticed that the number of results are less than the number of combinations I expected, especially with more complex tests (with more optimization variables). For example, my
Automatic validation gives No trading operation when in upgrade the EA
Hi, Using an EA , I'm opening a SELL position and then retrieve the order type. But strange enough when I read the POSITION_TYPE it says it's a BUY position !!!! What's wrong ? #include <Trade/Trade.mqh> CTrade myTrade; //my trade object //--- int OnInit () { double v_Bid =
The EA seller English is weak and he did not understand my question thanks for any response
Hello, I coded an EA which runs perfectly but places multiple trades instead of one. Using the most currently opened order as reference point, the EA is meant to open 1 Buy order when price increases by 100 pips and open a Sell order when it decreases by 100 pips. However, if the most currently
Hi All, This is slightly a different type of request. I've got an EA coded and trying to test it on strategy tester , however my PC is so slow and cannot handle it. I was after a 3 year backtest to see how this strategy performs. Could someone kindly run a backestest for me on this EA so I can gauge
back testing optimization in MT5 either let's you back test a single currency to find the best input parameters or it let's you back test all the symbols in the market watch tab but with the default input parameters. Is there a way to back test all the symbols in the market watch and find the best
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
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.