MQL4 and MetaTrader 4 - page 713

There's a thing in MetaTrader4 - Dutch version that is very confusing. See the attached image When pointing the mouse at the SL-line, it tells the SL in Pips but in fact these are points. When changing this via the shortcut menu, they are called Points but in fact these are Pips ( Points / 10 ).Then...
I am coding some strategy and for visual purposes I would like my EA to plot two customised MA's(already done), custom RSI(already done), custom Stochiastic(already done), how code my ea so that at the launching of an EA these visual aids are put on the chart straight away???
[Deleted]
There are numerous tabs in the Terminal pane, most of which I never care what they actually mean. Actually I need only two, Trade and History. But, when I click on some of those useless (for me) tabs by mistake, the MT4 Client Terminal freezes for 15 seconds or so. I would like to avoid such...
Is there some way to make the cursor move horizontally in multiple charts at the same time? When setting up a profile with 3 or 4 of the same currency pair charts for multiple time frame analysis, I'd like to be able to see the vertical crosshair at the same relative time on all the charts in the...
[Deleted]
Can MT4 handle reading from weekly chart and  handle multiple trades with each trade having a different stop and target?
  MA 9,26
Greeting, I'm using MA 9 and 26 in buy and sell entry , tested for few months on GBPUSD(as shown as figure above). I set close buy as MA 9<26 and vice versa for close sell, and the result still shown the unpleasant one. The profit always shown the negative value. Could anyone advise any solution...
[Deleted]
Greetings fellow coders and traders. I've just recently begun scripting in MQL4 and I find it rather challenging but easy to grasp and understand. Although some steps do give me trouble and I wonder if you'd be able to help me with that. I am trying to read from a .TXT file with the name of
[Deleted]
  The calculation of the Herrick Payoff Index ("HPI") is:       Where:         I want create this indicator with metaquotes, but i dont know how to do that. 
  OrderClose  (5)
My fault line 38 I need to be shared help me debugging I am very grateful for that I use the translation https://translate.google.com/
So, take the following code. Load it up on a chart of your choosing (except AUDJPY), any pair any time frame (I'd recommend 15min or greater). Let it run so you at least get a few candles in. Make sure whatever timeframe you choose, you don't have .hst file for AUDJPY in that timeframe. ie
Hi, I am currently adding candlestick pattern for my EA. herewith i found formula for black hammer/white hammer from our forum. but i want to confirm whether the formula is correct or not? { if ((Close[ 1 ] > Open[ 1 ]) && (Open[ 1 ]-Low[ 1 ] >= 2 *(Close[ 1 ]-Open[ 1 ])) && (High[ 1 ]-Close[ 1
#import "kernel32.dll"   int CreateFileW(string, uint, int, int, int, int, int);   int GetFileSize(int, int);   int ReadFile(int, uchar&[], int, int&[], int);   int CloseHandle(int);#importHow can I create a folder( e,g "AAAA") inside System Drive(Windows Drive)?How to create a file inside "AAAA"...
  Indian Rupee  (1)
Are there any MT4 brokers that offer the Indian Rupee vs. USD cross for trade?
On my MT4 platform always after using it for 2-3 days suddenly the switching between currency pairs gets disabled. Then I have to de-install including all personal data and reinstall the platform  then it works again for 1-3 days and again blocks. Any solution?
New article MQL5 Programming Basics: Global Variables of the Terminal has been published at mql5.com: This article highlights object-oriented capabilities of the MQL5 language for creating objects facilitating work with global variables of the terminal. As a practical example I consider a case when...
How to control the text format when using FileWrite()?e.g. add a tab between 2 words.
[Deleted]
HI, I try to optimize 2 variables: 'buy' : value in program (as extern): 0.75 , start: -0.2,  step:0.05,  stop: 0.9 'close': value in program (as extern): 0.2, start 0.3, step: -0.05, stop: -0.6 when I run that on spx500 (the broker is fxcm), for a 1 month check (1.10 to 2.11), on 'open prices only'...
Good afternoon! Can you tell me if there are any testers that support MG4 scripts and EAs
[Deleted]
Hi to everyone, I wish to ask you if there is a downloadable code (better a script) for MT4 to save each time frame of a single pair (e.g. EURUSD1M , EURUSD5M, EURUSD15M, so on) in just "one click", to save time and quickly run my analyses. I have already tried to Google something about that but I
I am new to automated trading only. I have been trading the FOREX Market for many years but now trying the automated side. I have build a few EA's but on live testing on my demo account I have a few questions. 1.) When my EA executes a trade, it only seems to trade that one pair even though I have...
Hello, I believe this is a simple issue (however I'm not a developer) but I'm trying to get this old code to compile on the new 600+ builds.  The error I'm getting is:   'start' - function already defined and has body  I don't understand this because i can't find a "start" anywhere else in the code...
Hi  I have an EA based on breakout. Basically I am drawing a trend line then look for the cut between a MA and this same trend line. For achieving this, I  draw the trendline then use ObjectGetValueByShift(). That works for fine on a graph for a given pair. Now assuming that I want my EA to trade...
  mql file  (3)
Hi from Italy. It's the 1st time for me here. I wish I knew if it's possible to have a little file in mql. I explain: I like Ichimoku indicator and I wish a simple ALERT. But I didn't know anything about mql language. An alert that show a display message when price goes 115 pips over or under Kijun...
Hello,   I had this line of code in an indicator previous to build 600 but for some reason I get an error on the newer builds of MT4 and was wondering if someone could help me resolve this... the error i'm getting is:   static datetime Time.open;   "." semicolon expected     Is there a newer way of...
  Chart order  (1)
Hi, I have 24 charts saved in my profile, however when I save my profile and then reopen it, the order of the charts is not kept in sequence even though I have saved my profile. All the changes to the charts are saved, but not the order  I am using Metatrader4 version 4.00  build 475   thanks Gavin 
  spooky spots  (4)
I have made a simple indicator (attached) that detects a simple ma change. It calcs down to i>0 (min==1) sets the buffer i-1 (min==0!!) the open[i-1] which would be a possible enter-price. This simple indicator creates after some hours of running spooky spots in the night sky?? Is this there a...
Hi, I running simple code on ea and indicator using tester. Timeframe is H1.The code is:    double h = iHigh(NULL,PERIOD_D1,0);    int err = GetLastError();    if (err!=0)        Alert("error __high=",err);    GlobalVariableSet("__High",h);    double l = iLow(NULL,PERIOD_D1,0);    err =...
Hi, the calculation of "macd_signal" in my EA code is: double macd_main= iMACD ( NULL , 0 , 12 , 26 , 9 , PRICE_CLOSE ,MODE_MAIN, 1 ); double macd_signal= iMACD ( NULL , 0 , 12 , 26 , 9 , PRICE_CLOSE ,MODE_SIGNAL, 1 ); but regarding the documentation this will calculate "macd_signal" with MA 9(
Looking for day traders to trade big size accounts Equitie BP starts from 50k to few m's with perspective to grow. Profit target 2-4 % per month. For short period of time traders will have to use a demo platform before they will get a real account. Steady day traders only. For more info contact v...
[Deleted]
Hi all,  The question on which Forex.com was unable to respond was about the details  of the provider who give them "News" in "news" window within the MT4 platform they provide...  They vaguely saying that  it's provided by Thomson Reuters, but in order to use this information (what I would prefer...