# HighD and HighS in renko charts  [SOLVED]

Questions about MultiCharts and user contributed studies.
Automeq
Posts: 95
Joined: 16 Apr 2014
Has thanked: 12 times
Been thanked: 1 time

### HighD and HighS in renko charts

I tried to plot HighD or HighS in a ES chart (1 minute, 1 pt size) but I don't get the High of the day or the session, like in any candlestick 1m.

Code: Select all

plot1(HighD(0)) or

plot1(HighS(0))

The only think plotted is a line with value = -1 in every day/session.

These are not supposed to work in renko charts ?

(same problem, obviously, with Open, Low, Close)

TJ
Posts: 6890
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 984 times
Been thanked: 1979 times

### Re: HighD and HighS in renko charts

HighD (Function)

The HighD series function allows you to reference the daily high of a previous day in an intraday chart (minute or tick-based) or a daily chart. HighD is one of a family of functions that allows historical references across various data intervals.

Syntax
HighD(PeriodsAgo)

Returns (Double)
The daily high price from a specified number of days ago. If the PeriodsAgo parameter is out of range (> 50), or there is not enough data, the function will return –1.

Parameters
Name

Type

Description

PeriodsAgo

Numeric

Sets the number of days/periods back to reference a previous day’s high price. (50 days back maximum) (0 = Today’s current high)

Remarks
You must have enough intraday data in the chart in order to look back and reference any previous daily high. For example, if you want to look back at the high of 25 days ago on a 5-minute chart, you must have at least 26 full days of 5-minute bars in the chart.

The value for the PeriodsAgo input parameter should always be a whole number greater than or equal to 0, but less than 51. Setting PeriodsAgo to 0 returns today’s current high.

Example
In order to place a short limit order at the High of the previous day you would write:

SellShort Next Bar at HighD(1) Limit;

LowD, CloseD, OpenD, HighW, HighM, and HighY.

These users thanked the author TJ for the post:
Automeq

Automeq
Posts: 95
Joined: 16 Apr 2014
Has thanked: 12 times
Been thanked: 1 time

### Re: HighD and HighS in renko charts

Thanks TJ but I don't understand the description.

It says previous day which is not exactly the case if we use zero.

If I plot HighD(0) or HighS(0) in a 1m chart, I do get the high of the current day or current session (updating dynamically whenever a bar makes a new high).

Then it says "intraday chart (minute or tick-based) or a daily chart". I guess this should be valid for "intraday bar/candle/renko/... chart (minute or tick-based)".

However, although I can plot this in a 1m candle or bar chart, I can't do the same in a renko 1 min/1 point.

To avoid wasting time searching for something that doesn't exist, I was wondering if the HighD and HighS are not available for renkos for some reason.

Henry MultiСharts
Posts: 8717
Joined: 25 Aug 2011
Has thanked: 1219 times
Been thanked: 2807 times

### Re: HighD and HighS in renko charts  [SOLVED]

Hello Automeq,

HighD(0), HighS(0) and all similar commands work only on intraday resolutions, Regular chart type.
They won't work on non-standard chart types (Renko, Heikin-Ashi, Custom Resolution plugins, etc).
These users thanked the author Henry MultiСharts for the post (total 2):