wpatte15

Free Friday #19 from Build Alpha

92
www.buildalpha.com/freefriday/

Was poking around this website that had a lot of interesting ideas and strategies to look at, decided to build this one here since it's pretty quick and easy scalping strategy, was built for IWM but I had SPY open and so why not haha. I remove the day of month filter as I felt like that may have been curve fitting the strategy since I can't think of a logical reason to not trade only the first 4 days of the month, I believe that was the only change I made, I havent used pine in a bit so may have made some errors, I will post the backtest results from QuantConnect in the comments in a bit as that will likely be more accurate.

Thanks again to the author of that blog, he's on twitter @dburgh I believe, just stumbled upon his stuff today but it is some great work.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?