Discussions
»
Product and Service Development
»
Formula Assistance
»
How to code muliple entry and exit on System Tester?
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 12/30/2005(UTC) Posts: 120
|
Long Entry : day of today is 3,5,6,8,13,14,16,19
Long Exit : day of today is 25, 26, 27
so there are 8 long signal triggered, excluding holiday and exit all positions, excluding holiday.
Does anyone have any suggestions on how to code this formula into system tester?
Thanks in advance for any suggestions
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
Should be able to use the DayOfWeek function to do this, i.e.:
Long Entry
DayOfWeek()=3 OR DayOfWeek()=5 OR DayOfWeek()=6 OR DayOfWeek()=8 OR DayOfWeek()=13 OR DayOfWeek()=16 OR DayOfWeek()=19
Long Exit
DayOfWeek()=25 OR DayOfWeek()=26 OR DayOfWeek()=27
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
How to code muliple entry and exit on System Tester?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.