Go Back   BabyPips.com Forex Forum > Main Discussion > Forextown


Forextown The magical town where all traders can gather together to discuss anything and everything about the Forex. Also, check out our main Forex site for more Forex goodness.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-10-2009, 08:57 PM
reza107's Avatar
Newbie
 

Join Date: Jul 2007
Location: Singapore
Posts: 34
Send a message via MSN to reza107 Send a message via Skype™ to reza107
Unhappy Need Help in MT4 with Reversing

I simply want to reverse buy to sell or sell to buy.

I basically tried OrderClose followed by Ticket=Ordersend

OrderClose(...) //Close Current Order
Ticket=OrderSend(....)//To open new order

It didnt work in Real live trading but worked just fine in Demo
I got an error message when tried to do it in Real Live.
I have been losing as my EA kept failing to reverse my position.

I tried another way as well.
I first close the open position, go to return(0) so tht the EA will start again and be ready to open the opposite position when it restart.
This still didnt work.

Is there anybody out there who knows how to solve this one?

Thanks in advance
Reply With Quote
Reply



Tags
coding, mq4, mt4, reversal, reverse

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 12:37 AM.
Content Relevant URLs by vBSEO 3.3.1
"Obstacles are those frightful things you see when you take your eyes off your goals."
Henry Ford
Feedback Form