Add a higher timeframe filter to the trade open condition. When enabled every trade should pass through the HTF Check before sending an alert/making a trade. Requirements below.
HTF Filter: Enable/Disable
Amplitude: <Amplitude setting from the indicator>
Assuming the HTF timeframe is H4 and today's trading range is within the red vertical lines, trades will only be triggered on the current chart the EA is attached to (Could be h1, m15 e.t.c.) within the timeframe highlighted by the yellow
horizontal line, because this meets the conditions for a sell trade i.e. [The trendline is red for brearish, the last candle closed below the trendline)
Sample indicator set also attached
Note: I have a VM you can use for your tests with the Indicator installed.