Forum

can not download mt4 platform

Hi, I am using a 64 bit pc with 16gb memory and windows 10. I had been using mt4 downloaded from oanda. It was working fine until last week. Somehow terminal.exe gets deleted after I finish editing some ea. When I check the folder, all the other folders are there but teminal.exe is not there. I

Refresh function on a chart

After downloading history data, when we press refresh button, journal displays a message "xxx" bars downloaded. Can anyone explain what is happening behind the scene? Does it mean that history data had gaps and refresh button brings in additional data to fill in the gap? And if so where that is

A question about mql4 strategy tester

When I run strategy tester , a balance chart is created and stored in .gif file. Is there a way to create same chart for equity instead of balance

mt5

Will mt5.ex program will execute on mt4 platform ? I am willing to convert my mt4 ea to mt5 but my broker does not offer mt5

compilation error mql4 editor

Can someone tell me why I am getting this compilation error. declaration of 'tail1' hides global declaration at line 105 Gold Sep2016.mq4 28631 33 declaration of 'bar1' hides global declaration at line 104 Gold Sep2016.mq4 28673 11 internal error #-2 0 0 1 error(s), 6159 warning(s) 2 101

A technical question

How do I code in mql4 to find out if there is an arrow on the previous bar and the type of arrow, i.e. up or down? Appreciate any help

Input tab missing when expert advisor is placed on a chart

This problem came with build 971. When I place expert advisor on a chart and then check for expert properties , input tab is not there at all. It does not happen all the time. Sometime input tab is there

mql4 function to turn on and off autotrading

Happy New Year to everyone! I want to turn off auto-trading from within my mql4 ea when a target equity is reached. I know there is a mql4 function to do this but I can not find it. I tried searching with no success. I would appreciate if someone can tell me where I find some documentation or

Indicator to plot account balance and equity

I wonder if there is an indicator for mql4 that will plot account balance and account equity in a separate window. I tried to code the indicator but all I get is two straight lines

Comment field

One can enter a comment when the order is created. Is there a way to modify the OrderComment() field in the order ? I would like to store a trailing stoploss in that field. That way my stoploss goes under the radar