Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Trades are not closed in the end of the trading session #6724
    seotrader
    Participant

    Hi Petko,

    I believe I found the problem :

    My broker time zone is 2 hours later than GMT, so I needed to adjust the time zone by adding 7200 seconds

    For the US session pairs I wrote to close the trade at second 86,400 , which is 12:00 am , which is invalid.

    I changed it to 86,000 and it is working now

    Thanks :)

    in reply to: Trades are not closed in the end of the trading session #6710
    seotrader
    Participant

    Hi Petko,

    I sent it to [email protected]

    Thanks!

    in reply to: Trades are not closed in the end of the trading session #6690
    seotrader
    Participant

    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

Viewing 3 posts - 1 through 3 (of 3 total)
Shopping Cart