EA and economic calendar... some doubts

 

Hi everyone!

I'm new to the forum and to algo trading in general, so please be compliant if I say something wrong.

I'm in the process of making an EA based on my personal trading strategy but I've a problem because usually I don't trade when there is too much volatility.

I simply check the economic calendar (investing.com) before start trading and make sure that there aren't particular hours of extreme volatility.

BUT how I could integrate this kind of check in an EA?

Is there a way to make sure that the EA don't starts position in these particular conditions?

Thanks in advance for your answers.

PS. English is not my first language so sorry if I make some errors.

Reason: