# lower projection band

Questions about MultiCharts and user contributed studies.
Neha

### lower projection band

If anyone can help me code this indicator in multicharts , its too useful ,any help will be too appreciated .

Slope of High
{14 period regression line of High)}
((14 * (Sum( Cum(1) * HIGH, 14))) - (Sum( Cum(1),14) * ( Sum(HIGH, 14)))) /
((14 * Sum( Pwr( Cum(1), 2), 14)) - Pwr( Sum(Cum(1),14), 2))

Slope of Low

{14 period regression line of Low}
((14 * (Sum( Cum(1) * LOW, 14))) - (Sum( Cum(1), 14) * ( Sum(LOW, 14))))/
((14 * Sum( Pwr( Cum(1), 2), 14)) - Pwr( Sum(Cum(1),14), 2))

Upper Projection Band
Max(HIGH,
Max( Ref(HIGH,-1) + 1 * Fml("slope of high"),
Max( Ref(HIGH,-2) + 2 * Fml("slope of high"),
Max( Ref(HIGH,-3) + 3 * Fml("slope of high"),
Max( Ref(HIGH,-4) + 4 * Fml("slope of high"),
Max( Ref(HIGH,-5) + 5 * Fml("slope of high"),
Max( Ref(HIGH,-6) + 6 * Fml("slope of high"),
Max( Ref(HIGH,-7) + 7 * Fml("slope of high"),
Max( Ref(HIGH,-8) + 8 * Fml("slope of high"),
Max( Ref(HIGH,-9) + 9 * Fml("slope of high"),
Max( Ref(HIGH,-10) + 10 * Fml("slope of high"),
Max( Ref(HIGH,-11) + 11 * Fml("slope of high"),
Max( Ref(HIGH,-12) + 12 * Fml("slope of high"),
Ref(HIGH,-13) + 13 * Fml("slope of high"))))))))))))))

Lower Projection Band
Min(LOW,
Min( Ref(LOW,-1) + 1 * Fml("slope of low"),
Min( Ref(LOW,-2) + 2 * Fml("slope of low"),
Min( Ref(LOW,-3) + 3 * Fml("slope of low"),
Min( Ref(LOW,-4) + 4 * Fml("slope of low"),
Min( Ref(LOW,-5) + 5 * Fml("slope of low"),
Min( Ref(LOW,-6) + 6 * Fml("slope of low"),
Min( Ref(LOW,-7) + 7 * Fml("slope of low"),
Min( Ref(LOW,-8) + 8 * Fml("slope of low"),
Min( Ref(LOW,-9) + 9 * Fml("slope of low"),
Min( Ref(LOW,-10) + 10 * Fml("slope of low"),
Min( Ref(LOW,-11) + 11 * Fml("slope of low"),
Min( Ref(LOW,-12) + 12 * Fml("slope of low"),
Ref(LOW,-13) + 13 * Fml("slope of low"))))))))))))))

TJ
Posts: 6874
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 984 times
Been thanked: 1976 times