bennef

Momentum BF

The momentum strategy is simple, if price action is higher than it was for x bars back, and also higher than it was last candle, we have upwards momentum. This momentum will be positive until a candle closes lower than the previous candle and also lower than x bars back - at which point we have downwards momentum.

The concept behind the Momentum Strategy is that when the momentum crosses from negative to positive, we go long and when it crosses from positive to negative we go short. We stay in that position until momentum crosses back the opposite direction.

INSTRUCTIONS:
  • Go long at the green background on the chart
  • Go short at the red background on the chart
  • The yellow lines are where your stop loss should be for longs
  • The orange lines are where your stop loss should be for shorts

I have included the options in Settings to change the stop loss type between ATR derived and Fixed percentage based. The default stop loss is a fixed 7%.
You can also select if you want only longs, only shorts or both.

The backtest was done with BTCUSD on Coinbase 1D.
สคริปต์โอเพนซอร์ซ

ด้วยจิตวิญญาณของ TradingView อย่างแท้จริง ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ได้ฟรี แต่การใช้รหัสนี้ซ้ำในสิ่งพิมพ์อยู่ภายใต้กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?