Buying Price to be High of BUY Candle in super trend

If a BUY signal is given by the Super trend Indicator. I would like to purchase whenever any candle crosses above the price of RS 3 plus the High of the Candle (Buy Candle identified by the Super trend indicator). This can be the immediate candle or a candle later on.

How do I code this in Streak as an Entry Signal.