Hi all, I'm facing a problem when using strategy tester. As the picture attached shows, it just ignore my TP and SL and go ahead with the trade. Is there any solution for this problem. I'm using MT5, build 2085. Tks!
The attached is a bad strategy for testing only (don't actually trade it). On axitrader it won't open during live trading but it will open during demo trading and in the strategy tester (yes, I have a smiley face, enabled auto trading, etc.) It was generated with fxpro quant. I...
strategy tester: question regarding the applied exchange rate for account currency/quote currency
(5)
A few sentences in advance before I come to my question: unlike in live trading, I usually don't give much attention to the "official" balance that I get in the strategy tester via AccountInfoDouble(ACCOUNT_BALANCE). The reason behind this is that - with a low spread ECN broker - I need to emulate...
Hi, I know it is possible to know if an optimization is running using MQLInfoInteger(MQL_OPTIMIZATION), but is it possible to know which kind of optimization it is (e.g. genetic or complete)? Thank you, Tuche.
I'm having a strange anomaly with the Strategy Tester. I have coded a very simple EA that places Buy and Sell stops with SL and TP values. The Volume is calculated to use the difference between the Buy and SL in order to limit the risk to -1% of the account balance as per popular recommendations...
Hi, What is the best method to stop interference when running EA on multiple pair? I'm getting wrong indicator from the wrong pair on my chart. Would something like below do the trick by using _Symbol == _Symbol ?? if(BuySignal>=NumberOfSignal && _Symbol == _Symbol) { SellBuy(BuyAmount...
Hi, I am running some optimisations, and with some more aggressive settings, the algorithm performs very good, but when I do a single run, it turns out that stop out occurs. What would be good, is not to include the original score of how good the algorithm performed, but in case it was terminated by...
Hello everyone I want to know at what price has closed an order. There is HistoryDealGetDouble (ticket, DEAL_PROFIT) which provided the profit, HistoryDealGetDouble (ticket, DEAL_PRICE) which provided the opening price but surprisingly, I do not see anything for the closing...
I paid for renting an expensive expert from MQL5 market. ($1498) Can I cancel my purchase before 7 days and take back my money?
i want time close order. thank you.
Hlw i hv enough knowledge in mq4 programming but in mq5 i m almost new asking some help in place order my mq4 code here: // ---------------------------------------------------------------- New pending order if condition...
Hi, anyone could explain to me about the such "How To" make very simple indicator for MQL5? or maybe anybody could teach me or give me the fundamental clue or give me reference place to learn 'How To Make Indicator' Topics step by step ? i need the fundamental things to know about this. i don't get...
Anyone ever have a lot multiplier not work? MT4 EA Parameters all work except for the multiplier
I have switched brokers and wish to continue to use several EA that have been purchased via the Market. Do I: 1) use the existing MT4 terminal with the EA currently installed for the new broker/account ( I tried to pull up new broker but it doesn't appear after search), or 2) use a new MT4 terminal...
Hi guys, I'm facing some issues while optimizing EAs using MT5. I'm testing a lot of instruments for some EAs. Always using "Every tick based on real ticks". And after sometimes my Windows install just got kind of stucked and real slow. For the last, before it demands a clean W10 install, when I've...
Hello everybody,
what I would like to do is to write a simple expert advisor that does this three steps:
1) open a csv file for writing;
2) writes bid and ask prices in that csv files, in different lines;
3) closes the file.
I would like to put these three steps respectively in OnInit,...
Hi foks, Im new here and just trying to figure out how everything works here. What is a good robot with high win rate? I see on mt4 more robots available then mt5 but im only able to run mt5 on my MAC. Can I get mt4 robots working on mt5? How does it work? I added on one my chart but nothing...
Hello, Im writing an EA which I want to keep an position's open price in double 2d array. (Please focus on the highlighted price) from the above log, the value on the left is the expected price which I would like to keep it as an index. The value on the right is the actual price that I find the...
Hello everybody, I need your help, someone could recommend me a good expert advisor for MT4; I've been testing the experts advisor from the Market but they all look like a scam. I hope your answers.
Was wondering if it work on two time like 15 and 30 min and can it double up on orders I am new so wandering
I am trying to create an EA that will trade multiple pairs although only loaded on one pair. I have created the following two variables: string Pairs[28] = {"AUDCAD, AUDCHF, AUDJPY, AUDNZD, AUDUSD, CADCHF, CADJPY, CHFJPY, EURAUD, EURCAD, EURCHF, EURGBP, EURNZD, EURUSD, EURJPY, GBPAUD, GBPCAD,...
When using a custom symbol or 3rd party data (CSV File) I sometimes get this when trying to run the backtest. Does anyone know why this happens?
hello together When the EA is started, it is started briefly, but deleted again at the same moment. The error is as follows: array out of range in "DeepFeedForward.mqh" (94,25) (DeepFeedForward --> that is the MQH file) Unfortunately I am still a beginner in coding. I would be really happy if...
Is there a way to get the starting date time of indicator and EA at every valid instance? Thanks in advance
I've got a strange problem with the strategy optimizer recently: it starts the first few iterations with results that make sense, from then on all results go down to the minimum, like this: It happens with different EAs, so it shouldn't have to do anything with the specific code. What is further...
I need an to call a python script in my expert adviser when OnTick occurs which I did via ShellExecuteW. However, I need to EA to wait until ShellExecuteW finishes its job. Is that doable ? I have read this too... https://www.mql5.com/en/forum/285244 Apparently the right way is : if...
Hi guys, I'm using the Think Centre Tiny to replace my VPS - its silent, fast and almost no limit to the MT4 instances - demo and live accounts. There's just one problem: every now and again I lose all my activations, i.e. my purchased EA's are no longer valid. Suddenly from one day to the next I...
Guys please help me with the above code. I am trying to write an EA that will set trades on the open of every candle. 1. Problem is its not closing the open trades before it opens a new trade. 2. The stoploss and take profit dont always get set. Any help will be appreciated. Thanx. </>extern...
I was trying to code on "is there any trade near by with in certain pips or not" Does any body thinks that is it possible to check whether there is any opened position within the range of certain pips from current tick data. I was trying for that and end up with nothing. If any one could suggest me...
After compiling it shows that "not all control path returns value" where is the mistake? Can anybody suggest me? bool DTNAR() { double DTNAiPtFc= 100 ; double buyprice,sellprice,pointDTNA,AskV,BidV,pacal; buyprice=MarketInfo( Symbol (),MODE_ASK); sellprice=MarketInfo( Symbol (),MODE_BID); if

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.