Weekend Gap - Trade Exit Issue
  #1 (permalink)  
Old 09-09-2008, 01:22 AM
Currency Trader
 
Join Date: Jun 2007
Posts: 4
albrightsteve is on a distinguished road
Default Weekend Gap - Trade Exit Issue

In Metatrader, I had an open position on Friday that was closed out on Sunday due to a weekend gap in the market. The market opening on Sunday triggered the exit criteria of my system and the position was closed as the market opened. However the system did not draw an exit icon on the chart where the position was closed. Here is my exit logic; why didn't a trade close icon appear on the chart?

else // go to short position
{
if(BarClose>UpperStop) // Close order if closing price exceeds Donchian Upper Channel stop
{
OrderClose(OrderTicket(),OrderLots(),Ask,3,Violet) ; // Close order
return(0);
}
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exit or Hang on? nvpliers News Trading 9 07-02-2010 08:02 PM
Coding exit strategy ElfNori MetaTrader and ZeroCode 0 05-18-2008 02:49 AM
Best Way To Know When To Exit???? biggestsuv Trading Systems 4 04-12-2007 09:07 AM
Exit EA image3022 System Coding 1 11-06-2006 06:16 AM
Historical data issue Damir1105 General Trading Talk 1 10-26-2006 12:33 AM


All times are GMT. The time now is 09:22 AM.

Registered members gain free access to online FOREX currency trading tools, foreign exchange software, Metatrader MT4/MT5 expert advisors, MT4 indicators and EAs. Register now