MT3 Questions

 

I recently realized that broker (particularly interbank fx) spreads can diverge more than 10 pips. I am scalping using MT3, and I attempted to code an algorithm to stay out of the market in such times. As the code is fairly simple, i seem to have problems with the following:

define: spread(2);

tt= spread * Point;

spr =ask - bid;

if spr != tt then

{

sd++;

Print ("SPREAD DIFF ", spr);

FileWrite(h1,bid,ask,spread,TimeToStr(CurTime),sd);

}

Comment("BID (",bid,") Ask (",ask,") Spread (",spr,")");

When the result of spr is .0002 and tt = .0002 the expression for some reason still results as true. Any ideas to why?

 

You may be running into a floating point issue. I haven't wriiten MT3 in a long time but try something like below to see if it fixes the problem.

tt= spread ;

spr =(ask - bid)/Point;

if Abs(spr-tt) < .5 then

end

 

Anyone have a link to download MT3?

 

MT3 Alpari broker (for demo accounts only) http://www.alpari.ru/files/mtsetup.exe

 

MT3 Custom indicators.

Where the indicators on MT3 transferable to MT4?

The script language stays the same right? I am wondering as if MT5 is made will my MT4 indicators be able to run on it?

Cheers

Joseph

 
>Apocalypto<:
Where the indicators on MT3 transferable to MT4?

The script language stays the same right? I am wondering as if MT5 is made will my MT4 indicators be able to run on it?

Cheers

Joseph

MT3 to MT4 is not compatible. MT4 to MT5 we will see but seems they aren't. .

 
Linuxser:
MT3 to MT4 is not compatible. MT4 to MT5 we will see but seems they aren't. .

Thanks for the reply,

I looked at MT5 seems they have a new script. So all the MT4 custom indicators will be no more?

Is there an easy way to transfer MT4 indicators to MT5?

Cheers

Joseph,

 
>Apocalypto<:
I looked at MT5 seems

We can't say a word till the MQL5 will be released. Today we don't know anithing about.

 

hi

all the major brokers will have to buy the mt5 ...so i gess alot of broker will have abig problam to spent more then 100K on an "update".

let see what will happen.

 
MT4free.com:
all the major brokers will have to buy the mt5 ...so i gess alot of broker will have abig problam to spent more then 100K on an "update". let see what will happen.

when is mt5 likely to be released?

 
Dzietski:
when is mt5 likely to be released?

MT5-Soon,and all ovner of dompiler MT4 can put this software to garbige.