Based on earlier strategy published - AlignedMA and Cumulative HighLow Strategy. Adjustments are done in entry and exit criteria to make it work for shares.
Modified to preserve existing entry criteria + additional MA shift condition. Exit criteria is set based on supertrend and trailing stops.
Most of the parameters are already optimized. You only need to alter SupertrendMult for individual shares based on individual share volatility. Usually works within 2-4.
There might be bit of repainting. I am unable to understand if there is any. Any suggestions on further improvements welcome :)
Note to moderators : I have used 1000 as initial capital with 100% on each trade. As strategy does not compound - I believe this is reasonable. I have kept this setting as this makes it easier to compare with buy and hold return.
릴리즈 노트
Remove calc_on_order_fills condition to get rid of repaint warning
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.