- Katılım
- 23 Eki 2020
- Mesajlar
- 1,823
. To: "Metastock List" <metastock@xxxxxxxxxxxxx> . Subject: Trading Day of the Month . From: "Sean Taylor" <sean.taylor@xxxxxxxx> . Date: Mon, 6 Nov 2000 11:04:24 -0600 . Reply-To: metastock@xxxxxxxxxxxxx . Sender: owner-metastock@xxxxxxxxxxxxx Anybody have a formula that returns the Trading Day of the Month? Even something that returns True for the 1st trading day of the month would be OK. I've tried putting something together but holidays seem to be a problem. |
|
Trading Day of the Month If(DayOfMonth() = 1, TRUE, If(DayOfMonth()=2 AND (DayOfWeek()=1 OR Month()=1), TRUE, If( DayOfMonth()=3 AND DayOfWeek()=1, TRUE, FALSE))) |
Many thanks, Sean [23193] | |
| |
Source / From: |