Thread: MT3 Questions
View Single Post
 
Old 02-01-2006, 04:10 PM
4xCoder 4xCoder is offline
Member
 
Join Date: Nov 2005
Posts: 54
4xCoder is on a distinguished road
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