Need help to code a strategy

If the 5min candle cross below/above 50sma or 200sma and if the gap between 50sma and 200sma lines is greater than or equal to 1%. It should give the signal.

I am looking for the stock that are in between two sma lines.

@Streak can you.

You can use the following and let me know if you face any issues

1 Like

Thank you very much.

Hi @Krishnendu

How can I add the condition “Up by 1% from” ?
Because, right now there are only higher than, lower than, crossovers and equal to options.

You can switch to Create Plus i.e Advanced Create to find Up by, Down by comparator.

1 Like