05-06-2008, 12:37 AM
|
#1 |
Join Date: Jan 2008 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? |
| |