NinjaTrader 8 Indicators and More - Formula Indicator
futures io futures trading


Categories Help    

NinjaTrader 8 Indicators and More
Indicators and Files in this section are compatible with NinjaTrader 8


Entries
Formula Indicator 5 *
Formula indicator which allows you to generate new series on the fly by formula

Simple formula examples:
CLOSE(0) / CLOSE(1)
(HIGH(0) - LOW(0)) / 2
MATH-LOG10(CLOSE(0))
CLOSE(0) / VALUE(SMA(14), 0)
(CLOSE(0) / CLOSE(1)) * 14
VALUE(SMA(BARS-ARRAY(0),14), 0)
VALUE(SMA(14), 0) - VALUE(EMA(14), 0)


Comparison to NinjaScript syntax (left is formula expression - right is NinjaScript/C# expression):
CLOSE() - Close
CLOSE(0) - Close[0]
VALUE(VOL(),0) - VOL()[0]
VALUE(CLOSE(), 0) - Close[0]
BARS-ARRAY(0) - BarsArray[0]
VALUE(SMA(BARS-ARRAY(0), 14), 0) - SMA(BarsArray[0], 14)[0]
VALUE(SMA(14),0) - SMA(14)[0]
VALUE(MACD(12,26,9),0) - MACD(12,26,9)[0]
MATH-LOG10(CLOSE(0)) - Math.Log10(Close[0])

Supported Price Series:
CLOSE, OPEN, HIGH, LOW, WEIGHTED, TYPICAL, MEDIAN

Supported Indicators:
ADL, ADX, ADXR, AroonOscillator, ATR, BOP, CCI, CMO, DEMA, DisparityIndex, DM, EMA, FOSC, HMA, KAMA, LinReg, LinRegIntercept, LinRegSlope, MACD, MAMA, MAX, MFI, MIN, Momentum, OBV, ParabolicSAR, PFE, Range, RIND, ROC, RSI, RSquared, StdDev, SMA, StochRSI, SUM, TEMA, TMA, TSF, TSI, UltimateOscillator, VMA, VOL, WilliamsR, WMA, ZLEMA

Supported math functions:
MATH-ABC, MATH-LOG, MATH-LOG10, MATH-EXP, MATH-SQRT, MATH-ACOS, MATH-ASIN, MATH-ATAN, MATH-ATAN2, MATH-CEILING, MATH-COS, MATH-COSH, MATH-E, MATH-FLOOR, MATH-IEEEREMAINDER, MATH-MAX, MATH-MIN, MATH-PI, MATH-POW, MATH-ROUND, MATH-SIN, MATH-SINH, MATH-TAN, MATH-TANH

Also attaching tests results which can help you to see different combination of formulas:
[OK] "4 + 2" (expected: 6 actual: 6)

[OK] "5 - 2" (expected: 3 actual: 3)
[OK] "6 / 2" (expected: 3 actual: 3)
[OK] "7 * 2" (expected: 14 actual: 14)
[OK] "7 * 2 + 4" (expected: 18 actual: 18)
[OK] "(3 * 2) + 5" (expected: 11 actual: 11)
[OK] "VALUE(SMA(20), 0) - VALUE(SMA(10), 0)" (expected: -0.000764999999999016 actual: -0.000764999999999016)
[OK] "( ( VALUE(SMA(14), 0) - VALUE(SMA(14), 1) ) / VALUE(SMA(14), 1) ) * 100" (expected: 0.0148253190666608 actual: 0.0148253190666608)
[OK] "MATH-ABC(5)" (expected: 5 actual: 5)
[OK] "MATH-ABC(-5)" (expected: 5 actual: 5)
[OK] "MATH-ABC( VALUE(WilliamsR(14), 0) )" (expected: 21.8750000000039 actual: 21.8750000000039)
[OK] "MATH-LOG(MATH-EXP(9.9))" (expected: 9.9 actual: 9.9)
[OK] "MATH-LOG10(0.105)" (expected: -0.978810700930062 actual: -0.978810700930062)
[OK] "MATH-LOG10(0.5)" (expected: -0.301029995663981 actual: -0.301029995663981)
[OK] "MATH-LOG10(0.798)" (expected: -0.0979971086492706 actual: -0.0979971086492706)
[OK] "MATH-LOG10(CLOSE(0))" (expected: 0.0450881615428167 actual: 0.0450881615428167)
[OK] "MATH-SQRT(2870.3)" (expected: 53.5751808209734 actual: 53.5751808209734)
[OK] "MATH-ACOS(45)" (expected: NaN actual: NaN)
[OK] "VALUE(CLOSE(), 0)" (expected: 1.1094 actual: 1.1094)
[OK] "CLOSE(0)" (expected: 1.1094 actual: 1.1094)
[OK] "VALUE(OPEN(), 0)" (expected: 1.1091 actual: 1.1091)
[OK] "OPEN(0)" (expected: 1.1091 actual: 1.1091)
[OK] "VALUE(HIGH(), 0)" (expected: 1.10985 actual: 1.10985)
[OK] "HIGH(0)" (expected: 1.10985 actual: 1.10985)
[OK] "VALUE(LOW(), 0)" (expected: 1.1089 actual: 1.1089)
[OK] "LOW(0)" (expected: 1.1089 actual: 1.1089)
[OK] "VALUE(WEIGHTED(), 0)" (expected: 1.1093875 actual: 1.1093875)
[OK] "WEIGHTED(0)" (expected: 1.1093875 actual: 1.1093875)
[OK] "VALUE(MEDIAN(), 0)" (expected: 1.109375 actual: 1.109375)
[OK] "MEDIAN(0)" (expected: 1.109375 actual: 1.109375)
[OK] "VALUE(TYPICAL(), 0)" (expected: 1.10938333333333 actual: 1.10938333333333)
[OK] "TYPICAL(0)" (expected: 1.10938333333333 actual: 1.10938333333333)
[OK] "VALUE(ADL(), 0)" (expected: -182256.34354221 actual: -182256.34354221)
[OK] "VALUE(ADL(BARS-ARRAY(0)), 0)" (expected: -182256.34354221 actual: -182256.34354221)
[OK] "VALUE(ADL(CLOSE()), 0)" (expected: -182256.34354221 actual: -182256.34354221)
[OK] "VALUE(ADL(SMA(1)), 0)" (expected: -182256.34354221 actual: -182256.34354221)
[OK] "VALUE(ADX(14), 0)" (expected: 29.6009497977994 actual: 29.6009497977994)
[OK] "VALUE(ADX(BARS-ARRAY(0), 14), 0)" (expected: 29.6009497977994 actual: 29.6009497977994)
[OK] "VALUE(ADX(CLOSE(), 14), 0)" (expected: 29.6009497977994 actual: 29.6009497977994)
[OK] "VALUE(ADX(SMA(1), 14), 0)" (expected: 29.6009497977994 actual: 29.6009497977994)
[OK] "VALUE(ADXR(10,14), 0)" (expected: 22.575677726387 actual: 22.575677726387)
[OK] "VALUE(ADXR(BARS-ARRAY(0),10,14), 0)" (expected: 22.575677726387 actual: 22.575677726387)
[OK] "VALUE(ADXR(CLOSE(), 10,14), 0)" (expected: 22.575677726387 actual: 22.575677726387)
[OK] "VALUE(ADXR(SMA(1), 10,14), 0)" (expected: 22.575677726387 actual: 22.575677726387)
[OK] "VALUE(AroonOscillator(14), 0)" (expected: 71.4285714285714 actual: 71.4285714285714)
[OK] "VALUE(AroonOscillator(BARS-ARRAY(0), 14), 0)" (expected: 71.4285714285714 actual: 71.4285714285714)
[OK] "VALUE(AroonOscillator(CLOSE(), 14), 0)" (expected: 71.4285714285714 actual: 71.4285714285714)
[OK] "VALUE(AroonOscillator(SMA(1), 14), 0)" (expected: 71.4285714285714 actual: 71.4285714285714)
[OK] "VALUE(ATR(14), 0)" (expected: 0.000755675079148666 actual: 0.000755675079148666)
[OK] "VALUE(ATR(BARS-ARRAY(0), 14), 0)" (expected: 0.000755675079148666 actual: 0.000755675079148666)
[OK] "VALUE(ATR(CLOSE(), 14), 0)" (expected: 0.000755675079148666 actual: 0.000755675079148666)
[OK] "VALUE(ATR(SMA(1), 14), 0)" (expected: 0.000755675079148666 actual: 0.000755675079148666)
[OK] "VALUE(BOP(14), 0)" (expected: 0.183493073342715 actual: 0.183493073342715)
[OK] "VALUE(BOP(BARS-ARRAY(0), 14), 0)" (expected: 0.183493073342715 actual: 0.183493073342715)
[OK] "VALUE(BOP(CLOSE(), 14), 0)" (expected: 0.183493073342715 actual: 0.183493073342715)
[OK] "VALUE(BOP(SMA(1), 14), 0)" (expected: 0.183493073342715 actual: 0.183493073342715)
[OK] "VALUE(CCI(14), 0)" (expected: 120.133261300689 actual: 120.133261300689)
[OK] "VALUE(CCI(BARS-ARRAY(0), 14), 0)" (expected: 120.133261300689 actual: 120.133261300689)
[OK] "VALUE(CCI(CLOSE(), 14), 0)" (expected: 120.133261300689 actual: 120.133261300689)
[OK] "VALUE(CCI(SMA(1),14), 0)" (expected: 120.133261300689 actual: 120.133261300689)
[OK] "VALUE(CMO(14), 0)" (expected: 45.0980392156965 actual: 45.0980392156965)
[OK] "VALUE(CMO(BARS-ARRAY(0), 14), 0)" (expected: 45.0980392156965 actual: 45.0980392156965)
[OK] "VALUE(CMO(CLOSE(), 14), 0)" (expected: 45.0980392156965 actual: 45.0980392156965)
[OK] "VALUE(CMO(SMA(1), 14), 0)" (expected: 45.0980392157274 actual: 45.0980392157274)
[OK] "VALUE(DEMA(14), 0)" (expected: 1.10915796254563 actual: 1.10915796254563)
[OK] "VALUE(DEMA(BARS-ARRAY(0), 14), 0)" (expected: 1.10915796254563 actual: 1.10915796254563)
[OK] "VALUE(DEMA(CLOSE(), 14), 0)" (expected: 1.10915796254563 actual: 1.10915796254563)
[OK] "VALUE(DEMA(SMA(1), 14), 0)" (expected: 1.10915796254565 actual: 1.10915796254565)
[OK] "VALUE(DisparityIndex(25), 0)" (expected: 0.118721312343214 actual: 0.118721312343214)
[OK] "VALUE(DisparityIndex(BARS-ARRAY(0), 25), 0)" (expected: 0.118721312343214 actual: 0.118721312343214)
[OK] "VALUE(DisparityIndex(CLOSE(), 25), 0)" (expected: 0.118721312343214 actual: 0.118721312343214)
[OK] "VALUE(DisparityIndex(SMA(1),25), 0)" (expected: 0.118721312343214 actual: 0.118721312343214)
[OK] "VALUE(DM(14), 0)" (expected: 29.6009497977994 actual: 29.6009497977994)
[OK] "VALUE(DM(BARS-ARRAY(0), 14), 0)" (expected: 29.6009497977994 actual: 29.6009497977994)
[OK] "VALUE(DM(CLOSE(), 14), 0)" (expected: 29.6009497977994 actual: 29.6009497977994)
[OK] "VALUE(DM(SMA(1), 14), 0)" (expected: 29.6009497977994 actual: 29.6009497977994)
[OK] "VALUE(DM.DiPlus(14), 0)" (expected: 28.5818630008438 actual: 28.5818630008438)
[OK] "VALUE(DM.DiPlus(BARS-ARRAY(0), 14), 0)" (expected: 28.5818630008438 actual: 28.5818630008438)
[OK] "VALUE(DM.DiPlus(CLOSE(), 14), 0)" (expected: 28.5818630008438 actual: 28.5818630008438)
[OK] "VALUE(DM.DiPlus(SMA(1), 14), 0)" (expected: 28.5818630008438 actual: 28.5818630008438)
[OK] "VALUE(DM.DiMinus(14), 0)" (expected: 10.0017764240038 actual: 10.0017764240038)
[OK] "VALUE(DM.DiMinus(BARS-ARRAY(0), 14), 0)" (expected: 10.0017764240038 actual: 10.0017764240038)
[OK] "VALUE(DM.DiMinus(CLOSE(), 14), 0)" (expected: 10.0017764240038 actual: 10.0017764240038)
[OK] "VALUE(DM.DiMinus(SMA(1), 14), 0)" (expected: 10.0017764240038 actual: 10.0017764240038)
[OK] "VALUE(EMA(14), 0)" (expected: 1.10847618080925 actual: 1.10847618080925)
[OK] "VALUE(EMA(BARS-ARRAY(0), 14), 0)" (expected: 1.10847618080925 actual: 1.10847618080925)
[OK] "VALUE(EMA(CLOSE(), 14), 0)" (expected: 1.10847618080925 actual: 1.10847618080925)
[OK] "VALUE(EMA(SMA(1), 14), 0)" (expected: 1.10847618080927 actual: 1.10847618080927)
[OK] "VALUE(FOSC(14), 0)" (expected: -0.00837003346463134 actual: -0.00837003346463134)
[OK] "VALUE(FOSC(BARS-ARRAY(0), 14), 0)" (expected: -0.00837003346463134 actual: -0.00837003346463134)
[OK] "VALUE(FOSC(CLOSE(), 14), 0)" (expected: -0.00837003346463134 actual: -0.00837003346463134)
[OK] "VALUE(FOSC(SMA(1), 14), 0)" (expected: -0.00837003285063601 actual: -0.00837003285063601)
[OK] "VALUE(HMA(14), 0)" (expected: 1.10938436506785 actual: 1.10938436506785)
[OK] "VALUE(HMA(BARS-ARRAY(0), 14), 0)" (expected: 1.10938436506785 actual: 1.10938436506785)
[OK] "VALUE(HMA(CLOSE(), 14), 0)" (expected: 1.10938436506785 actual: 1.10938436506785)
[OK] "VALUE(HMA(SMA(1), 14), 0)" (expected: 1.10938436506827 actual: 1.10938436506827)
[OK] "VALUE(KAMA(2,10,30), 0)" (expected: 1.10848323049355 actual: 1.10848323049355)
[OK] "VALUE(KAMA(BARS-ARRAY(0), 2,10,30), 0)" (expected: 1.10848323049355 actual: 1.10848323049355)
[OK] "VALUE(KAMA(CLOSE(), 2,10,30), 0)" (expected: 1.10848323049355 actual: 1.10848323049355)
[OK] "VALUE(KAMA(SMA(1), 2,10,30), 0)" (expected: 1.10848323049357 actual: 1.10848323049357)
[OK] "VALUE(LinReg(14), 0)" (expected: 1.10949285715126 actual: 1.10949285715126)
[OK] "VALUE(LinReg(BARS-ARRAY(0), 14), 0)" (expected: 1.10949285715126 actual: 1.10949285715126)
[OK] "VALUE(LinReg(CLOSE(), 14), 0)" (expected: 1.10949285715126 actual: 1.10949285715126)
[OK] "VALUE(LinReg(SMA(1), 14), 0)" (expected: 1.10949285714447 actual: 1.10949285714447)
[OK] "VALUE(LinRegIntercept(14), 0)" (expected: 1.10712142856302 actual: 1.10712142856302)
[OK] "VALUE(LinRegIntercept(BARS-ARRAY(0), 14), 0)" (expected: 1.10712142856302 actual: 1.10712142856302)
[OK] "VALUE(LinRegIntercept(CLOSE(), 14), 0)" (expected: 1.10712142856302 actual: 1.10712142856302)
[OK] "VALUE(LinRegIntercept(SMA(1), 14), 0)" (expected: 1.10712142856986 actual: 1.10712142856986)
[OK] "VALUE(LinRegSlope(14), 0)" (expected: 0.000182417583710548 actual: 0.000182417583710548)
[OK] "VALUE(LinRegSlope(BARS-ARRAY(0), 14), 0)" (expected: 0.000182417583710548 actual: 0.000182417583710548)
[OK] "VALUE(LinRegSlope(CLOSE(), 14), 0)" (expected: 0.000182417583710548 actual: 0.000182417583710548)
[OK] "VALUE(LinRegSlope(SMA(1), 14), 0)" (expected: 0.000182417582661881 actual: 0.000182417582661881)
[OK] "VALUE(MACD(12,26,9),0)" (expected: 0.000525976279517115 actual: 0.000525976279517115)
[OK] "VALUE(MACD(BARS-ARRAY(0),12,26,9), 0)" (expected: 0.000525976279517115 actual: 0.000525976279517115)
[OK] "VALUE(MACD(CLOSE(),12,26,9), 0)" (expected: 0.000525976279517115 actual: 0.000525976279517115)
[OK] "VALUE(MACD(SMA(1),12,26,9), 0)" (expected: 0.000525976279517115 actual: 0.000525976279517115)
[OK] "VALUE(MACD.Diff(12,26,9), 0)" (expected: 0.000182642769187317 actual: 0.000182642769187317)
[OK] "VALUE(MACD.Diff(BARS-ARRAY(0), 12,26,9), 0)" (expected: 0.000182642769187317 actual: 0.000182642769187317)
[OK] "VALUE(MACD.Diff(CLOSE(), 12,26,9), 0)" (expected: 0.000182642769187317 actual: 0.000182642769187317)
[OK] "VALUE(MACD.Diff(SMA(1), 12,26,9), 0)" (expected: 0.000182642769187236 actual: 0.000182642769187236)
[OK] "VALUE(MAMA(0.5,0.05), 0)" (expected: 1.10830451536214 actual: 1.10830451536214)
[OK] "VALUE(MAMA(BARS-ARRAY(0), 0.5,0.05), 0)" (expected: 1.10830451536214 actual: 1.10830451536214)
[OK] "VALUE(MAMA(CLOSE(), 0.5,0.05), 0)" (expected: 1.10830451536214 actual: 1.10830451536214)
[OK] "VALUE(MAMA(SMA(1), 0.5,0.05), 0)" (expected: 1.10830451536214 actual: 1.10830451536214)
[OK] "VALUE(MAMA.Fama(0.5,0.05), 0)" (expected: 1.10758123649033 actual: 1.10758123649033)
[OK] "VALUE(MAMA.Fama(BARS-ARRAY(0), 0.5,0.05), 0)" (expected: 1.10758123649033 actual: 1.10758123649033)
[OK] "VALUE(MAMA.Fama(CLOSE(), 0.5,0.05), 0)" (expected: 1.10758123649033 actual: 1.10758123649033)
[OK] "VALUE(MAMA.Fama(SMA(1), 0.5,0.05), 0)" (expected: 1.10758123649033 actual: 1.10758123649033)
[OK] "VALUE(MAX(14), 0)" (expected: 1.1094 actual: 1.1094)
[OK] "VALUE(MAX(BARS-ARRAY(0), 14), 0)" (expected: 1.1094 actual: 1.1094)
[OK] "VALUE(MAX(CLOSE(), 14), 0)" (expected: 1.1094 actual: 1.1094)
[OK] "VALUE(MAX(SMA(1), 14), 0)" (expected: 1.10940000000002 actual: 1.10940000000002)
[OK] "VALUE(MFI(14), 0)" (expected: 72.5214668756238 actual: 72.5214668756238)
[OK] "VALUE(MFI(BARS-ARRAY(0), 14), 0)" (expected: 72.5214668756238 actual: 72.5214668756238)
[OK] "VALUE(MFI(CLOSE(), 14), 0)" (expected: 72.5214668756238 actual: 72.5214668756238)
[OK] "VALUE(MFI(SMA(1), 14), 0)" (expected: 72.5214668756238 actual: 72.5214668756238)
[OK] "VALUE(MIN(14), 0)" (expected: 1.10695 actual: 1.10695)
[OK] "VALUE(MIN(BARS-ARRAY(0), 14), 0)" (expected: 1.10695 actual: 1.10695)
[OK] "VALUE(MIN(CLOSE(), 14), 0)" (expected: 1.10695 actual: 1.10695)
[OK] "VALUE(MIN(SMA(1), 14), 0)" (expected: 1.10695000000002 actual: 1.10695000000002)
[OK] "VALUE(Momentum(14), 0)" (expected: 0.00229999999999997 actual: 0.00229999999999997)
[OK] "VALUE(Momentum(BARS-ARRAY(0), 14), 0)" (expected: 0.00229999999999997 actual: 0.00229999999999997)
[OK] "VALUE(Momentum(CLOSE(), 14), 0)" (expected: 0.00229999999999997 actual: 0.00229999999999997)
[OK] "VALUE(Momentum(SMA(1), 14), 0)" (expected: 0.00230000000000175 actual: 0.00230000000000175)
[OK] "VALUE(OBV(), 0)" (expected: -970154 actual: -970154)
[OK] "VALUE(OBV(BARS-ARRAY(0)), 0)" (expected: -970154 actual: -970154)
[OK] "VALUE(OBV(CLOSE()), 0)" (expected: -970154 actual: -970154)
[OK] "VALUE(OBV(SMA(1)), 0)" (expected: -970154 actual: -970154)
[OK] "VALUE(ParabolicSAR(0.02,0.2,0.02), 0)" (expected: 1.10808073403957 actual: 1.10808073403957)
[OK] "VALUE(ParabolicSAR(BARS-ARRAY(0), 0.02,0.2,0.02), 0)" (expected: 1.10808073403957 actual: 1.10808073403957)
[OK] "VALUE(ParabolicSAR(CLOSE(), 0.02,0.2,0.02), 0)" (expected: 1.10808073403957 actual: 1.10808073403957)
[OK] "VALUE(ParabolicSAR(SMA(1), 0.02,0.2,0.02), 0)" (expected: 1.10808073403957 actual: 1.10808073403957)
[OK] "VALUE(PFE(14,10), 0)" (expected: 0.856455637395163 actual: 0.856455637395163)
[OK] "VALUE(PFE(BARS-ARRAY(0), 14,10), 0)" (expected: 0.856455637395163 actual: 0.856455637395163)
[OK] "VALUE(PFE(CLOSE(), 14,10), 0)" (expected: 0.856455637395163 actual: 0.856455637395163)
[OK] "VALUE(PFE(SMA(1), 14,10), 0)" (expected: 0.856455637395163 actual: 0.856455637395163)
[OK] "VALUE(Range(), 0)" (expected: 0.000950000000000006 actual: 0.000950000000000006)
[OK] "VALUE(Range(BARS-ARRAY(0)), 0)" (expected: 0.000950000000000006 actual: 0.000950000000000006)
[OK] "VALUE(Range(CLOSE()), 0)" (expected: 0.000950000000000006 actual: 0.000950000000000006)
[OK] "VALUE(Range(SMA(1)), 0)" (expected: 0.000950000000000006 actual: 0.000950000000000006)
[OK] "VALUE(RIND(3,10), 0)" (expected: 47.1788350678776 actual: 47.1788350678776)
[OK] "VALUE(RIND(BARS-ARRAY(0), 3,10), 0)" (expected: 47.1788350678776 actual: 47.1788350678776)
[OK] "VALUE(RIND(CLOSE(), 3,10), 0)" (expected: 47.1788350678776 actual: 47.1788350678776)
[OK] "VALUE(RIND(SMA(1), 3,10), 0)" (expected: 47.1788350678776 actual: 47.1788350678776)
[OK] "VALUE(ROC(14), 0)" (expected: 0.207749977418478 actual: 0.207749977418478)
[OK] "VALUE(ROC(BARS-ARRAY(0), 14), 0)" (expected: 0.207749977418478 actual: 0.207749977418478)
[OK] "VALUE(ROC(CLOSE(), 14), 0)" (expected: 0.207749977418478 actual: 0.207749977418478)
[OK] "VALUE(ROC(SMA(1), 14), 0)" (expected: 0.207749977418635 actual: 0.207749977418635)
[OK] "VALUE(RSI(14,3), 0)" (expected: 65.4724695863047 actual: 65.4724695863047)
[OK] "VALUE(RSI(BARS-ARRAY(0), 14,3), 0)" (expected: 65.4724695863047 actual: 65.4724695863047)
[OK] "VALUE(RSI(CLOSE(), 14,3), 0)" (expected: 65.4724695863047 actual: 65.4724695863047)
[OK] "VALUE(RSI(SMA(1), 14,3), 0)" (expected: 65.4724695863158 actual: 65.4724695863158)
[OK] "VALUE(RSquared(8), 0)" (expected: 0.498626377789318 actual: 0.498626377789318)
[OK] "VALUE(RSquared(BARS-ARRAY(0), 8), 0)" (expected: 0.498626377789318 actual: 0.498626377789318)
[OK] "VALUE(RSquared(CLOSE(), 8), 0)" (expected: 0.498626377789318 actual: 0.498626377789318)
[OK] "VALUE(RSquared(SMA(1), 8), 0)" (expected: 0.498626370943076 actual: 0.498626370943076)
[OK] "VALUE(StdDev(14), 0)" (expected: 0.000796612726947466 actual: 0.000796612726947466)
[OK] "VALUE(StdDev(BARS-ARRAY(0), 14), 0)" (expected: 0.000796612726947466 actual: 0.000796612726947466)
[OK] "VALUE(StdDev(CLOSE(), 14), 0)" (expected: 0.000796612726947466 actual: 0.000796612726947466)
[OK] "VALUE(StdDev(SMA(1), 14), 0)" (expected: 0.000796612726947901 actual: 0.000796612726947901)
[OK] "VALUE(SMA(14), 0)" (expected: 1.10830714285714 actual: 1.10830714285714)
[OK] "VALUE(SMA(BARS-ARRAY(0), 14), 0)" (expected: 1.10830714285714 actual: 1.10830714285714)
[OK] "VALUE(SMA(CLOSE(), 14), 0)" (expected: 1.10830714285714 actual: 1.10830714285714)
[OK] "VALUE(SMA(SMA(1), 14), 0)" (expected: 1.10830714285716 actual: 1.10830714285716)
[OK] "VALUE(StochRSI(14), 0)" (expected: 0.860111194913672 actual: 0.860111194913672)
[OK] "VALUE(StochRSI(BARS-ARRAY(0), 14), 0)" (expected: 0.860111194913672 actual: 0.860111194913672)
[OK] "VALUE(StochRSI(CLOSE(), 14), 0)" (expected: 0.860111194913672 actual: 0.860111194913672)
[OK] "VALUE(StochRSI(SMA(1), 14), 0)" (expected: 0.860111194913856 actual: 0.860111194913856)
[OK] "VALUE(SUM(14), 0)" (expected: 15.5162999999999 actual: 15.5162999999999)
[OK] "VALUE(SUM(BARS-ARRAY(0), 14), 0)" (expected: 15.5162999999999 actual: 15.5162999999999)
[OK] "VALUE(SUM(CLOSE(), 14), 0)" (expected: 15.5162999999999 actual: 15.5162999999999)
[OK] "VALUE(SUM(SMA(1), 14), 0)" (expected: 15.5163000000003 actual: 15.5163000000003)
[OK] "VALUE(TEMA(14), 0)" (expected: 1.10945373542596 actual: 1.10945373542596)
[OK] "VALUE(TEMA(BARS-ARRAY(0), 14), 0)" (expected: 1.10945373542596 actual: 1.10945373542596)
[OK] "VALUE(TEMA(CLOSE(), 14), 0)" (expected: 1.10945373542596 actual: 1.10945373542596)
[OK] "VALUE(TEMA(SMA(1), 14), 0)" (expected: 1.10945373542599 actual: 1.10945373542599)
[OK] "VALUE(TMA(15), 0)" (expected: 1.10825546875 actual: 1.10825546875)
[OK] "VALUE(TMA(BARS-ARRAY(0), 15), 0)" (expected: 1.10825546875 actual: 1.10825546875)
[OK] "VALUE(TMA(CLOSE(), 15), 0)" (expected: 1.10825546875 actual: 1.10825546875)
[OK] "VALUE(TMA(SMA(1), 15), 0)" (expected: 1.10825546875001 actual: 1.10825546875001)
[OK] "VALUE(TSF(3,14), 0)" (expected: 1.11004010990239 actual: 1.11004010990239)
[OK] "VALUE(TSF(BARS-ARRAY(0), 3,14), 0)" (expected: 1.11004010990239 actual: 1.11004010990239)
[OK] "VALUE(TSF(CLOSE(), 3,14), 0)" (expected: 1.11004010990239 actual: 1.11004010990239)
[OK] "VALUE(TSF(SMA(1), 3,14), 0)" (expected: 1.11004010989245 actual: 1.11004010989245)
[OK] "VALUE(TSI(3,14), 0)" (expected: 38.3448003003004 actual: 38.3448003003004)
[OK] "VALUE(TSI(BARS-ARRAY(0), 3,14), 0)" (expected: 38.3448003003004 actual: 38.3448003003004)
[OK] "VALUE(TSI(CLOSE(), 3,14), 0)" (expected: 38.3448003003004 actual: 38.3448003003004)
[OK] "VALUE(TSI(SMA(1), 3,14), 0)" (expected: 38.344800300326 actual: 38.344800300326)
[OK] "VALUE(UltimateOscillator(7,14,28), 0)" (expected: 55.4425069497896 actual: 55.4425069497896)
[OK] "VALUE(UltimateOscillator(BARS-ARRAY(0), 7,14,28), 0)" (expected: 55.4425069497896 actual: 55.4425069497896)
[OK] "VALUE(UltimateOscillator(CLOSE(), 7,14,28), 0)" (expected: 55.4425069497896 actual: 55.4425069497896)
[OK] "VALUE(UltimateOscillator(SMA(1), 7,14,28), 0)" (expected: 55.4425069497896 actual: 55.4425069497896)
[OK] "VALUE(VMA(9,9), 0)" (expected: 1.10822574301695 actual: 1.10822574301695)
[OK] "VALUE(VMA(BARS-ARRAY(0), 9,9), 0)" (expected: 1.10822574301695 actual: 1.10822574301695)
[OK] "VALUE(VMA(CLOSE(), 9,9), 0)" (expected: 1.10822574301695 actual: 1.10822574301695)
[OK] "VALUE(VMA(SMA(1), 9,9), 0)" (expected: 1.10822574301697 actual: 1.10822574301697)
[OK] "VALUE(VOL(), 0)" (expected: 4476 actual: 4476)
[OK] "VALUE(VOL(BARS-ARRAY(0)), 0)" (expected: 4476 actual: 4476)
[OK] "VALUE(VOL(CLOSE()), 0)" (expected: 4476 actual: 4476)
[OK] "VALUE(VOL(SMA(1)), 0)" (expected: 4476 actual: 4476)
[OK] "VALUE(WilliamsR(14), 0)" (expected: -21.8750000000039 actual: -21.8750000000039)
[OK] "VALUE(WilliamsR(BARS-ARRAY(0), 14), 0)" (expected: -21.8750000000039 actual: -21.8750000000039)
[OK] "VALUE(WilliamsR(CLOSE(), 14), 0)" (expected: -21.8750000000039 actual: -21.8750000000039)
[OK] "VALUE(WilliamsR(SMA(1), 14), 0)" (expected: -21.8750000000039 actual: -21.8750000000039)
[OK] "VALUE(WMA(14), 0)" (expected: 1.10870238095518 actual: 1.10870238095518)
[OK] "VALUE(WMA(BARS-ARRAY(0), 14), 0)" (expected: 1.10870238095518 actual: 1.10870238095518)
[OK] "VALUE(WMA(CLOSE(), 14), 0)" (expected: 1.10870238095518 actual: 1.10870238095518)
[OK] "VALUE(WMA(SMA(1), 14), 0)" (expected: 1.10870238095293 actual: 1.10870238095293)
[OK] "VALUE(ZLEMA(14), 0)" (expected: 1.10933885376531 actual: 1.10933885376531)
[OK] "VALUE(ZLEMA(BARS-ARRAY(0), 14), 0)" (expected: 1.10933885376531 actual: 1.10933885376531)
[OK] "VALUE(ZLEMA(CLOSE(), 14), 0)" (expected: 1.10933885376531 actual: 1.10933885376531)
[OK] "VALUE(ZLEMA(SMA(1), 14), 0)" (expected: 1.10933885376534 actual: 1.10933885376534)


Category NinjaTrader 8 Indicators and More 
 
Suggest other entries I might like
Details: Formula Indicator
Category: NinjaTrader 8 Indicators and More 


December 14th, 2019
Size: 3.39 KB
Downloaded: 362 times
 


 
Category
 



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.