GetInterestRate

GetInterestRate ();

Description

Returns the global interest rate. This function cannot be used in Study Filters.

Example

declare lower;
input loan = 1000;
plot Charge = loan * GetInterestRate();
AddLabel(yes, "Interest Rate: " + GetInterestRate() * 100);

This example draws a charge for the loan at the current interest rate displayed in the chart label.