Go Back   Traders Laboratory > Trading Resources > Trading Indicators > Coding Forum

Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Bookmarks
del.icio.us StumbleUpon Google Digg Facebook Furl Reddit Netscape

 
LinkBack Thread Tools Display Modes Language
  #1 (permalink)  
Old 05-06-2008, 12:37 AM
johni johni is offline
Registered Trader

 
Join Date: Jan 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Buying on First Monday Open and Exit on Friday

Wanted to buy on the first monday open on the first week and exit on the friday (Same week), the buy always on the tuesday open since TS2000i only allow this bar on close (monday close or next bar open (tuesday open).

Using the closeW (1) and OpenW(1) has the above problem. Tried to use closeW(5) and OpenW(5) to generate signal on monday open. This work but if friday is holiday then there is no signal for the coming week.

Anyone knows how to code this correctly?

Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB 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
Webinar Friday Infinity_Tom Infinity AT Forum 0 02-15-2008 09:02 AM
{REQ} help with an exit strategy jjthetrader Coding Forum 4 09-22-2007 01:06 PM
Possible Exit Methods brownsfan019 Technical Analysis 2 05-08-2007 05:37 PM
Friday, April 6th is a US holiday brownsfan019 Market Analysis 6 05-06-2007 11:30 AM
Tough Friday Trading Soultrader Market Analysis 0 09-29-2006 11:15 PM


All times are GMT -4. The time now is 12:42 AM.

 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59