feat: Create v8 indicator with sticky trend detection
V8 Changes (fundamental improvements, not just filter toggles): - Increased ATR multipliers across all timeframes (stickier line) - Minutes: 3.3→3.8 - Hours: 3.0→3.5 - Daily: 2.8→3.2 - Weekly: 2.5→3.0 - NEW flip threshold (0.5%): Requires price to move beyond line by % before color changes - Entry buffer enabled by default (0.20 ATR vs 0.15) - ADX minimum increased to 18 (from 14) for stronger trend requirement - Core HalfTrend logic modified to require threshold breach before flip Goal: Reduce flip-flops while maintaining high-quality trend signals Test against v6 (filtered) and v7 (pure flips) for comparison
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//@version=5
|
||||
indicator("Bullmania Money Line v7 Line Flips", shorttitle="Money Line v7", overlay=true)
|
||||
//@version=6
|
||||
indicator("Bullmania Money Line v7 Line Flips", shorttitle="ML v7", overlay=true)
|
||||
|
||||
// Calculation source (Chart vs Heikin Ashi)
|
||||
srcMode = input.string("Chart", "Calculation source", options=["Chart","Heikin Ashi"], tooltip="Use regular chart candles or Heikin Ashi for the line calculation.")
|
||||
@@ -243,4 +243,4 @@ if finalShortSignal
|
||||
|
||||
// Fill area between price and Money Line
|
||||
fill(plot(close, display=display.none), plot(upTrend, display=display.none), color=color.new(color.green, 90))
|
||||
fill(plot(close, display=display.none), plot(downTrend, display=display.none), color=color.new(col
|
||||
fill(plot(close, display=display.none), plot(downTrend, display=display.none), color=color.new(color.red, 90))
|
||||
Reference in New Issue
Block a user