Download MetaTrader 5

MQL4 and MetaTrader 4 - page 409

To post a new topic, please log in or register
Hi everyone, is there a magic number for manual orders? some on this forum have a view that by default it is zero. is it so? is there a reliable way to identify and differentiate between multiple orders placed manually?
Hello, EA running on a PC, VPS or dedicated server. Have you set up a monitoring service that control from time to time that your EA is always on? Some kind of watchdog.
Please think with me for a bit. I'm looking for good reasons to be found in indicators When NOT tot trade on the 15m chart on LONG. So far i collected: when MacD 1hour is fallingwhen MacD 4hour is fallingwhen price is above 4H and 1H 200Ema but 15m is onder 200Emawhen price is outside Pivot R3 or...
hello, i'm writing a code for ea, ea will open multiple orders buy n sell several times until close all profit. 'n i need to know how to code : if last order op buy, then ea will not open buy until it op sell first and vice versa Could someone give me a help here ? Thanks in advance...
  Indicators that work. (19   1 2)
I would guess that quite a few of the posters here have used various indicators in their technical analysis and incorporated the indicators in their work. I do wonder, has anyone actually used an indicator and found it to work consistently in the long term? Obviously, I'm talking about the standard...
  Time[-1] (24   1 2 3)
I know Time[-1] is invalid, but you know what I mean. How do I get the time of the next bar? Or Time[-10], Time[-100]?
#property copyright "Copyright 2013, MetaQuotes Software Corp."#property link      "http://www.metaquotes.net"#property indicator_chart_window//+------------------------------------------------------------------+//| Custom indicator initialization function...
i want add to ea will any body help me. first is grid ea and second is martingle grid . i want to know this part is making it martingle
Can someone help me with my mobile terminal? I'm trying to get my metaqoute ID and I have gotten to message after settings but it is telling an active Google account will be required but then my google account is active. How do I go about this to get my metaquote ID? Can somebody be of help!
I am currently working on my first EA. I have currently coded and tested the functionality of determining trade entries. My question is in regards to managing the placement of these trades. All my logic is placed within the start() function, and I only perform the logic within the first minute after...
what is it exactly that determines the value of a currency, Im guessing its mostly supply and demand, but is there other factors, like dose economic data have a direct effect on price or is it just the peoples reaction to the news, and also what changes the value when the markets closed, like...
I am running Hotforex MT4 but now want to add XM MT4. When I try to install XM I get the following error : Error Report Exception Information Code 0xc000001d Flags 0x00000000 System information Windows NT 5.1 Build : 2600 Then uninstalled Hotforex and tried again but came back with the same...
Hi, there. I must confess I am still a newbie with regards to trading as such and automated trading in particular, with just under a year of experience. But I managed to put together a MT4 cluster of over 150 terminals that can work together on a single optimization. I have been using it the past...
How can I create a script that create both buy and sell order at 10 pips apart from the current price? One script create 2 orders buy and sell at the 10 pips apart from the current price. Is it possible?
  file write (7)
hi can some body tell me why my file writing code override the existing values? int handle;   handle=FileOpen("daily.csv", FILE_CSV|FILE_WRITE, ';');   if(handle<1)   {    Comment("File data1.csv not found, the last error is ", GetLastError());     return(false);    }  else    {     FileWrite(handle...
Hello. I don't write codes but I have one that I would like to make a small modification to. When I apply the script there is still a small border at the bottom and on the right side. Is it possible to remove those 2?   Code: #import "user32.dll"  int SetWindowLongA(int hWnd,int nIndex, int...
Hello traders! I want access to dollar index's and gold's chart data back to 1971. Please guide me how can I get it in my meta trader 4. Also need some help about viewing charts in other time frames than default ones like quarterly or 3 minute charts. Thanks!
What if you averaged all 10 competing championship EAs trades into your account? The last contest seemed to profit 100% per month. Where do these EAs go afterwards? Do they just run out of steam? Perhaps I'm coming off callow to the many members on mql site but, what do you think about this?
Hi, I realize some Brokers also offer options trading on equities, currency pairs, etc, and am wondering, in MetaTrader4, is it possible to also "execute"/strike on these options, or is it only possible to trade the options, without using the "actual" functionality of the option itself? Thanks!
Which is your favourite trend. Bearish or bullish trend?
Hi, straight-forward question: Does the strategy tester automatically take into account rollover credits/debits, on exchange pairs? I have an EA that is very simple, and only places a market order (OrderSend()), if and when specific conditions apply. For example, for GBPUSD, in the strategy tester,...
I'm trying to add some external var so i can change the colors on the indicator lines. #property indicator_chart_window #property indicator_buffers 5 #property indicator_color1 Black #property indicator_color2 Blue #property indicator_color3 Red #property indicator_color4 DodgerBlue #property...
Hello guys. I made an indicator from KST Indicator, which consists on the sustraction of KST minus its 9 period EMA. The code is very simple, but as I have 0 idea of programming, I had to make from looking at other indicators code. I finally made the indicator as I wished but there is one problem...
There are several topics on this already but they usually explain differences in ATR values between various trading platforms, I can't get the correct values with MT4's own downloaded data. I saved MT4 chart as .csv file and calculated ATR according to rules on this page: http://stockcharts...
Hope someone might clarify these 2 quick questions for me: What is the difference between the Bid price and Close[i] during the current bar? And also I had a blank chart with a single 20 Period Exponential Applied to Close Moving Average on it. The chart was an Index Chart (Australian Share Price...
I have installed recently MT4 Version 4.00 Build 451 on a Window 7 64 bit machine. Strangely enough on this platform when setting expert advisor either to the chart or when placing expert advisor to strategy tester the inputs tab is missing.   I have this same version and build parallel on a windows...
hi can somebody tell me how to create the object of arrow because what i have done is not working?the object are creating as i see on the object list but cant able to see on the chart whenever the condition met ObjectCreate("Buy"+j, OBJ_ARROW,winIndex,Time[0],Open[0],Time[0]...
Does someone know how to obtain tick by tick data from Oanda for free given that I have an academic affiliation? I understood that it's one of the most reliable sources of free data, but I don't know how to proceed to get the data: open a demo account and they will ask if I am in academia or what?...
Hi! Iam a newbie in the EA-programming-business. I built an EA made backtests and did a little bit analysis in excel. And i saw that this strategy makes with a higher percentage 2 losses and then comes again a winningtrade. So now my question: Is it possibile to built a filter/indicator or...