Hello friends,
Below is basic price code
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open = %g , Hi = %g , Lo = %g , Close = %g ( %.1f%% ) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();
When viewing intraday charts say hourly of 15 mins for ex rate of change is calculated with respect to immediate previous bar.
How to code it to show net % change wrt previous day closing even for intraday timeframe.
Thank you
Below is basic price code
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open = %g , Hi = %g , Lo = %g , Close = %g ( %.1f%% ) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();
When viewing intraday charts say hourly of 15 mins for ex rate of change is calculated with respect to immediate previous bar.
How to code it to show net % change wrt previous day closing even for intraday timeframe.
Thank you