Forum

Drawing a Histogram on the Chart

I was wondering how we can draw a histogram on the chart or rather cover the candles with a specific colour. For example I'm trying to cover white candles with green when the white candle is longer than 15 pips. Here is the code I've written and I don't know what's wrong with it. Any ideas

Interacting Visually with an Expert Advisor

I have developed an EA that closes all open and pending trades when you move a text label in a chart. Visit http://www.forexbrace.com/content/view/203/52/ for more information and download your free copy. I have a question though. Is there a built-in method in MQL4 that could help us to go beyond

MQL4 Training Material

Is there a training material for MQL4 available in PDF format

Datetime Suggestion

I noticed that if you declare similar to the following line in your program datetime Compile = D ''; You get the following warning message at the time of compilation '' - date literal string is incomplete However, the value is correctly assigned to the variable (which is today's date). I suggest

Backtesting Data

I'm trying to backtest a few currency pair and spot gold but my MetaTrader provides with limited number of bars (in most cases for a few weeks only). My focus is on M15 charts for the following pairs: XAUUSD EURCHF GBPUSD AUDUSD EURUSD JPYUSD EURCAD Do you know where or how I can obtain the data I'm

Upgrade Problem on Vista

I currently run build 208 of MetaTrader on my computer. When the auto update tries to upgrade to build 210 it fails. Do you know by chance how to resolve this problem. I'm running MT4 on Vista Home Premium. On my other computers that run XP I encountered no problems

Empty Alert Box

What could be the reason that the alert box content is not shown? Thanks, Al

Wrong Trade Volume

What does this error message mean? Thanks, Al

Buffer Overrun detected

What does this message mean

Sharing an EA without Sharing the Code

I have written an EA for managing an open trade to close it as safe as possible. The EA receives the order ticket number as an external variable and then manages TP and SL to close the trade safely. I shared the EA with some people. They want to use it in their EAs but I do not want to share the