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); } |
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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









Linear Mode

