AddingNewsEventsintoTScode
Under Event performance, I want to exclude FOMC Economic projections.
Click on TS
Click copy to clipboard.
Load the EventFilter eld in C:\Program Files (x86)\Portfolio Analyst Pro\TradestationCode\PORTFOLIOANALYST1.21+EventsCode.eld
edit EventFilter eld with the TS editor
paste the new code and and verify
Shown below is two (of many) ways to add the EventFilter in your trading system
Orange might be simpler, but has a bit more CPU overhead as its evaluated each bar + on the first bar of the day.
In green is faster as its evaluated only when a trade occurs.
Check your final results performance report.