It is getting complex indeed
You are almost correct, however:
1.) The time issue is this. I want the system to start working at 8 AM in the morning BUDAPESt time, which is GMT+1 in the winter and GMT+2 in the summer. But because I did not want to start messing with time, I substracted 2 hours from my time and that is why in the system you will see 6 AM.
2.) At 6 GMT the system has to look for the high and the low, THAT day,meaning, it has to count back 8 HOUR candles, because Budapest 8 AM.. etc .. you get the point.
3.) At that point we ad 10 pips to the highest high and substract 10 pips from the lowest low and those will be my PENDING open's (stop buy to the upside and stop sell to the downside). I know in the system you have now, it isnot 10 but 15 pips (NOT 150).
4.) The default SL = 35 pips and the default TP: 100 pips.
5.) Now, if after an inital entry my SL is it, I want to enter a reverse trade there with the same default SL and Tp to the other side of course.
6.) If after my first trade the PT is hit, i want the the conditional reverse entry to be cancelled)
7.) If at midnight my time (GMT +2 ) I am still in position, I want those to close, with this ending the day.
8.) Untill now, the points above, I had the system working without any problem. BUT i noticed that due to HUGE spread jumps, sometimes my SL was hit even though the MIDPOINT rate was NOT even close to my SL. At interactive brokers, the SL is always triggered, when the MIDPOINT corsses my SL. SoI want my system to only execute my 35 PIP stoploss when the MIDPOINT rate hits the 35 pips, NOT the ASK or BID price (according to if it is a buy stop loss or sell stop loss).
Do you understand what I want?