This indicator code will keep you out of trouble on Federal Reserve day announcements when volatility can go through the roof.
There’s a number of times I’ve been trading forex and either missed or forgotten an FOMC day in the online calendars…
I also avoid trading before the news/economic data announcements at 9.30am 1.30pm & 3.00pm.
(Please confirm FOMC days here: https://www.federalreserve.gov/monetarypolicy/fomccalendars.htm)
Take Cover it's an FOMC Day
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Avoid FOMC dates (with warning on day before because I can't quite figure out
//how to code it on the actual day other than delay the dates by one day?)