Black Friday great discounts start today Learn more
+1 888 340 6572

Miscellaneous > CombineDays II

Article/Author:

Download: COMB_DAYS.ELA

File Includes:

Indicator - ELD Combine Days

Category: Indicator > Miscellaneous

Description:

The Combine Days indicator takes a number of daily bars and combines them into one to create multi-day bars. This allows you to create n-day compression bar charts.

Once applied to a chart, you can hide the original daily bars from the Format | Symbol dialog.

These multi-day charts can be used with most drawing objects, but cannot be used with most built-in indicators.

Usage:

Set required number of bars to merge into one bar




Inputs:

NumDays - Number of bars to merge into one bar

EasyLanguage Code:

inputs: NumDays(2);

if FracPortion(Currentbar / NumDays) = 0 then begin

Plot1(Open[NumDays -1],"Open");
Plot2(Highest(High,NumDays),"High");
Plot3(Lowest(Low,NumDays),"Low");
Plot4(Close,"Close");

end;