Hello, I want to find MT4 build from mql4 code. How can i do this? The reason is my programs work only in MT4 build 765 or highter. Thanks
[Deleted]
For example, I place an order manually. I have to go away from the PC and leave it open. I want a trailing stop loss to be applied once the order is in profit at a predetermined number of points. Is an EA best or can I apply a script once the order is opened?
[Deleted]
Today I wanted to dig deeper into canvas and controls objects and stumbled upon the datepicker datedroplist and timepicker mqh. All those includes require a file themselves called #include <Tools\DateTime.mqh> This folder and DateTime.mqh file seems to be missing on my terminal. I was not able to
[Deleted]
New to these boards, greetings. I use an entropy based indicator as a core element of my trading strategy. This one in particular: https://www.mql5.com/en/code/8240 However, the drawing line in the indicator window that updates with tick movement, only works as intended when coupled with an...
Hello, I am looking for some code or indicator that determines the High and Low of the Previous Month and Week. I have found lots of indicators online that determines the High and Low of the Previous Month as of the current date, but I would like to determine...
[Deleted]
Hi I need to set the bollinger band as below : Upper Band Deviation = +.382 Lower Band Deviation = -.382 I tried many times on MT4 but failed.Does anyone know how I can do this kind of setting ? Thanks in advance.
Hello to all, I have recently learnt how to code the new MQL4. and i have written and EA with open position when its attached to the chart. but i have a problem! when I change the time frame the EA recalculate and re-initiate and open new positions. I want to know how can i stop that. I really
Any help would be great.
article "DataFeed API: Writing Your Own Data Feeds ? where i can find this info ? thanks very much can you give me some demo ? Thanks !
Hi all, I've read about "DataFeed API: Writing Your Own Data Sources" article. It's said that I should implement my data feed in C/C++. I wanna know that can I write my data feed in Java cause I'm not used to C/C++. I tend to use jna to communicate between java and MT4 API. Can I do that? Thx in...
Hi there, in one of my EAs I'm trying to keep a grid with hedged positions and I want to keep two lists with longs and shorts ordered by current profit. Iterating through MT4 pool of orders/trades gives me the orders ordered by creation order, and as far as I know there is no way to get them ordered...
[Deleted]
Hi i hope i can find someone who can help me to solve this problem, i would be very thankful Initial Situation: We developed a multichannelfilterindicator based on different standard indicators calculationesfrom Metatrader. This indicator was conceived to be used in ourexpert advisor. The...
I am a new to this forum. Someone asked me some questions please help me solve this. I would be forever in your debt. 1. Perform an intraday technical analysis (use 1-hour chart) on ANY FX pair you like 2. Clearly state your entry level for any long/short positions you recommend 3...
Just want to know how trading can be made using free credit of $100 in my account. Just a newbie to it. Please help. Thanks & Regards, Naresh Kumar Rana.
I wrote an indicator that draws symbols on the chart once I draw a trendline. I wrote in the OnChartEvent function to run the code every time I drag the trendline. It works finitely many times, and then all of a sudden the symbols on the chart are frozen, no matter how many times I change the...
Hi Everybody, I have the 745 version of MT4 and can not do debugg because debug mode start but I can not continue because the debugger buttons are not activated. Before, I could do it but now will not let me continue. I don´t know what it happen? please help me, best regards
Hello Every Guru in the house, Please I was working on a trailing stop code culled from the Mql4 book, the code is pasted below, I was to tweak it to move stop loss to break even level and also to start trailing after certain pips in profit is attained. It worked fine in doing those two things but...
Hi I am doing some researches in how to speed up the optimization using the mt4 strategy tester. I come accross this company which build supper computers http://content.dell.com/us/en/enterprise/hpcc-cray-cx1-iws.aspx Did some one can have more knoledge if mt4 uses the advantage of multiple cores to...
[Deleted]
Hi, I'm trying my hand at .hst files but without any success so far. After a few searches I came across this post https://forum.mql4.com/60455 where I got the file format from. If I run the below lines the values are zero. Maybe the format has changed (I have build 765) or my code is wrong or both....
Hi, I am having some trouble with iCustom. I need to use it for such a simple thing as passing a buy and put signal to an EA. Can someone show me a simple way to do this? This is some of the code in the EA: double CallFromIndicator;double PutFromIndicator;CallFromIndicator = iCustom(NULL,0...
Hi all. I'm experienced trader, but quite new to automated trading. I'm trying to automate my trading strategy and test it using strategy tester. The issue I have is that my strategy looks at all availble fx pairs and then chooses just 1 pair to trade based on my given parameters. But strategy...
i really need to know : How to find difference in hours between London Open or GMT and Broker Server time
Hi there, I am trying to compare a couple of EAs based on results in the strategy tester. I attach the results (test64 versus test92). Note that test92 is broken into two tests, but when you combine them you get the same timeframe as test64. In summary, test64 generates more profit over the (26...
Hi, May I know how to print message to a file instead of to the expert log? Thanks
[Deleted]
Hi all A very basic question i'm sure for someone. I'd like to have an indicator window open but don't want the values to appear on the screen or in the box. for e.g if it was MACD on 12, 21, 9.....when i put it up it shows those values on my screen....how do i have that setting but not have the
Hi there I use prerrt coomon logic to calc lot size extern double Depo = 0;extern double RiskPercent = 80;extern double Lots = 0;extern int Magic = 113355;extern int Slippage = 3;extern double StopLoss = 100;extern double TakeProfit = 50;int OnInit() {...
[Deleted]
Hello everyone, I have been working on some EAs lately and I want to merge these EAs and test and use them as a whole. the point is that if some of the EAs are losing, probably the others are profiting and the overall result will be positive too. I want the EAs to work completely independently and...
Hi, I would like to use the iAC indicator in my EA. The iAC indicators adds a graph with colors bars (green or red, reagarding of the movement). How to know in my program, which is the color of the iAC current bar and the previous one ? Thank you fore your help Max

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.