Software: GT247 Trader (MetaQuotes) version 5.00 build 2078 (11 June 2019) When you have autotrade markers or lines or other annotations on a graph, then drag a new share on to the graph, the markers remain. In my case I have a common window that I drag my trades to, and after a while it gets really...
I want to ask you if it is possible to get the actual text written as a result of a call to comment() method. Thnaks!
Pure maths, physics, chemistry, etc.: brain-training tasks that have nothing to do with trade [Part 2]
(376 1 2 3 4 5 ... 37 38)
End of the first part https://www.mql5.com/ru/forum/123519/page628
[Deleted]
The EA is working in realtime, opening order and providing comments, it is still in developement. But I need to know how it performs in backtest in order to spot more coding errors if there might be. If anyone who can suggest a solution to this would give me a great deal of help as I am very new to...
[Deleted]
Hi, I have a EA that I downloaded from a forum which backtests pretty well, it is a scalper with a small TP and much larger SL, when a buy position is opened and the market goes down it will open a sell position, the max opened positions is two, one buy and one sell, now I was trying to figure out...
Bruno, Do you have the right version of Brainwashing v0.2? It seems only you have. The version which I uploaded to download area does not work. Only version #1 is working (I am testing now on m15 timeframe)
Hi, I am using Metatrader 4 Build 1170. I encountered something very interesting and I am not sure if anyone encountered this before. I am running a few EAs concurrently on the same computer and basically the EAs are the same set of codes. However, I have used a very different OrderMagicNumber for
I want to limit orders only one position for each entry point but I don't want use buy limit or sell limit
Does anyone understand what is this about from providing copy trade? Available in MetaTrader terminal Your signal has low rating and is not publicly available (Details) How to get this done?
Hello! Help please insert the code of this profit counter into my indicator? My is the stochastic crosshair
In MQL 4, I want to generate this error if my class fails to initialize. Like so: void CClass::CClass(int interval) // constructor { if(interval<=0) { _LastError=ERR_INVALID_PARAMETER; // constant cannot be modified compiler error ExpertRemove(); return;...
How to prevent EA open new trade when previous trade hit sl? My ea code : double D110RecentBarHighest; double D110RecentBarLowest; D110RecentBarHighest = iHigh(Symbol(),0,iHighest(NULL,0,MODE_HIGH,110,5)); D110RecentBarLowest = iLow(Symbol(),0,iLowest(NULL,0,MODE_LOW,110...
Task : "If found a bullish candle, then wait until next candle close above the highest price among recent 50 candles". I acheive the above task by writting the following code : if (Open[1] < Close[1]){ double wanted_level = High[1];}if (Close[1] > iHigh(NULL, 0, iHighest(NULL,0,MODE_HIGH,50,2)))...
I need to have a code for the smallest variable of the four variables, and if the value of each is zero, then comment on the next variable. GlobalVariableGet("SL"+Symbol()+"240") GlobalVariableGet("SL"+Symbol()+"1440") GlobalVariableGet("SL"+Symbol()+"10080") GlobalVariableGet("SL"+Symbol()+"43200")
[Deleted]
EA is showing results as expected but, on the XM platform it is showing 130 error after 3 months of backtesting, while on ICMarkets it isn't showing any result and no ERROR, both were backtested on the EURUSD. And here is what made it confusing, backtesting the EA on USDJPY worked well. Am I missing...
for (int i = count; i > 0; i--) { if (OrderSelect(i, SELECT_BY_POS) == false) continue; if ((OrderSymbol() == Symbol()) && (OrderMagicNumber() == Magic)) { if (OrderType() == OP_BUY) { if (Bma1<Bma2) { if...
hello, i have big problem ea lot size.. im write 0.07 lots but backtesting 0.10 lots im write 0.12 lots but backtesting 0.20 lots... example: 0.46 lots after backtesting 0.50 lots.. interesting. my account fxtime eurusd 1:500 laverage 1 min testing... and but I've used this robot before and...
modifying the ichimoku indicator to visualize two or more timeframe clouds on one timeframe chart
(5)
as shown is the ichimoku indicator //+------------------------------------------------------------------+ //| Ichimoku.mq4 | //| Copyright 2005-2014, MetaQuotes Software Corp. | //|
I`m writing a mathematical -statistical bot that will analyze my market.I need to calculate mathematical integrals somehow in MQL4, is it possible.And by integral's i mean these: Can anyone help, how can i program this?
Hi, I want to use a trailing stop but the stoploss simply follows the price at the trailing stop distance up and down and for the life of me I cannot understand why. Thanks for any input in advance. PS. I understand the code looks very sloppy currently, I plan to clean it up once I get it working....
void OrderTPNModify(int m){ int ticket; double fixTP,dtp; fixTP=0;dtp=0; for (int i = 0; i < OrdersTotal(); i++) { if (!OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) continue; if (OrderSymbol() != Symbol()|| OrderMagicNumber() != Magic ||OrderType() != m)...
Hey guys. I’m new at this (only started 3 weeks ago) and I’m confused since I’ve seen a lot of YouTube tutorials about traders using MT4 to trade and they usually have a charge when they make a trade, I’m trading with a demo account that I created at fbs. I wanna practice so I can be prepared to...
I am learning to code using template from mql4trader, but I am stock. The experiment ea does not modify immediately it opens order until next candle opens. Please, anybody, help me correct the ea to modify orders immediately after it is opened. thanks...
On rare occasions my EA places orders without SL or TP Im stumped as I dont know what could possibly be the reason. Any experiences similar to this would be helpful. (Yes I have checks to stop the order from being placed if the SL/Tp values are null or 0 or too close to the market price.)
Is there a way to check a specific name in the trendline name property, before entering the return key or clicking OK? My problem is to detect if name A exists, using a trendline with name B is not allowed. Thanks for helping, Sylvain
Hello If possible please send me any standard pivot indicator without iBar function used. My pivot indicator not working in strategy tester. I think iBar function caused that. Thanks
Hello, Please let me explain my situation. I’m trying many different expert advisors in a demo account. Each expert is attached to a different chart and/or currency. The problem is that in some cases theses experts are opening many orders in a small amount of time. My objective is to set a minimum...
[Deleted]
Hi All Does anyone have a way of increasing the horizontial and vertical scale - ie price on the vertical scale and date/time on the vertical scale? Also the font size of the fibonacci levels? Thanks in advance Michael
Im just learning mql4, but I have a problem. I want to know if it a buy trade exist, but the function always returned true. Whats the problem? bool vaneBuy(){ bool buy=false; for(int x=OrdersTotal();x>=1;x--){ if(OrderSelect(x,SELECT_BY_POS,MODE_TRADES)==true);{ if(OrderType()==OP_BUY){...
I would like to connect <broker name removed > and Mt4, apparently I need a brdige, which I can find via <broker name removed>. I have absolutly no idea about how it works. If you know about this kind of probleme, can you please help me about it ? Also I m looking for connecting <broker name

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.