Streak coding write

Hello,
Please give me an example how to write position alert for Last traded price is less by 3% from High price of the day in the streak platform & which subscription plan is suitable for this.
Thank U

@Streak

Hello,
Please give me an example how to write position alert for Last traded price is less by 3% from High price of the day in the streak platform & which subscription plan is suitable for this.
Thank U

Wait for reply from @Streak, they will explain.

Hi @harsinchh

This is quite simple to do, using up by/down by comparator where you can specify the % something should be up by or down by, present in both scanner and create plus.

We don’t have LTP, instead you can use 1min close.
Also wanted to confirm,

Here is this the high of current day of prev day? As if it high of current days, it becomes highly unlikely for any trigger to come.

Suppose hp of current day of stock A is 102 @ want alert trigger if last traded price of the stock goes down by 2% = 99.96. Is this possible code to write in the streak. Which min candle to be used in particular code?
in other words want stock price alert when last traded price of the stock is less by 2% from its hp of current trading day which will be at any time of the day.