Forum

OrderCloseTime() writing incorrect time with other Order Functions are writing correctly

Hello - I have copied a snippet of my code below. It is attempting to write a bunch of order information to file upon closing a trade. The order functions I use (OrderTicket(),OrderSymbol(),Order_Type,OrderOpenPrice(),OrderClosePrice(), etc) all write the correct values to file. However

Adding indicator values to trade functions to write to file later

I am looking to see if there is a way to add current indicator values of a trade the moment it opens to a trade function so that later once the trade closes I can write all associated data for a trade to file easily from the order functions. I have looked into storing things in the OrderComment