View Single Post
  #2 (permalink)  
Old 05-10-2007, 11:27 PM
ryanklefas's Avatar
ryanklefas ryanklefas is offline
Senior Member
 
Join Date: Apr 2006
Location: USA
Posts: 439
ryanklefas is on a distinguished road
Quote:
Originally Posted by gigiyoffee
hi,
does anyone knows, in an expert advisor, to program the "OrderSend()" function to open a trade on a symbol different from the one in which the ea is loaded?
thanks in advance.

OrderSend(NULL, 0.... )


"NULL" specifies the pair for the order. Null means the current pair. You can put any string (that corresponds to a pair, such as GBPUSD) in there.
__________________
"Don't work harder, work smarter." -- my Java professor

Coder for Hire:
http://www.firecell-fx.com
Reply With Quote