Skip to content

Community – Community

Community Forums › Forums › General Discussion › Trades are not closed in the end of the trading session › Reply To: Trades are not closed in the end of the trading session

seotrader

Hi Petko,

you have marked the boxes before generating the EAs right?

yes

you kept the same settings while exporting the EAs?

yes

do you see in the journal of the EAs in EA studio that the trades are out at the close of the trading session?

No , when the session day ends, some trades stay open although in the code I have “const bool sessionCloseAtSessionClose = true;”

Thanks

Learn the method behind the answers.

The Academy’s free courses take you from a demo account to your first Expert Advisor, taught by the traders who answer here.