OPEN-SOURCE SCRIPT

Anand's Strategy


First, we identify the trend, the trend will be determined by the daily candles, whenever the daily candle closes above the high of a previous candle the trend becomes positive and the trend remains positive till the time a candle closes below the lowest price of this candle, however, if the cost of any future candle closes above the high of this candle then the bottom of this candle becomes the SL/ trend change point. And vice versa for the opposing side.

Once we have identified the trend we will trade only on the side of the trend in the 15mins candles
If the trend is positive then only positive trades will be initiated when the conditions are fulfilled I.e
Whenever a 15min candle closes above the high of a previous 15min candle then we enter the trade and if any 15min candle closes below the lowest price of this candle then we SL our trade, once any candle closes above the highest price of this candle then the lowest price of that candle becomes our trailing SL
Chart patterns

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer