Thread: Ask!
View Single Post
 
Old 06-04-2008, 05:42 PM
forexcel forexcel is offline
Junior Member
 
Join Date: Oct 2006
Posts: 12
forexcel is on a distinguished road
doji related...

Hello All:

I am trying to code my first indicator/ea and i need some help.

Here is how i define my doji: if(Open[i]==Close[i])

Now, if i want to redefine my doji as the Open and Close are within 2 pips up or down, how do i code it?

To clarify: let's say Open = 1.5510 and close is either 1.5512 or 1.5508.

Any help will be appreciated.

Regards,

forexcel