Forum

The issue with the Chikou Span output when using the iIchimoku function in MQL code.

Hello everyone When I use the iIchimoku function in MQL5 code, the Chikou Span value, which should be equal to the current candle's close price, is incorrect and returns a wrong value. Could you please guide me? Thank you

how to get the time to open a closed trade

hello everyone I want to get the time to open a closed trade. I took help from artificial intelligence and it suggested this program line. datetime openTime = HistoryDealGetInteger(lastDealTicket, DEAL_ENTRY_TIME); But DEAL_ENTRY_TIME does not exist in mql5. You may help. thank you