MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading and Strategy Testing Forum

Screenshot
EURAUD, H4
Demo
Interview with Alexander Prishchenko (ATC 2012) Interview with Alexander Prishchenko (ATC 2012) A News DispatcherA News Dispatcher Try product
A News Dispatcher
Author: Vladix
Subscribe to signal
High yield pairs
16.67%, 23 613.95 USD
DinapoliTargets Indicator
DinapoliTargets
Author: GODZILLA
To post a new topic, please log in or register

/ Expert Advisors and Automated Trading

Need know when a deal is done, if: (1) it created/scaled in, or (2) closed/scaled out, or (3) reversed position. As I understand it DEAL_ENTRY_IN would indicate if (1); DEAL_ENTRY_OUT would indicate if (2); and DEAL_ENTRY_INOUT if (3). However, no matter if I open a position, close, scale, or...
Hi all. Is it possible to detect automatically (script) the switch period between winter/summer time in America when i'm located in Europe? In the United States, Summer Time begins on the second Sunday in March and reverts to standard time on the first Sunday in November. In the European...
i have write the code like this : void OnTick() { // some codes... if(!PositionSelect(_Symbol)) { CTrade trade; trade.PositionOpen(_Symbol,ORDER_TYPE_BUY,0.1, SymbolInfoDouble(_Symbol,SYMBOL_ASK),...
Hello, on MQL4 it was very easy to get the value of Bollinger Bands double Upper = iBands(NULL,0,20,2,0,PRICE_CLOSE,MODE_UPPER,1); double Middle =iMA(NULL,0,20,0,MODE_SMA,PRICE_CLOSE,1); double Lower = iBands(NULL,0,20,2,0,PRICE_CLOSE,MODE_LOWER,1); hot is the same on MQL5? just found...
I'd like to protect my Code both when showing it to someone and when sharing the strategy with someone. Is there any way to do this? Also, the metatrader language has to be a psuedo-language. Is there any way to see the underlying C# code? At least I think it must be C#. I've also been able to...
Hello, I'm looking a Zulutrade, Etoro and Weltrade user using MT4 build 432. Also i want to see the trading history. So I'm looking for a great programmer skill to create Expert Advisors in MQL4. I want to create an Expert Advisor but dont know how to create. I asking for help if programmer...
Tried to building EA based on recommended usage of the most commons indicators such as ac, ad, adx, even combination of ma and par RESULT with the setting of equal pips to win and larger pips to accomodate the possibility that favours the movement(prevent early stop loss ) with the recommended usage...
extern double MaxSpread = 3 ; int start() { int SellOrder = 0 ; if (MarketInfo( "GBPUSD" ,MODE_SPREAD) < MaxSpread) { SellOrder = OrderSend ( "GBPUSD" ,OP_SELL, 1.0 ,MarketInfo( "GBPUSD" ,MODE_BID), 5 , 0 , 0 , "" ,MagicNumber); } } I hope this isn't asking...
Hello, Have a position for Symbol x and need to know the closes StopLevel that would be accepted by trade server. How to do this ? Thank you
I want my EA to close trade based on the change,lets say drop in bar of an indicator compared to the previous one. how can i set the condition? and if there is a manual can anyone link me? confused here
Hi Guys I was wondering if anyone knew how to have custom indicators remain on chart after backtesting?
Hi all Do you know how to download ticks/data for currency pairs and major indices for Alpari Pro? Thank you
Results are not always shown and the Journal message is that the pass was not significant. Please, please show me all the passes, good or bad, significant or not, because it helps me to learn.
In documentation , there is an example with import of stdlib.ex5 to use ErrorDescription like in MT4. But I can't find stdlib.ex5 or stdlib.mql5 anywhere. Do you know if it's stille exist or an alternative to ErrorDescription() ? Thanks
Hi. Is it necessary to have VPS for a subscribed MQL4 signal? Also, is it best to use the broker that the signal author uses. Thanks, J
Hi, I created an EA for study perpous on the base of ADX, which take a long +DI > -DI and Short when -DI>+DI, but the EA which i created is not trading at all, need help from the programers or some one who familiar with this. i am posting my ea here Thanks in advance Suresh...
Hello MQL5 community, I'm attempting to write an EA witch will place trades based on depth of market. I read a thread earlier http://www.mql5.com/en/forum/6382 and noticed admin Rosh mentioned depth of market must be available for the currency pair of the broker in order to use this feature within...
Dear All, I Edit an EA which works with BB and DEMA, I replaced DEMA as RSI, for some studyes perpous, but i get some error like, 'CopyBuffer' - no one of the overloads can be applied to the function call Bband.mq5 131 7 i am attaching the EA here,please advice me were i went wrong, and...
Hi, I'm experiencing a bit of "documentation confusion" I hope someone can help me with. The documentation for all CopyXXX() functions contains the following note: "Note When requesting data from the indicator, if requested timeseries are not yet built or they need to be downloaded from the...
I am looking for real time signal to trade German Index FDAX. How I can search for that?
Hi, I m trying to open a second chart for my EA, but whan I call "ChartOpen(_symbol, _period);" in OnInit() function, the thing is that TWO charts are opened instead of only one. Any idea about why? Thanks in advance
Hi there ! Please excuse my ignorance but while backtesting ExpertMAMA in MT5, I don't see the lot size being tested in inputs. How can I change it ? Thanks
Ive done some research on the topic. But the only 'recent' thing i could find was a script from 2011.11.29 13:46 http://www.mql5.com/en/code/712 But it gives me a lot of errors (very a lot) when i load it up to MetaEditor. So i thought maybe there is now a standard function implemented to load...
i have done backtesting ,and i want to do some real time testing ,but i have a demo account only. can i ? thanks.
Dear All, I have been with Meta trader last 2 years only, i feel realy comfert with MT5 than MT4, i have have gone throw most of the articles in MT5, then i decided to create my own trading module, here i have no problwm with my strategy bcoz i am certified TEC Analyst, and know some c++,...
Hi everybody, For moving my EAs from my PC to a standalone-server im now watching for matching hardware. I already searched for the hardware-requirements and just found it for MT4 (1.0 GHz , 512 MB Ram) Now my favourite is this: <link to amazon.de deleted> HP MicroServer AMD TurionII N40L...
Hi, Just out of curiosity does anyone know why the appearance of objects varies when I run EA in the tester visual mode? Below pic is an example. Some of the rectangles have fill while others do not. This is not a problem but it would be nice to know why this is so. Thanks! Br, Candles
Hi All, I'm trying to have my EA pause after a deal was closed so that he does not re-open a position for "x" amount of candles. I tried to achieve that using the pause function but when back testing it seems like the pausing is not applied. Is there another way I could do that, that would work...
Hi, I wonder how can I test my EAs real time without using my own computer. I would like to use a cloud service where I can set my EA to run 24/7 and have the possibility to follow its actions in realtime. Is this possible? Br, Candles
So ive seen quite a few EA backtesting results on MQL5.com so far and some of the results look incredible for example look at this However this persons performance in the championship was poor in 2012 . Can someone explain why there are so many good backtesting EA's but they dont necessarily work...
previous123456789101112...26next