Thread: How to code?
View Single Post
  #1715 (permalink)  
Old 04-07-2009, 05:08 PM
SPACECHIMP's Avatar
SPACECHIMP SPACECHIMP is offline
Member
 
Join Date: Feb 2006
Location: West Michigan, USA.
Posts: 90
SPACECHIMP is on a distinguished road
quick question on opening orders

Want to open 2 orders ONLY when within a specific number of bars after an MA cross.
I have NOT found the best way to code this without getting Additional orders opened that I don't want.

The MA cross happens and 2 orders get opened within X number of bars..after 2 orders open then NO more orders in that same direction. MA cross opposite direction then same deal.

Any Tips or information on how best to code it?
any EA's i might look at for example?

THANKS
Reply With Quote