fxcodebase-backup

Trend Duration

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


Trend Duration

Apprentice · Fri Jul 27, 2018 9:41 am

EURUSD m15 (07-27-2018 1442).png

Based on request. viewtopic.php?f=27&t=66308 Will show the number of periods for which price has consecutively closed above or below a moving average.

Trend Duration.lua


Re: Trend Duration

isamegrelo · Fri Jul 27, 2018 10:04 am

Could you make strategy from this indicator?


Re: Trend Duration

Apprentice · Mon Jul 30, 2018 10:10 am

Can you specify the strategy rules? For simple Price / MA cross, you could use one of this two strategies. viewtopic.php?f=31&t=2403 viewtopic.php?f=31&t=64535