|
Re: force index |
Posted by Peter Kwan on Jul-08-2022 03:28 |
|
Hi pisikesipelgas,
Yes, you can compute the indicator with your own code, and then ask ChartDirector to include it in the FinanceChart as a technical indicator using FinanceChart.addLineIndicator. See:
https://www.advsofteng.com/doc/cdphp.htm#FinanceChart.addLineIndicator.htm
From the information provided by you, the basic Force Index (1) should be easy to compute. You may use the ChartDirector ArrayMath utility to compute the EMA. See:
https://www.advsofteng.com/doc/cdphp.htm#ArrayMath.expAvg.htm
From your previous message, it seems you are using PHP. The FinanceChart is released in source code as "FinanceChart.php". You can examine it to find a lot of examples on how we compute and plot various indicators.
Best Regards
Peter Kwan |
Re: force index |
Posted by pisikesipelgas on Jul-08-2022 11:47 |
|
Hi,
I give a try. Thank You for the good tips.
Regards |
Re: force index |
Posted by pisikesipelgas on Jul-10-2022 21:07 |
|
Hi Peter,
I think i managed to implement this Force index i was interested.
How can i contribute this piece of code so it can be merged to FinanceChart.php? Or it does not matter to you?
Regards |
|