MQL4 and MetaTrader 4 - page 1242

On the website of the Automated Trading Championship 2008,an article The Current Championship Charted in a Zero Returns Diagram has been published. This time, we are going to see how the distribution of Participants in Championship 2008 changed in the zero returns diagram. We first knew about this...

Since many traders use different methods,indicators,and strategies, I wanted to make a quick survey of what is being used. This would help in filtering out the less effective tools and means in trading. I will start with myself. I use the Taichi indicator with the GBPUSD and it works great on my...

Hello, I have opened account 1 week ago and i still cannot post messages to other members, when i go to the DISCUSSION section of each participant i cannot post new message, i get error message saying i am not approved by Administrator. what should i do in order to be approved? Regards, Peter

Hi, I need historical gold data for backtesting and would like to use the data from MetaQuotes. I'm using ODL demo platform. When I go to 'history center' and klick the download button, I get the error messange: 'There are no new data for a symbol GLD'. When I shift right the GLD chart via drag and...

I have an OrderDelete issue, and I've read through all the related threads and made adjustments, but it still doesn't work properly: I have set a buystop and a sellstop and when one is triggered, I want the other one to be deleted. My code will delete the buystop if the sellstop is triggered, but...

I have a small script that I created. When I drag it to a chart, it only sees via SelectOrder() the trades for that specific chart. Is there a way to select all orders regardless of the chart and pair globally? I am just using a for loop to get all orders: for (int i=0; i<=OrdersTotal(); i++){if...

I need help adjusting this EA. Currently it enters using market order. Would like to adjust buy entry as stop of last (n) bar high and adjust closing order as last (n) bar low after trigger. Also would like to adjust sell entry as stop of last (n) bar low and adjust closing order as last (n) bar...

I've imported the VKW bands and IBS into my MT and they appear in my EA list, however, when i attempt to drag them into my sheet, they will not attach. Did i miss a step? am i not doing something properly??

On the website of the Automated Trading Championship 2008,an article Reporting the Eleventh Week (8-14 December) has been published. The 11th week of the Championship is over. The week brought us a new record: The EA of Participant Liliput reached the Equity value of $180 000. This allowed him to...

Hello. I've written some code using FileOpen(), FileWrite(), FileFlush() and FileClose(). However, they don't seem to be working the way I expect them to. First of all I have an EA I've called TickLogger. It is supposed to log ticks. I've added this code. It is supposed to update two files: a...

We can globally enable or disable Expert Advisors by clicking the EA button on the toolbar, but is there a way to do it programmtically? Possibly via a script or even another EA? Another area I'm looking into is the "Allow live trading" checkbox found within Tools->Options. Perhaps there is a way...

good day, peeps. i've just read about mql4. now, i have a question about a code that i got from this site (https://www.mql5.com/en/articles/1481). it's about the martingale system. although i dont intend to use it in live account, i just want to practice with it. here's the code: extern int...

Can someone help me to find out what is wrong? I'm writing an EA to put 2 pending order some pips (a lot more than broker's stoplevel) above and below the opening candle. I'm using the code below to delete theremaining pending order if one of them is triggered. But it doesn't work if thepending...

I know this is a very basic question. Somewhere around here I found some code that would simply draw a line on the chart based on a variable. I thought I saved it to my hard drive, but can't find it now. The code was for an EA, not an indicator. Any help?

Hi, The goal of my simple EA is to Print when the Price is very close to the Bollinger Bands. Can someone review if this is correct? My primary doubt is about using Close[0] or Close[1]. How can Close[0] return the closing price of a current bar, when current bar is not yet closed. Thanks, JForex....

Over the last couple of days I have set my Meta trader on and just let it do what it does best. I have set up a demo acount and let the EA's do what they do best. I received a $300 profit (in demo) from one and left it going for the rest of the day. After coming back I realized that it was not...

Hi I am looking for a mql4 example of a Probability Neural Network. Ive red about it and seen the algorithms but I don't understand them because I am only a programmer. If I see a code example then I might understand it. Thanks in advance L.