[Deleted]
Hello Guys, I have this, x = 0,0891, and i have to aproximate with two decimal places, -> x = 0,09. How can i do that ? Thanks everybody.
[Deleted]
I am wondering if there is a way to initialize a string with a constant plus the value of a variable. Is there a way to do this or do I have use a include file and initialize 100s of 1000s of similar strings As an exsample: x=1; string "A"+x;//should be the same as: string A1;
[Deleted]
Hello Anybody, I just completed removing all the bugs out of an ea that is doing great now. I need to know how to automate setting up the ea on multiple charts. Right now I am manually attaching the ea to about 11 charts and its time consuming. Can I write a script which will automatically...
[Deleted]
Hello all coders here! I'm new and inexperienced on MQL4+MQL5 code. I was read the MQL4 books, and too often try many expert advisor. Now, I has my own strategy and I want to develop it with myself (The public if it really works and not for sale! I really hate to those who sell their expert
[Deleted]
I am trying to incorporate my MT4 charts onto my Internet site. But it appears not that easy. Can anybody give me a good advice on how to do it. Thank you.
[Deleted]
Hi! So, the title pretty much covers it... I just need to "open" momentarily a URL, so I can send information through it to a webpage. I don't need to download anything from that page, or anything, I just need to send the info. Say: http://something.com/something.php?name=changowero How can I do...
I've had trouble getting the values agreeing between the stochastic function and the indicator itself displayed on charts (using exponential averaging, "Close" data point). Anyone familiar with the difference between the calculations and if they can be reconciled?
Hello All I am new to Forex and MetaTrader4. I have spent many sleepless nights studying and developing my own EAs. I feel that Im getting very close to going live with real money. I would ask that you view my tester values below and suggest any concerns and things you feel I should look at to...
[Deleted]
MT4自带的智能交易系统(Moving Average.mq4)我放在XAU/USD 上我明明看到穿越移动均线多次但没有触发交易,我选择的允许自动交易,保证金足够。请问有什么工具能调试交易系统,发现问题所在吗?谢谢了
Say you have an indicator with 2 buffers, the 2nd one is calculated on the 1st. The scale of the first is much larger and you're not interested in displaying its values. So you could use #property indicator_maximum but that's not good because the values of the 2nd buffer change if you change the...
I know this has been asked a million times but I cannot find a solution that works and actually does give 99% modelling quality. I have downloaded data from various sources and used the "period_converter" script to convert it to all timeframes, but still no 99%. Does anyone have any real good data...
[Deleted]
I do technikal with large volumes, and there was perfected by issuing a lot of money, but I just do it a few times but successful, either it goes .. because I'm doing is very risky with a small-cap and do not use management. I just believe that there must tertarjet with technikal produced in...
Bars in test 719373 Ticks modelled 21249120 Modelling quality 25.00% Mismatched charts errors 0 Initial deposit 10000.00 Total net profit 3403.26 Gross profit 3914.12 Gross loss -510.85 Profit factor 7.66 Expected payoff 17.02 Absolute drawdown 380.61 Maximal drawdown 1460.06 (12.12%) Relative
Hello, I wrote this: TicketModify = OrderModify(OrderTicket(),OpenPrice,StopLoss,0,0,Blue); // Order modify // Returns result and error messages void PrintMessageOrderModify (bool ticket) { int check; check=GetLastError(); if(ticket) Print("An order...
[Deleted]
With completion of my first EA I wanted to add some audio signals so that my EA can give me an acoustic signal about result of each trade. I found and downloaded little *.wav files - up to 15kB (such as sound of coin for the case of successful trade and a whistle for the case of unsuccess). I...
My EA works with pending orders. Is it possible to set a condition for any pending order so that the actual buy/sell order is only activated (by price) when this condition is met? For example, by the time the pending order is about to be activated by price movement the MACD/CCI/etc. should be...
[Deleted]
I tried to place an run my EA last night during London Market on the EURJPY pair but I get an error4051 (invalid parameters in Ordersend). It shows that my lot size is 0. Is there something wrong on how I calculate my lots in my code. RiskAmount = AccountEquity ()*(EquityPercent / 100 );
Hi you all The code liquidates well with if(Open[1]>ma && Close[1]<ma) And also with if (dAsk < ma) But if I request a SELL order or BUY order to liquidate when Highest High or Lowest Low condition, the liquidation does not occur. Below is the block with the situation for(int...
Hi Does anyone know of an EA that opens buy and sell stop order to take profit set by me and that when one of the two orders is triggered the other is canceled, and sorry for my english
[Deleted]
Please consider adding a feature on the "order accepted" window that would allow a trade to be closed from that window, as well. As it is now, closing a trade window, and having to reopen it in order to close the actual trade is tedious. A feature like this is currently available with programs like...
[Deleted]
hello everyone, I searched on the net but I have not found what I wanted, so I hope you can help me. I use this indicator to my strategy:"sf_trendlines", but I want to modify it to meet a specific time. For example say, "2:00 pm trace the trendlines of the last 30 minutes." Basically saying, "at...
Hi, I am trying MT4 but what I am missing is the possiblity to visually enter a pending order (stop buy, stop sell). I found some EAs that draw lines and allows to move those lines but only once you placed an order the "usual MT4"-way, meaning running through the order dialog and entering...
Hi All. Problem: - getting error 4054 on different symbols - after start in visual mode, EA is unloading and reloading indicator HMA_1.mq4 - there is no error on 5m tf of the same symbols, only higher; 15m, 30m .... Logs, indi and code attached. EA code: //----- HMA int hmaPer = 21; int...
[Deleted]
Hi, what can I gauge time my own mt code? Some code? Some tools? Functions in the mt countig time only sec, this is very large time unit. Thanks for help.
[Deleted]
Hi folks, I would like to know how to show the "Size"histogram on Graph tab. Please check attached file. My Expert Advisor has never shown it... If anyone has information concerning this, please let me know. Should I add to some program for an Expert Advisor which has never been shown it ? Thank you
[Deleted]
Hello guys, i need programme this: IF LAST TICK > 2 pips = ................. (5 digits brooker) how can i do it? thank you.
[Deleted]
Hello, I am a (very) beginner in mql programming. I am trying out simple ideas, and I would need help with one of them. How could I put a condition that new position opening only if previous one was closed? Thanks, Richard
[Deleted]
Very proffesional and quick programmer. Dont waste your time, contact me with definition of your idea and get it coded in MQ4, payment is 20$ via Paypal. eascoder511@gmail.com or PM here Have a great day.
Hello Guys, I collected this data from yesterday London and part of New York trading section, expecting to be a big big file, using this: int init() { handle=FileOpen("dataLondonNY.bin", FILE_BIN|FILE_WRITE); if(handle<1) Comment("File could not be opened");...

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.