MQL4 and MetaTrader 4 - page 275

To post a new topic, please log in or register
  Spam (6)
Is there anything that can be done to reduce the amount of spam (advertising mostly illegal activities)? I never remember it being such a problem until a few months back. I know that moderators can't be online 24x7, but perhaps instigate a vetting process for new members for their first 'x' posts?
screenshot: http://c2n.me/3kaL4IA Hi you see the price is way under my sell limit i should take profit but mt4 just didnt executed it.
Hello, I want to make indicator to draw vertical line at certain date and certain time, but I don't get a line. What is wrong ? If I look at objects list after inserting indicator, I find Vertical line with date parameters: 1970.01.01 00:00Thanks,Edward
Please let me create a new thread for this topic as there are too many versions of code in the old thread. I've updated the code files as the latest versions as enclosed.    1. According to the EA, an old order should be closed and a new order should be open just 1 bar later than the signal....
While the forum is supposed to be a place to get help with a problem you are having with either MQL4 or MT4, and a place to be able to help others with problems, there are some steps that every forum user can do to help all of us.  First off, remember that we are here by our choice, volunteers for...
Here is how to get MetaTrader4 (MT4) Forex trading platforms to work under Mac OS X. Requirement: You must be using a Mac with the Intel Duo Core Processor. 1. Download CrossOver Download a 30-day trial version of CrossOver from CodeWeavers at http://www.codeweavers...
Hi, i am trying here to build a martingale sequence by using buy stops for the buy cycle. Basically, if price goes down, i open buy stops so when price goes up , the pending will be market. However, i need only one buy stop to be active. My logic is as follows, if signal is valid and there is no...
I read through the post/article at https://www.mql5.com/en/articles/1402 but one thing I am wondering which I am not sure about, even given the guidelines there.  What if the person publishing the article here already published it somewhere else, like on their own website, before submitting it to...
I would like this indicator to alert me on current candle and not after candle closes because I'm trading 60 seconds. Please help... //+------------------------------------------------------------------+ //| binary alert based on RSI+MFI+Demarker...
They do not seem to follow the MQL5 behaviour. Whatever I set, the higher number takes control of the visible output. #property indicator_buffers 3#property indicator_plots 1 does the same as   #property indicator_buffers 1#property indicator_plots 3      
Hello sirs, please I want an indicator to keep my vertical price scale display at the right hand side to maximum of 8 display across all time frames whether chart zoomed or not . Hope someone understands my point.
How to subtract previous bars value of 1st buffer with current bars value of the same buffer and show the result in the 2nd buffer? please someone help me
In build 840 MT4 the pending order expiry function does not delete the order when the time expires. edit - posted in mq5 forum under New MetaTrader 4 Build 840: Improvements and Fixes
I am not a developer. So, replies with simple explanations would be greatly appreciated. Custom indicator EX4 files can be decompiled to MQ4 files. Build 600+ was to prevent decompilation. I guess that's not the case. I have read posts of a possible method to prevent unauthorized access to the...
Normally, I would not even consider this an issue, however, I happen to be in an unusual and unfortunate situation.  My concern, I guess you can call it, is the articles specific to MT4 and MQL4 being located on MQL5.com (and vice versa) means that if someone has accounts on both MQL sites, and for...
For some reason I can't isolate the event handling of this object. Here's a simple expert code which uses CListView, the click event is not triggering the event on CListView. Any advice? thx...
I need help modifying the ADX in MT5. Currently, the only parameter allowed to be entered by the user is the number of periods for the ADX. I need the ability to input a different time periods for the DMI. Basically this would mean having the ability to set an 8 period moving average (ADX) of the 13...
I have read several posts in other threads about Moderators being selective in certain things. And I constantly see regular Contributors bashing those who are new, albeit some of it deserved in my opinion. I have also seen some regular Contributors just disappear because of all this, I assume. What...
Good day all. Any suggestions for mt4 charts not loading their template contents?  On startup or on switching profiles, charts come up without their template contents.  It's a problem which occurred fitfully years ago but is now systematic for m1 charts, occasional on other timeframes.   If I...
Hi    I met a problem when writing indicators. The indicator works fine in normal conditions but if there are some new data loading, the indicator markers and zigzags becomes messy like show in the following image.  https://charts.mql5.com/8/221/usdchf-m15-forex-capital-markets.png   Any help please...
Hi traders i am using mt4 demo version and trading forex. I have an issue with delay response on my profit limits. Today it happend multiple times that the platorm didnt get me out after i reached my profit target. Even if i move the profit target in some direction to refresh it mt4 just did not...
Hey guys, Does anybody have a function that increases the lot size by a certain amount when the account balance increases by a certain amount. Eg. If the account is initially on $2000 I want it to trade on 0.2 and when the account balance reaches $3000 it must start trading at 0.3 etc. Thanks! 
Here is the code int start(){   double BuyTP=Ask+(TakeProfit*Point);   double SellTP=Bid-(TakeProfit*Point);   double lots=(AccountBalance()/10000)*Lot;   ArrowUp=ObjectFind("SignalUp");   ArrowDown=ObjectFind("SignalDown");   Strength=MathAbs(ObjectDescription("WPRValue"));      if(...
Just like the subject says, I can create an object fine in init but if I try it in start I get nothing. I'm playing around with the FX Multi Meter II code and was wondering if there is something that might be preventing it from being created but I can't find anything. I've tried it in all different...
I open a demo MT4 account on Windows 8. In Program Files/MetaTrader 4/ there is not MQL4 folder. I attached ascreenshot. Can anybody help me?  
Hello guys, I'm bit worried about how does MetaTrader and Expert Advisor works on multicore systems. I have an idea to run 1 MT4 (or EA) on one CPU. So if I want to run a 100 accounts thus I have to have 100 threads available. What shall I do, if I want to run metatrading system. How many EAs am I...
I am getting a confusing issue with MathFloor() function in mql4. Print(MathFloor(11219.0)) gets displayed as 11219.0 but Print(MathFloor(10000*1.12190)) gets displayed as 11218.0? Any idea, why?   
Hello, does somebody know if it can be stored the value of a reference parameter which passes a dynamic array reference. Example: class AAA {    ??? Buffer;    void method_A(const double & buffer[])    {       Buffer = buffer;    {    double method_B(int idx)    {       return Buffer[idx];    } };...
Hello there, May I know how to install the custom indicator & EA to the new version of MT4 build 600? I was tried to install to the custom indicators to MetaTrader 4 directory under MQL4/ indicators, and re-open the MT4 platform, under custom indicator, I won't be able to locate my custom indicator...