仕事が完了した
指定
time period: from "day/month/year" to "day/month/year" OR previous N days;
time window: from "hours:minutes" to "hours:minutes";
time frame: any time frame that is available on MT5;
datas: Open, High, Low, Close, POC (for the POC use 1m OHLC datas, if this slows the terminal significantly there is another way);
for example, if time window is 8:00-20:00, timeframe is H1, period is 10 days...
the script will extract the OHLC/POC datas of each H1 candle from 8:00 to 20:00 (20:00 H1 candle not included) of the 10 previous days.
if the time window and the period were the same but the timeframe were, say, 15 minutes...
the script would extract the OHLC/POC datas of each m15 candle from 8:00 to 20:00 (20:00 m15 candle not included) of the 10 previous days.
the results are exported to an excel file and arranged as shown in the attachment.