I know how to get the highest and lowest price in general for a specific time period :

However how do I get it based on candle body closures as the method used above includes the wicks which I do not need. Any help is appreciated!
I know how to get the highest and lowest price in general for a specific time period :

However how do I get it based on candle body closures as the method used above includes the wicks which I do not need. Any help is appreciated!
It's all of my projects. It is weird because on my laptop it seems to work just fine with exactly the same file but on my PC it just always stays grey.
I've already tried re-installing it multiple times and that does not seem to fix the issue.
When I put the file directly into the registry user/appdata/etc then it works but getting the code to function from metaeditor into metatrader doesn't work. I could be doing the process wrong of going from metaeditor to metatrader so lmk if there is a tutorial I can follow, I figured it out by just clicking buttons till it worked 
I can not seem to get my fxdreema output file to work in the metaeditor 5. I click on compile and after I used to be able to click the green "play" button which would turn it into an actual EA but I can't anymore. Any tips?
I feel like it is a simple solution but don't know how to solve it

Thanks so much! Do I then start doing this before or after the once a day function? I understand the logic for the most part but how do I know from when the start candle ID start?
https://fxdreema.com/shared/baQk42Vlc
How would I do that though in terms of function? Do I use the once a day twice or something? I don't understand how to get it to start checking from yesterday?
How can I get my ea to read previous days price action and current day price action.
I need to use the data for a fomula but 00:00 time is in between that. I need to read the data from 9pm the previous day till 3am of the current day. How do I do that using the functions and constant that I have.
Worked on it some more today, got it working till an extent. But my main question now is when I have a formula that looks at the highest and lowest price in a range does it take into account the wicks or does it only look at bodies?
Most up to day version: https://fxdreema.com/shared/YAIGuvxwc
The price range is what the pending will be based on
The main reason is that the price range happens during the night time for me and I would like to have an automated bot for it. Also the price range would of course be different every day. So for example on Monday price range is 20 pips so pending should be placed 20 pips above and below the range and Tuesday is 10 and the pending would be placed 10 above and below the price range.
I realized I had some major mistakes in some part so here is a more correct version: https://fxdreema.com/shared/DiCNcoOT