MQL4 and MetaTrader 4 - page 1293

[Deleted]
Guys, Is there any way to add in a Line chart overlayed over a candlstick chart in MT4? Or is there a way to "program" this? Forgive my ignorance. Say EU line chart and CHF candle on the same chart or two EU charts(one line/one candle) on the same actual chart?? Thank you for any help or advice,...
Anybody has answer to this ? Indicator keeps reeloading int tester on every tick on Weekly TF, same indicator on M15 gets loaded only once This slows down tester tremendously!!! Here is a journal: 2010.07.12 10:05:21 2010.03.01 00:59 JK Slow EURUSD,Weekly: loaded successfully 2010.07.12 10:05:21...
New article Writing an Expert Advisor using the MQL5 Object-Oriented Programming approach is published at mql5.com: This article focuses on the object oriented approach to doing what we did in the article "Step-By-Step Guide to writing an Expert Advisor in MQL5 for Beginners" - creating a simple...
[Deleted]
  Test generator  (2)
While running my EA I got these messages. See attached. Can anyone help explain what is this and how to fix it. Thanks.
I have a band on my chart, which is the 2 LWMA high and 2 LWMA low. I can work out the distance between the 2 easily enough but what I want to work out is the average amount of pips that price exceeds the bands over say the last 20 periods. Any ideas on how to do that?
Hi... :) I have newbie question : 1. How to place / show variable in upper right with comment syntax? 2. How to show like this in chart with comment syntax : 102 104 106 108 . . . 150 The vertical position Thx
[Deleted]
I'm an ex-option trader who has started playing around with forex and am trialing one of the latest EA Robots. After operating very effectively for the first day, every order the robot tries to place is rejected with the Error 131 - invalid trade volume lots 1.02. I have researched this on the...
[Deleted]
When we use MT4 to backtest AUDJPY pair, I have some difficulty to interpret the P/L of the colosed position: From 2001.1.1 to 2009.12.1, I use 1% position size, the sl/tp is in AUDJPY pips, which means I can win or lose 1,000,000JPY In this period, USDJPY is in 130 to 90 range, the same size of...
Is it possible to add an FTP account in Publisher via an external application? in /config there is a file called publisher but it is encrypted or garbage.. Is there any way to do this automatically that the user doesn't have to manually enter his publisher account details?
Hi, 2 days ago my ibfx mt4 showed my pip count in the normal 4 decimals, .ie 1.4567, but when I opened it today its now showing 5 decimals....1.45678. Its annoying me to the point that I can't concentrate. Any help would be greatly appreciated. I searched it, but a lot on these forums is about...
[Deleted]
  FUTURE  (139   1 2 3 4 5 ... 13 14)
What's going on in the Forex market! Doesn't anybody notice? The number of ticks has sharply reduced (especially in most brokerage companies)..., a new MT5 platform has appeared, with new trading conditions that restrict the trader's tactical choice, and gradually, quietly and constantly implanted
[Deleted]
There is set of closed orders. I need to select the last one only. Can anyone please help? Thanks.
Hey dudes, I am trying to figure our whether MODE_HISTORY trades, when accessed by position,are sorted ascending (i.e. very first order is at position 0) or descending (lastclosed trade is at position 0). From several posts on this forum it seems that first trade is at zero but if someonecould...
[Deleted]
Hi dears, Is there any any meta4 platform accepting the minimum trading amount as less than 0.1 lot? like 0.01 lot.......
[Deleted]
I downloaded MT4 about an hour ago, and the streaming data has not updated since I first logged in. I logged in several times, restarted the program three times, and "refreshed" many times. Do I need to do something special to start streaming the data? ThanX!
hi friends, can anybody tells me,how can I close half of my open position and save the other part of it ?thanks
Forex Manual Traders and EA Traders. In my years at this market game it has always drawn question to why some of my fellow Trading Friends do not use "Friends" to locate trends, entries and exits while reducing exposure to risk. There are just some questions I will never have answers, this is just...
i run the ea I was building 2 days ago on tester.. the results were great. then I'm running them now and it looks very bad, its so frustrating.. spent a good amount of time trying to figure out if I had the settings wrong or if I had inadvertently changed something... Has someone come across this...
hi all, I have faced some problems in MT4 after upgrading from windows XP to Windows 7 I'm not sure if this is related to windows 7 settings, or with MT4 structure. Note: I have installed the latest Build from Alpari web page. The problem is: MT4 starts on the same configuration as it did at the
#property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 DarkGoldenrod //---- indicator parameters extern int MA_Period=20; extern int ATR_Period=10; //---- buffers double FFRI[]; //+------------------------------------------------------------------+ //| Custom...
Hello, the code below has been designed with the help of several contributors to send an e-mail when conditions are met and only at the begining of a new bar. There are two possible e-mails. One for a bull alert and one for a bear alert. How do we make the code send e-mails at the begeining of a new...
All I'm trying to do is make sure my EA only trades once per candle. This is my test code. Just copy and paste this whole thing into a blank EA and tell me what the heck I'm missing. THIS IS REALLY GETTING ON MY LAST FREAKIN NERVE! I'M LOSING HAIR OVER THIS! SOMEONE PLEASE HELP!!!!! int...
[Deleted]
  I'm an API flake  (2)
Yep, API has blown a fuse in my head so really could use some pointers from those knowlegable in such things. It's my continuing battle to have terminal restart itself when it loses connection for an extended period. Sometimes, it just needs a kick to regain connection. So my IsConnected EA goes...
Hi, where can I find this indicator?
I have tried to make a Stochastic indicator (form the standard Stoch) where it would be possible to change currency pair parameter. Does anybody know how to do this? I want to make an overlay of a few stochastic indicators with various pairs. (EURUSD,GBPUSD, USDJPY, USDCHF...)
Hi everyone, I am wondering because my stop loss loop simply looks at the last order of a particular symbol() and if the symbol matches then it checks for the stop loss and then if the stop loss exists it allows another event, yet for some reason it works most of the time but once in awhile it will...
[Deleted]
Thank you : )
Hi, I am back-testing an EA and its trading only Sell, for some reason its not trading any Buy. Can someone help plzzzzzz and its NOT throwing any error messages also, so don't know what is wrong...also download the History for all instruments I am testing this EA on but same thing only Sell's no...
  I need help with import dll  (24   1 2 3)
Hi, I have compiled my matlab function into dll. In the EA, I put in the following code: #import "MLfun01.dll" double GetArrayItemValue(double ML_Signal[]); ML_Signal[8] = MLfun01(string CP, string dataCL,double arr[8],string OTM); #import the output of the Matlab function is a 1x8 vector, so...
I've wrote a DLL using Visual C++ 2003 based on a standard DLLSample project. My new function is GetCrossings. But when I try to use the function from a script I get an error: cannot call function 'GetCrossings' from dll 'crossings.dll' (error 127) When I press F1 the help isn't related to the...