Is it possible to add an option to the MT4 tester that enforces the FIFO rule? For multiple open trades with the same symbol, the tester does not simulate real time FIFO-rule trading. For real time tradiing, with US MT4 brokers (FIFO rule), the SLs and TPs are forced to be the same for all open
This is the first EA that I've written, borrowing bits from others, too. I have it attached to 12 charts on my Demo account, but it seems to only allow one trade at a time across all 12 forex pairs. My account and broker aren't restricting me in this way, so is my code restricting me to only one
Friends, can any developer insert the CALL and PUT buffers to work with MT2 in this attached indicator? Thank you
I have received a system message regarding the latest version of a product. When I go to market tab inside MT4 and to my purchased products there is no option to update, it also is displaying the old version instead of the new. It´s been almost a day like this. I don´t wanna install again and waste
hello there, i have an investors password for an account the problem is i can see the history and added balance for that account but not running trades! yes when a trades are placed or its running its not showing on the terminal window but its straight going to the balance on the terminal window !!...
It looks to me like these two statements are functionally equivalent to each other. Is this correct? Are there any nuances I'm missing? if (tempZigVal < (op - tempATRMax)) sl = op - tempATRMax; else sl = tempZigVal; sl = tempZigVal < (op - tempATRMax) ? op -
Following exactly (https://www.youtube.com/watch?v=dP4VrC_nhJA&list=LL&index=2) I coded the multi timeframe ema. However, when I try to use it with the strategy tester it does not work and I'm not able to find the problem / solution. I attach a photo where the Ema computation becomes flat
Hi, Is there any restriction on using an "if condition" within a "For Loop" or even a "Do while loop"? I have a code with a following structure: for (expression1; expression2; expression3) { expression=True; if (expression) operator1; else operator2; } Instead, on compilation
Hi, I wanted to list my Expert Advisor and Indicators at mql5.com website. But i am scared to list here because of security concern. How much secure it is. ? Like If any one download my EA from mql5.com then he/she can sell it off anywhere after downloading the ex4 file. As mql5.com already
How to make Alert() to post in the Tab on the bottom of MT4 instead of a Window Pop up? Thanks
[Deleted]
How can I return the highest(or lowest) value of a indicator over a set period in a EA? So for instance If I want my EA to trade when indicator one reaches a high of 10 or more and within 5 bars from that indicator two also reaches a high of 10 or more. So it would trade when two indicators made new...
hi friends i have one indicator which gives alerts only i want to send them to my mt4 push if anyone known something let me known also wants to known if indicator dont have alerts only icons showing up is it possible to send them to push white arrow indicator have alert options only green arow
Hello, would anybody be so kind to help me add TP option to my simple MT4 Script? TP should be calculated based on % of the trades range. e.g. 100% = RR 1:1 Thank you
Hello everyone I looking for free management lot size tools , I trade as scalper so market is so fast for calculations lot size manually, so I need a free assistance trade tools that I draw my virtual Sl line on chart and any time pushing Buy or Sell buttons manually immediately calculations
Hi Good time. I'd like to know that is there any way to find out the amount of opening spread for a closed position? In MT4, if you drag and drop a closed position ( in Account History tab) into the main chart, you can see the opening and closing points. But I need to know the amount of the spread
Hi guys.. I’m finding it difficult to understand the Charts. I can’t read it to be honest. I need help.. anyone please
Hi all, I have the following function where tries to calculate the time between the last closed trade and the current time. if the time difference is <> that a certain number of bars it gives a different result. that being said, during the backtest at some point the bar calculation begins to fail
Hello, I have an issue with this MT4 MACD indicator . It only gives an alert and arrow whenever crossover up happens below or down crossover above zero line. I really need arrows and alerts every time crossover happens. Can somebody update this MQ4 source code? I would really appreciate. Thank you
[Deleted]
Hi, this martingale to my program isn't executing in the program. any ideas why? //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ double
Hello, I currently have a (raw) socket server by python/php and I want to get Tick() of many pairs from MT4 to this server. I search so many libs/dll for MT4 (WinSock, WinINET...) for this but all do not work. I would like to make each chart a socket client to connect to socket server. Then, each...
How do I get the price change on the market watch screen in meta trader 4? As in the example image
i am use for EA , Many Time Show This Error For All Currency Pairs, I am adjust For My SL And TP , But Its Same Error, Please Help Me
Hey guys, I have a problem in my machine and i would like to know if anyone has ever been through this. Whenever i open a MT4 platform, doesnt matter which one, and there is a pair loaded or i load a pair into the charts a screen of properties pop up on screen and i cant close it no matter what i
After I created custom order script and assigning custom hotkeys, I'm having issues with the hotkeys saving. When I exit MT4 and reopen it the hotkeys are not assigned to the scripts anymore. any suggestions
I want to add this custom indicator in my mql4 EA. But I can not call it in my Ea . Some error are shown like as parameter error, unexpected token error,,etc
Is there anyone one can help me with those Codes? It's using Fibo retracement tools and SMA. 1. This codes are not working in Tester 2.I want to hide the SMA from chart. 3.The Fibo is counting some previous candles to draw Fibo Levels but I want to drow it from Previous day high and Low that's all
Hi, I had in mind to create a partition only and exclusively to use linux, I wanted to know from your experience if anyone uses it to program in mql4 and has had some kind of problem. For example, I use the MT4 in a portable version and download the historical data from dukascopy (like many of you I
Simple MQL4 Code obfuscation technique Please read about obfuscation first here: https://www.mql5.com/go?link=http://en.wikipedia.org/wiki/Obfuscated_code Now I'm going to give an idea of some MQL4 Code obfuscation technique.. There was some time ago a site which was selling MQL4 obfuscator. It had...
Hello MQL5 Community, I'd appreciate it if you could help me with the following errors in my code. The first is at the beginning of my "int OnInit()" code, and the second is at the end: "return(point);" I had previously made some minor changes to the code in order to resolve other errors. I'm having
i noticed if the number of open charts are more than 5 this message window pop ups ... is there a way to avoid it