I am trying to find out what the code of function calculations are for the basic efs RSI and CCI. Please if anybody knows this information or where to go can you let me know.
For an EFS example of how the RSI is calculated, see RSIEnhanced.efs and RSIStandard.efs in \eSignal\Formulas\Library\ folder. These formulas are installed with the eSignal installation. We do not have an EFS version of the CCI calculation. Below is a basic explanation of how it is calculated from Steven B. Achelis' book, Technical Analysis from A to Z. Hope this helps.
1. Add each period's high, low, and close and divide this sum by 3. This is the typical price.
2. Calculate an n-period simple moving average of the typical prices computed in Step 1.
3. For each of the prior n-periods, subtract today's Step 2 value from Step 1's value n days ago. For example, if you were calculating a 5-day CCI, you would perform five subtractions using today's Step 2 value.
4. Calculate an n-period simple moving average of the absolute values of each of the results in Step 3.
5. Multiply the value in Step 4 by 0.015.
6. Subtract the value from Step 2 from the value in Step 1.
7. Divide the value in Step 6 by the value in Step 5.
Jason K.
Project Manager eSignal - an Interactive Data company
Comment