Hello,
Is it possible, using powerlanguage, to tell a signal not to trade each first friday of the month?
Or do I have to write the date of each first friday of the month for the last 10 years?
Many thanks,
Powerlanguage: First Friday
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
just make a counter...
1. starting counting when a new month begins,
2. when the day reaches a Friday, make count = 1,
3. if it reaches a Friday and the count is already equals to 1,
you have reached the second Friday.
for more information:
press [F1],
look under
Contents >
PowerLanguage >
Keyword Refereence > Date and Time Rountines
1. starting counting when a new month begins,
2. when the day reaches a Friday, make count = 1,
3. if it reaches a Friday and the count is already equals to 1,
you have reached the second Friday.
for more information:
press [F1],
look under
Contents >
PowerLanguage >
Keyword Refereence > Date and Time Rountines