Forum

closing price

I want to show the closing price of the previous bar when it comes to the new bar And I'm using this code to do this, but it's a mistake void OnTick () { double Open []; int count; // number of elements to copy ArraySetAsSeries ( Open , true ); CopyOpen ( _Symbol , _Period , 0 ,count, Open );

How can I get hour and minute from market watch?

Hello How can I get and display the hour and minute from market watch in mql5 ? Display hours and minutes individually and together thank you

how we use seconds() in mql5

hi In mql4 for counting seconds from the start of the minutes we have Seconds() What is the equivalent of this function in mql5? In other words, how can I have in a mql5 seconds in a minute