Forum

Account History Terminal

Hi All Just wondering if a method of automatically changing the Account History in the terminal to today existed. In other words my EA uses data from OrderHistoryTotal() however when the new trading day opens the Account History Terminal still shows yesterdays data. I then have to physically be in

OnTick() Opening new trades at first tick of new trading day

Hi All During a trading day if my profit or loss for all of my open and closed positions combined on that day exceed a certain amount (either profit or loss) I close all trades. This part of my code works fine. Once all trades have been closed no more trades are opened on that day. If neither profit