logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
oem7110  
#1 Posted : Sunday, April 24, 2016 1:03:23 AM(UTC)
oem7110

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

MS Support  
#2 Posted : Monday, April 25, 2016 2:02:21 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,934

Thanks: 85 times
Was thanked: 154 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)
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.