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.

You may also like
OptionRho
Option Rho is a hedge parameter, one of the so-called Greeks. It measures sensitivity of option ...
Alert
Shows an alert message with the text and plays the sound when the condition is true. Note that ...
GetPriceType
Returns the price type selected for the current symbol: "Last", "Bid", "Ask", or "Mark". Note ...