ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  How to display the RSI and other indicators on chart
Posted by Manisha on Jul-31-2015 14:30
Hi,

I am working on Interactive financial chart with filter having TimePeriod, Range,
ChartType, Technical Indicators etc i want to show RSI indicator on chart i have demo code
where 14 days is the time period and 20 is the range, for my dynamic chart what should
be the values to display the RSI indicator like i have 1 day, 2 day etc are the time period
and Range is Daily, Weekly and Monthly.

Please clear the concept.

Thanks
Regards
Manisha

  Re: How to display the RSI and other indicators on chart
Posted by Peter Kwan on Jul-31-2015 17:26
Hi Manisha,

The RSI is a standard indicator. Like most financial indicators, it us based on trading
sessions. An RSI period of 14 means 14 trading sessions, which means 14
open/high/low/close values. Your code can use any kind of values, such as hourly or
weekly or daily or monthly values.

The 14 period RSI is the most commonly used RSI. Like moving averages, you can use any
period you like.

Hope this can help.

Regards
Peter Kwan

  Re: How to display the RSI and other indicators on chart
Posted by Manisha on Jul-31-2015 18:40
Hi sir,

Still it is not clear just wanted to confirm like if i use

if (indicator == "RSI")
            {
                return m.addRSI(height, 14, 0x800080, 20, 0xff6666, 0x6666ff);//Demo time
period and range value.
            }

Time period =720 days
range=Daily i.e i day

is this correct to use?

Thanks

  Re: How to display the RSI and other indicators on chart
Posted by Peter Kwan on Jul-31-2015 23:33
Hi Manisha,

Yes. It is correct to use.

The m.addRSI(height, 14, 0x800080, 20, 0xff6666, 0x6666ff); is correct no matter what is
your time range or whether it is daily or not.

In our sample code "Interactive Financial Chart", the chart cover from 1 day to 10 years,
and can be 15 minute, hourly, daily, weekly and monthly. Yet, we only use 14 as the RSI
period.

Hope this can help.

Regards
Peter Kwan