Download MetaTrader 5

MQL4 and MetaTrader 4 - page 395

To post a new topic, please log in or register
Hi, Is there any command or parameter to change the size of a symbol ? I use: SetIndexStyle(1,DRAW_ARROW); SetIndexArrow(1,232); To draw an arrow (code 232) in the buffer 2 Thanks
Is there any way to identify or list the currency pairs being streamed by the DDE server? Some brokers have different pair designations (EURUSDm) and I need to identify them by a program running outside of MT4.
For those that are trading profitable in real accounts, are you using any sort of higher math? And if that's the case is that simple probability and statistic or something more advanced or something third?
Hi I thought this would be easy, but after a whole day trying different options, i don't seem to be any closer :( I just want to have an external variable where I enter a list of the hours to exclude from trading. (just based on server time) I have created a string array variable, and found some...
Can someone explain if I have any options to transfer my 6 bit coins that I purchased last year with Bit Floor when Bit Coins were selling for close to $100 ea.? I have tried to transfer and even requested my money back without any success. Was wondering if anyone else had a similar issue and how...
Hi Can someone please help me how to find the time if the shift value being negative. Basically I am trying to draw a trendline based on the existing trendline I am getting objprice1 correctly but the objtime1 always return 0. Thanks     datetime objtime1 =  iTime(Symbol(),Period(),...
Hi, I tried the google glass bowl and the 'local' search but none of them spoke to me. How can I use windwos %HOMEPATH% - one of the windows-paths? (http://www.askvg.com/list-of-environment-variables-in-windows-xp-vista-and-7/) Thanks in advance! gooly
double expiration = MarketInfo("#NQH4", MODE_EXPIRATION); expiration is always == 0 any idea to fix this ? or do you think this is a problem from broker transmitting info to MT4? thanks for help
I created an indicator based on a macd to show the status of the hourly MACD on lower timeframes. So the indicator should show 2 identical bars for each hour when attatched to the 30 minute chart, 4 when attached on the 15 minute chart, 12 when attached to the 5 minute chart and 60 when attatched to...
Hi i need help. Can you please show to me how to attach EA to chart programmatic. Thanks
sorry if my posts bother you does anyone know about this system ..?? whether the system is good for trade ..? I find in you tube thanks before https://www.youtube.com/channel/UC-W-95mxN3IRHmoky6OsfXw?feature=watch
I had download an universalMACrossEA which created by firedave recently. After I had replaced the original buy & sell condition with my own buy & sell condition, there shown an error which is '(" - function definition unexpected. I had try several method for many day to solve this problem but...
Please, my coding experience is limited. How do I close 5 or more open orders in an EA once they are all in profit? Is it possible for me to call a script from an EA? If yes, how? thank you.
I have a simple example that doesnt seem to work. A script calls a function that should change the argument value. It works if the function is in the script , but does not work via import? Script Code: #import "libtest.ex4"int refTestLib(int &inout);#importint refTest(int &inout){    inout +=...
The Ubzen Challenge. Welcome to our very first MQL4_Forum EA Contest. We're trying to bring some Excitement to our wonderful coding/trading forum. In the spirit of that, we've develop a challenge which we believe to be unique to the forum of this kind. Being a programmer's as well as trader's forum,...
  kill zombie EA process (17   1 2)
Hello, I wrote the following simple EA: int CSV;int init() {  CSV = FileOpen("new.csv", FILE_CSV|FILE_WRITE, ',');}int start() {  FileWrite(CSV, TimeToStr(TimeCurrent(), TIME_DATE|TIME_SECONDS), Ask, Bid, 0, 0);  FileFlush(CSV);}int deinit() {  FileClose(CSV);} The point of this EA is to collect...
Hi, yesterday my push notification still working fine, but since. This morning, I am not receiving any push notification on booth of my devices. I have to click on the messages to view the signal. Does anyone know what is the problem? Please help. Thank you.
So the same data, the same times, and the same EA. I optimise it, record the data, test again with different dates, then go back to the original dates and test again and the resulting data from the first and third test is different. It should be the same. The data is the same and the test is the...
Hi, I have a wired problem with my array. I used to be a programmer, and I never had this kind of problem before... Do I need something special to use array in EA? Below is simply not working. Chinkou_Buffer[i]=Close[i] When I Print() these three values, i and Close[i] have values....
Anyone knows if there is an include file similar to the one for MQL5: https://www.mql5.com/en/code/77 for MQL4. Or if it is possible to apply averages to other indicators? Thank you in advance
hi, I am trying to calculate my lot size and it does not appear to work as I would like I try to make it seek the last bars to see what direction they went and increment my lot size using this calculation. So Basicly I setup the barcount to 1 before this sequence and I increment it as it does not...
Hi all, I'm working on this script: I manually draw a verticle line, then there'll be a Text showing the LOCAL time of that verticle line. I move the line, text will change. I'm using a technique of "tick simulation loop" found in this forum. But, after I move around the verticle line, I found "t"...
Is there any way I can prevent this from happening or to send the order again if it fails? My EA can place multiple trades and I am not sure if this is causing the issue, the fact I have 10+ terminals running or just poor EA coding on my part. The EA seems to run into this problem when trying to...
Hi, how can I programmatically open an offline chart?
MetaTrader 4 Build 555 with Updated MQL4 Language and Market of Applications Released Over the past six months since the release of the public build 509, we put in a lot of effort to improve all the components of MetaTrader 4 online trading system. MQL4 programming language for developing trading...
This indicator gives the value of volumes (contracts) as a vertical histogram. The total volume at each pip level between the high/low of a previous period (eg 1H/1D) is plotted as a series of horizontal lines at each pip level (rather like a vertical MACD). levels of low volume give remarkably good...
With this code I can find, that, the highest high, is on the 21st candle / daily period, ago. I can also find the, lowest low, on the 63rd candle, f         int CntBarsz;            double Maximum, Minimum;                                            string text, UpSymbol="ñ", DnSymbol="ò",...
Hello to all traders, I am looking for a too/ea/pluginl that allows me to place multiple orders simultaneously with individual settings. example of what i am looking for: this tool allows me to trade maybe aud/usd - eur/usd - nzd/usd - usd/chf at the same time by simply entering individual settings...
Hello, I'm wondering if under the new MQL of bulds 574+ is there any way to identify if a given account is just a single trading account or a managed master account (PAMM - MAM etc...). I'm not asking for an IsMam() / IsPamm() function... that would be too easy... but I would be happy even for an...
Please, help me. I have bought new mobile lenovo K900, after install mt4 so mt4 have install but not list broker server just only metatrader 4 demo server.. Please help because i want trading tomorrow or please updated mt4... Thanks u..