fxcodebase-backup

Self-adjusting Cross of Two moving average

Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=72098
Forum: 17 · Topic 72098 · 1 post(s)


Self-adjusting Cross of Two moving average

Apprentice · Sat Apr 16, 2022 9:38 am

USDJPY H1 (04-16-2022 1638).png

The periods of the moving averages will be calculated based on two fractal indicators “Confirmation Level” - Define the Fractal Level

“Confirmations” - Define how many data points will be needed to calculate the Average

For standard Fractal Indicator use 2 as Confirmation Level A bullish fractal occurs when there is a low point with two higher low bars/candles on each side of it. A bearish fractal occurs when there is a high point with two lower high bars/candles on each side of it.

If 8 is used as Confirmation Level A bullish fractal occurs when there is a low point with eight higher low bars/candles on each side of it. A bearish fractal occurs when there is a high point with eight lower high bars/candles on each side of it.

Self-adjusting Cross of Two moving average.lua