fxcodebase-backup

Expansion Contraction Indicator

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


Expansion Contraction Indicator

Apprentice · Fri May 02, 2014 3:37 am

Expansion Contraction Indicator.png

As requested. viewtopic.php?f=27&t=60623

Will give a range of last N periods. Range is define as. Range = max of last N - min of last N Average range is optional.

Expansion Contraction Indicator.lua

The indicator was revised and updated


Re: Expansion Contraction Indicator

Taskryr · Sun Nov 06, 2016 12:20 pm

Hello,

I’d like to request a simple addition to this indicator. Can we add an optional third line that is based on ATR for n periods? This third line needs to have a multiplier though. . . so that it shows n times ATR.

This is to monitor whether the average and range over n periods is greater or less than (Ex.) 2 or 3 times the ATR over n periods.

Thanks!


Re: Expansion Contraction Indicator

Apprentice · Mon Nov 07, 2016 6:38 am

ATR Line Added.