My indicator is a modified Stochast indicator .
When the Stoch is >=90 for the first time in the day, say for exemple at 09:47, then in this case, I want that my system give for the "buysignal" the value of the highest high between the opening and the 17th bar, and for the "sellsignal" the...