[Deleted]
Hi, not sure if this is the right place to post this but I am getting an error (see at the end) when back testing a model. can anyone explain what it actually means? Would it help if I posted certain code? thanks. 2012.08.03 00:45:21 TestGenerator: unmatched data error (volume limit 65 at 2012.08...
Excuse me, I am dealing with global variables and met a problem. I need something similar to global variable, but I want it to be string type. As we know, the global variable could only be numeric. Thank you so much!
Hi all, I can use "OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES);" function but I cannot select orders in the past using "OrderSelect(1,SELECT_BY_POS,MODE_HISTORY);". Any thoughts? Thanks much :)
Excuse me, everyone. I met a problem when dealing with the global variables. I wish you could give me a hand. I defined a global variable using GlobalVariableSet("userinput_01", 0); I wish EA could detect whether the global variable has been updated or not. I mean, even if the user has entered the...
[Deleted]
Hi! Is there a way that I can use my video card to make the computations of my EA in MT4? I think this could be a good idea to make faster otimizations too. I was reading the article "OpenCL: The Bridge to Parallel Worlds" (https://www.mql5.com/en/articles/405) when I think about.
Hi, is there a cusmtom indicator or ea that can be used to display various fibanacci retracements on the chart for a list of various dates ie: 2.1.2008 to 2.2.2008, 23.4.2009 to 24.5.2009... and so on. I know it can be done manually but it is just too time consuming considering you want to...
[Deleted]
Dear Sir, I need a point value of the symbol via this command at FXPro: double LPoint = MarketInfo (Symbol (), MODE_POINT); When applied at symbol 5 digits (example EURUSD, USDCHF), the result LPOINT = 0. Meanwhile, when applied to 3 digits symbol (example: USDJPN) the result LPOINT = 0.001...
[Deleted]
Wondering if anyone can shed some light on this problem............ I have a Ea that works on a H4 Chart but has a M15 entry filter and a M15 Exit filter .When I backtest on my computer and then backtest on my VPS I get totally different results.If I change the filters to the chart time frame then...
[Deleted]
Hello everybody, I am quite new to mql, but learning hard!! In the meanwhile I have build a few EA with EA creators available on the internet, but experiencing problems when trying to manually add a time filter . I have searched through this forum, but the posts I found were a bit too difficult to
I think that it would be good to create a topic something like "Any question of a newbie", where any simple question may be asked. There are many topics from newbies, which have 1 or 2 pages only. It will be also suitable for professionals to trace just one main topic to help asking man/women or...
dear friends I've downloaded the EA DragSLTP but I don't exactely know how it functions. Could you please help? 1-how deos it function 2- should i set SL et TP for it to work properly or not 3- does it function like a traling stop thanks for helping
Hello, I'd like to programm the following simple strategy: If the current bars price is higher than the (current bars open + the 80% of the current bars range) in the last 1 min of the bars period (H1) the program should buy.. So i want something like this: if ("current price" >...
Hi all! I am running an EA in a strategy tester, but for some reason it won't place a trade when a trade signal is clearly reached. I added the code "GetLastError()" function to see what error was keeping the EA from placing trades. Next, I ran the EA in the strategy tester again and watched the...
[Deleted]
Hi Guys, Im newbie to this forum, i have never developed any coding regarding of the MetaTrader. I need your help so much. I want to create a very simple indicator by drawing 3 horizontal line, it will look like this: 1. Drawing a Horizontal Line for Daily open position (the value is comes from...
In the third week of testing is the code. When his check ?? На проверке третью неделю лежит код. Когда его проверят
Hello freinds, I have a tecnical quastion: If I want to close an open trade, and I already know its: Ticket number, lot size and the correct price. Do I have to preceed the ORDERCLOSE() with ORDERSELECT()? Thank you all, Y.
[Deleted]
Hello, how can I quick save a chart without going through the londg winded on screen process? thank you
Hi All, I was converting tradestation indicator into MT4. While converting I have observed the OHLC data is plotting differently in MT4. For example, if the tradestation value is 1.21579 ( EURUSD closing price) and the corresponding MT4 value is 1.21560. Anyone has ant idea about it. Thanks!! Antony
[Deleted]
Hi all, I enjoy calling iMA() function to calculate out some variable, like this: average = iMA(NULL,0,Periods,0,MODE_SMA,PRICE_CLOSE,0); But whenever my back test terminates, the SMA line automatically displays on the visual chart, although I don't have any drawing statements in my code.Please tell...
Hello guy, when i try to send an email throught the "Test Function" offered by Broker, i receive in my journal this message: Mail: 530 5.7.0 Must issue a STARTTLS command first. ep14sm35300759wid.0 Mail: 'Test message' failed How can resolve?
HI, I am new to MT4. Today is my first day on this platform. I have found indicators i want to use but so far have not been able to get them on the platform. I have downloaded them into the correct folder. I have opened them and compiled them to make sure there are no errors. I get a note that says...
how do i fix this? My ea buys at bid and sells at ask. I guess its a bug. Makes quick cash on demo
[Deleted]
Macd55 01.07.2012 09:55 strangerr : Long term forecast for Euro, 1.4215, 1.6430, 1.1874 low will not be updated. This is my last post here on the topic of the branch, I will try not to touch the issue of trading in the future, let the brother Ishim carry on up and down on the minutes. Hello, The low
Hello together! If I want to test an EA with e.a. a StopLoss from 10 - 200 and a step of 10 together with a TakeProfit of 10 - 180 and a step of 10, I should get 360 results. So in the Strategietester You can see on the left below the expected result "360 / 1280 (360)", but in reality this program...
mt4 4.0 version 432: vertical line object create in seperate window (done in script), after switch to other timeframe chart, it will become invisible, even when the visualization setting is allow it show in all timeframes.
Hi I want to write an expert to monitor my positions. this is detail of m expert : if a position is opened/ closed/ TP or SL changed, I want to detect that position and record all of that fields in a text file. I like to develop it in MQL4. I'm a software developer but I don't know MQL more. May I...
public class Q4{//==================================================== public static int a(int b, int c) //<-- what happens here??? { int x=0; x=c-b; return x; }//=================================================== public static int b(int c, int d) //<-- here it is again??...
[Deleted]
To test the function iMA, I wrote the code below int start() { double x=iMA(NULL,0,10,0,MODE_SMA,MODE_CLOSE,1); double y=0; for (int i=1; i<=10; i++) y = y +...
[Deleted]
i am trying to write some code saying current bar ask price is greater than current bar simple moving average (5ma, close price, simple.) is this correct: MarketInfo(Symbol(),MODE_ASK)> iMA(NULL, NULL,5,0,MODE_SMA,PRICE_CLOSE,0) and current bar bid price is less than the current bar 5 moving...
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.