Can anyone make a code for this strategy for streak

buy condition for intraday

  1. use supertrend indicator to give trend signal and settings as per intraday requirement
  2. a long green candle crosses vwap line indicator
  3. change in macd line indicator to bullish trend ( where fast line cross above red line)
  4. no of buy orders are more than sell orders by 10 %

sell condition
target profit of 7 %
and stop loss of 3.85%

Hi @Parth_mittal198

I have created a strategy as per my understanding of your requirement. Click on the below link to view the strategy conditions.

The above strategy will generate an entry trigger when the Supertrend is green (bullish), MACD is higher than MACD Signal, and at the same time, a green candle with a long body crosses above the VWAP value.

I have also added a condition to check if the MACD bullish crossover has happened in the last 5 candles. I’ve disabled this condition in the strategy. However, you can copy the strategy in your account and enable this condition any time you want, and check the results.

Moreover, please note that market depth data is not supported in Streak. Due to this your 4th requirement cannot be implemented currently.

Hope this helps.