Forum

How can I calculate the Margin level percentage?

How can I calculate the Margin level percentage that appears underneath my trades in the Trade Tab. What is the formula

How to remove comment from indicator sub-window ?

I run a custom MACD in a sub-window. A comment is displayed in the top left corner, which runs across 75% of the window width. As I do not need the information it contains, is there a line of code I can add to remove this

Change horizontal line colours

Is it anyway possible to change the colour of the horizontal line from red to another colour of our own choice the same way that candles are changed

No connection on Win Server 2003??

Should MetaTrader 4 work OK in Windows Server 2003 R2?? I just can't get it connecting to the server after many many tries. I have added MetaTrader to the windows' firewall's exception list. I also manually added port 443 to be open. And at last, I completely disabled the Windows firewall, but

help required on mq4 function

I keep getting the error ERR_INVALID_STOPS for the function below: OrderSend("EURUSD", OP_BUYLIMIT, 0.1, 1.2750, 100, 0, 0, NULL, 0, 0, Red) Can anyone see what is wrong. I have left the stoploss and takeprofit as zero because I do not want stops on this EA. I assumed this meant no SL or TP was set

insert colour

i draw two moving averages in the chart, say 100 and 200 for example, can i insert/put a colour between them, to look just like an ichimokou cloud? many tks in advance your prompt reply

String allocation inside of external DLL

Another one Slawa: No ability to allocate strings inside of DLL's. I need to pass string with fixed length, and use only that number of characters. Will you change it some day? Ruby

ADX code

The ADX coded in metaquotes is different then most other trading softwares... The ADX value is always much higher giving false signals about the trend... Does anybody could tell me where the problem comes from, and provide me wth instruction on modifying the indicators ... Thank you

Multi Terminal Limits

How many users may i create with multi terminal? And can each account run a different EA independently? Thanks

Draw a rectangle to the right of the most recent bar...

Hi, can anyone tell me how to draw a rectangle to the right of the most recent bar? Ideally, I want something like the code below, where -5 and -25 refer to coordinates of time just ahead of the current bar. ObjectCreate("SR"+i,OBJ_RECTANGLE,0,Time[-5],price1,Time[-25],price2); Thanks for your help