Forex_Strategy_Builder.Backtester.MoneyToPips C# (CSharp) Method

MoneyToPips() public static method

Converts money to pips.
public static MoneyToPips ( double money, int bar ) : double
money double
bar int
return double
        public static double MoneyToPips(double money, int bar)
        {
            return money * AccountExchangeRate(Close[bar]) / (InstrProperties.Point * InstrProperties.LotSize);
        }