# EL statement for Point(Range) Bar

Questions about MultiCharts and user contributed studies.
valabhi
Posts: 45
Joined: 25 Jun 2007

### EL statement for Point(Range) Bar

can EL statement be written to create OHLC for a speified Points
or Range size bars,so that an indicator or signal can use those values for OHLC?. Point or Range bar size will not be same as chart data.

TJ
Posts: 7380
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 996 times
Been thanked: 2110 times
have you tried?

valabhi
Posts: 45
Joined: 25 Jun 2007
no Tj , I do not know how

TJ
Posts: 7380
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 996 times
Been thanked: 2110 times
EasyLanguage is very powerful; it can practically do any calculation and analysis you can imagine.

You can begin here:
Getting Started with EasyLanguage
http://www.tssupport.com/support/tutorials/

The book is not difficult, but will require some time and patience to read ...
The skill you acquired will repay your time investment in multifolds.

rex carroll
Posts: 1
Joined: 29 Aug 2009
Does anyone have or know where I can find the formula for Points (Range)? Wanting to use it in a script.

Thank you!

Andrew Kirillov
Posts: 1589
Joined: 28 Jul 2005
Has thanked: 2 times
Been thanked: 31 times
Contact:
can EL statement be written to create OHLC for a speified Points or Range size bars,so that an indicator or signal can use those values for OHLC?.
Point or Range bar size will not be same as chart data.

Does anyone have or know where I can find the formula for Points (Range)? Wanting to use it in a script.
The second data series should be used:

Data series #1 - your original data series (OHLC chart)
Data series #2 - your Point/Range bar data series

Use following statements to get data from Points/Range chart:

Code: Select all

```Open of data2 High of data2 Low of data2 Close of data2 ```
Put the indicator on the Data series #1.