Download: tickdbars.ela
File Includes: PaintBar > TickDailyBars
Category: PaintBar
Description: TradeStation does not allow the user to make a Multi Data Chart with a Tick Bar Chart
and any other type a chart. This indicator allows the user to plot a daily bar chart on a Tick Bar Chart.
These PaintBars will much show better if the style is set to a different color and/or thicker than
the standard bars.
EasyLanguage Code:
VARS: D_HI(0), D_LO(1000);
IF DATE <> DATE[1] AND DAYOFWEEK(DATE[1]) <> 0 THEN BEGIN
PLOT1[1](D_HI,"HIGH");
PLOT2[1](D_LO,"LOW");
D_LO = LOW;
D_HI = HIGH;
END;
IF HIGH > D_HI THEN D_HI = HIGH;
IF LOW < D_LO THEN D_LO = LOW;
IF CURRENTBAR = 1 THEN BEGIN
D_LO = LOW;
D_HI = HIGH;
END;
{THE PURPOSE OF THE LINE . . .
DAYOFWEEK(DATE[1]) <> 0
IS THAT IT WILL NOT PAINT A BAR ON SUNDAY NIGHT GLOBEX.}