+1 888 340 6572

Miscellaneous > WeeklyBarsAnyDay

Article/Author: Emmanuel Lavelent for Omega Research, Inc., 1996

Download: WeeklyBarsAnyDay.ELA

File Includes:

Indicator - WeeklyBarsAnyDay
Function - WeeklyBarsAnyDay

Category: Indicator > Miscellaneous

Description:

This Indicator creates a Weekly chart based on any day, using Daily Data.

Usage:

Plot1 should use Style Left Tick.
Plot2 should use Style Bar High.
Plot3 should use Style Bar Low.
Plot4 should use style Right Tick.




Inputs:

WhichDay - is used to input 1 through 5 for Monday through Friday.
Barsago - is used to reurn the current week or a previous week

EasyLanguage Code:
INPUT:WHICHDAY(3),BARSAGO(0);


IF WEEKLYBARSANYDAY(WHICHDAY,BARSAGO,4) > -1 THEN BEGIN
PLOT1(WEEKLYBARSANYDAY(WHICHDAY,BARSAGO,1),"O");
PLOT2(WEEKLYBARSANYDAY(WHICHDAY,BARSAGO,2),"H");
PLOT3(WEEKLYBARSANYDAY(WHICHDAY,BARSAGO,3),"L");
PLOT4(WEEKLYBARSANYDAY(WHICHDAY,BARSAGO,4),"C");
END;