How to use FinancialFormula and return to datatable RRS feed

  • Question

  • Hi

    Newbie question!

    I got my data (date and price of a stock) in a datatable. I want to calculate the 2 period RSI value using the FinancialFormula.RelativeStrengthIndex and store the output value in a DataTable together with date and price.

    I don't want a visual chart output for now.

    Anyone know how to do this?

    I've tried to figure out  how to use the formula but cant get it. Need  a code example to figure it out and learn how to use series


    Saturday, October 21, 2017 1:12 PM

All replies

  • Hi C_sharp_RL,

    Thank you for posting here.

    In MSDN article, it gives a good explanation that the syntax of Relative Strength Index Formula is for chart.

    This formula outputs one Y value.

    For more details, you could refer to the MSDN article.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Tuesday, October 24, 2017 2:45 AM