How to get the high and low of Monday.

 

Hi , i am new to coding with mql5 and i struggle to find a way of returning the monday high and low . I don't even know where to start from to be honest.

Thank you!

 
answered in this thread before to get the daily highs and lows of a specific day:

Why do you want to zone in on a specific day? what's the problem with returning the daily highs and lows for X number of previous days?
 
Thanks for the refference. I am just trading based on Monday PA , this is why i need the specific range for it 
 
there's also a nice indicator recently published in the codebase

You can see the date and time under the chart of course
 
metinique:

Hi , i am new to coding with mql5 and i struggle to find a way of returning the monday high and low . I don't even know where to start from to be honest.

Thank you!

dayofweek for Monday is 1:

TimeToStruct - Date and Time - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5

Documentation on MQL5: Date and Time / TimeToStruct
Documentation on MQL5: Date and Time / TimeToStruct
  • www.mql5.com
Converts a value of datetime type (number of seconds since 01.01.1970) into a structure variable MqlDateTime . Parameters dt [in]  Date value...