MQL4 and MetaTrader 4 - page 1086

To post a new topic, please log in or register
Hi, Can anyone put me onto an indicator that will place lines on the chart to show the high and low of a range between certain times. Hope someone can help. Regards, KeithN.
Hi. I found trouble to install the last MetaTrader4 build 224, ON the previous build 220. If i choose the folder where to install the new (224) build, "overwriting" the past (220) the setup just install, but when i launch the program i get a crash like the one i've pasted below. I remember that i've...
Hi I have been trying to use a combination of indicators to eventually make an EA but I would like to see if I can just get an alert and a arror when there is a divergence of two indicators. Two indicators= Relative Strength Index Closing Period of 4 diverges with On Balance Volume Close on...
Hi I understand that maximum allowed dimensions are 4 inmulti-dimensional array. But, what is the maximum number of elements allowed in each dimensionof multi-dimensional array? Thanks
hello to everyone giuseppe I just registered on this forum.  I would like someone to help me solve my problem  I would say to my EA to close the position at the opening of the next bar only if the position is in profit. I do not know how to do  can someone help me?
I have read articles regarding a null bar and also seen metion of a zero bar, what are they? Are they one in the same, do they arise from using historical data in an indicator into an EA? There is no mention of it in the documentation and seems to pass as common knowledge, any help would be...
  % Wins (4)
Is there a way to find your percent wins in an optimization runs? ---Tom
Please I have this program that runs and draws the 3 lines well. But the other program below does not draw the 2 lines. The idea was to use the array as a variable inside start function. I have placed also as a static array and the same, does not draw the line. The idea is to use arrays declared...
My trades comments are quite often completed by the server with "Started/gap", "Closed/gap", "tp/gap" etc annotations It means that the orders are not realized according to the initial specifications of zero slippage tolerence that I always apply to my ordersend() functions. In practice its a pip or...
Hello I am wondering if it is possible to preform logic tests on currency pairs other than the one shown in the chart? For instance if you had an EA running on the EUR/USD, could you check if the EURGBP was above the 20MA, or possibly a custom indicator. I have seen the MarketInfo()  command, but I...
New User - Chart times top as of 9/08/09 Thanks in advance
Hello, I have been trying to program my own EA. Since I have been programming only for a month or so, I cant figure out, what Im doing wrong. Its a very simple EA, which should detect a candlestick pattern "hammer" and put a pending order with 1 day expiration. It already works as an indicator and...
I get an alert everytime the price changes even one pip. How can I silence this? This is my first time in the forum and I may have missed something.Thanks. vk747
Just curious if there are any plans for MQ4 to support classes/struct/OOP?
Recently made my computer much safer to reject viruses and trojans --->I made limited account and add that special account special restriction policy rules: To only run executable in ONLY one directory(It's directory where I have all priveleges). In that directory I have MT4 installed for doing...
Hi I intend to develop on EA for multiple pairs and attach toone pair. I can refer the candles that native pair. Is there a way that I canrefer to the candles of other pairs than attached pair? Please advise. Thanks
ciao guys first at all thanks in advance for help. i am trying to prepare my personal EA but i have a doubt : with command ordertotal() it's possible to specify the number of pending orders but ..... total orders.... . In this way if I use my EA on some differents cross i cant specify to...
Not being a programmer...i've tried to figure out how to make the EA only do one trade per signal....but not having any progress. I want it to close a trade by either SL, TP, or TS. Then wait for the reverse signal. But it would close the trade and put the same side trade in if the singal was still...
hi please help me how i can specify current timeframe with any method (function, .... ) that i active my EA ? same as Symbol() function that specify current Symbol that active my EA. thanks
Hello Im trying to use the 'Slope Direction Line' indicator in an EA and Im not sure how to tell when the color of the line has changed. Im using the following code to access the indicator -  double SDL=iCustom(Symbol(),0,"Slope Direction Line",80,3,0); but im not sure of the logic required to...
Hi Guys, I have this code that gives a signal the first time a bar crosses a 20 period MA, unfortunately it does it before it crosses, ie, gives a sell signal the bar before it closes below the MA, which is obviously a bar too early. Does anyone know how to fix this problem, the code is attached.
The English notated version of tradingexpert-1.mq4 does not compile - is this an expert waste of time or what? https://book.mql4.com/samples/expert
We need good EA or someone who can make this us. We hawe managed accounts, where we use Ea´s Send details me. We can pay good price or good % profits. pnylander@hotmail.com
I have an EA I had designed by someone awhile ago who I can no longer get ahold of for some reason. Anyways, I need someone to add a few small features to it. Easy 4 and 5 digit broker support. (automatic would be nice but having the user change a setting is acceptable)Mini and micro account support...
I noticed that the the history database has 1 minute data from 1999 for pairs such as aud/usd, eur/usd etc. When I look at the timeframes such as 15 minutes the data starts from somewhere in 1999. But for 5 minute it starts somewhere in 2005 and for 1 minute from somwehere in 2008. The metatrader...
I have written many MQL4 EAs & Indicators for myself and for my clients. I ama professional EA/indicator coder. If you would like quality written code for your trading system, send me an e-mail:eacoder@hotmail.com
Dear Senior Members and Coders, I am newbie in forex but i would be very happe if someone can help automate my trading system that is related with opening price day? Does anyone have EA related with opening day price, Please share with us! Much thanks for your kind sharing
Hi guys, I have coded a simple idea i had for the Henken Ashi Indy...but my EA just refuses to take sell trades. can anyone see what I have done wrong? its really not complicated code as I am still learning ...so hopefully you will see what my fault is easily enough. I have attached the...
Hi, I am new to automated trading and I have a question about backtesting. I have FXT files with real tick data but I don't know how to use them : MT4 doesn't have the "recalculate" checkbox, so the FXT files are erased when I start a backtest. I have tried to use older versions of MT4 with the...
HELLO, PLEASE HELP ME. I NEED TO DOWNLOAD SOME INDICATORS. BUT I DONT KNOW WHERE AND HOW TO DO SO ON THIS SITE. I AM A NEW MEMBER. KINDLY HELP ME OUT. THANK YOU. JYDE