View Single Post
  #2 (permalink)  
Old 12-13-2006, 02:27 AM
Eaglehawk's Avatar
Eaglehawk Eaglehawk is offline
Senior Member
 
Join Date: Jun 2006
Posts: 141
Eaglehawk is on a distinguished road
PHP Code:
int numorder OrderSend(Symbol(), OP_BUYdLotsAsknSlippagedStopLossdTakeProfitsNameExpertMAGIC0colorOpenBuy); 
You're setting an OrderSend() function as an integer. Try changing to;

PHP Code:
   {
   
OrderSend(Symbol(), OP_BUYdLotsAsknSlippagedStopLossdTakeProfitsNameExpertMAGIC0colorOpenBuy); 
   } 
Should do the trick. It works on my computer.
__________________
"One's ability to accomplish his or her goals is limited only by the ingenuity of how one uses what he or she already knows."- Eaglehawk
REMEMBER,
"Genius is nothing but a greater aptitude for patience." –Benjamin Franklin

____________________________________

Have a simple ea you just can't figure out how to code??? Odds are you can make it here. Just remember to push complete when you're done, NOT SAVE!!!

http://sufx.core.t3-ism.net/ExpertAdvisorBuilder
Reply With Quote