Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Search Results
Found 2328 matching entries
Entries
Login to Download
FOREX Sessions
Exported using NT Version 7.0.1000.26
The indicator can be used to display the opening hours of the Tokyo, London and New York FOREX markets. For each of the three FOREX markets a different background color can be selected. For the overlapping hours the background colors are blended.
Below are listed the default settings for the opening hours, which are user selectable. Please keep in mind that you have to use the appropriate time zones, when entering the opening hours.
Tokyo: 9:00 AM - 5:00 PM TST (Tokyo Standard Time)
London: 7:00 AM - 4:30 PM GMT (Greenwich Standard Time) or BST (British Summertime, from March to October)
New York: 8:00 AM - 5:00 PM EST (US Eastern Standard Time) or EDT (Eastern Daylight Time, from March to November)
There is no daylight saving time in Japan. Therefore the Tokyo/London overlap is about two hours in summer, but only one hour in winter. The London/New York overlap is typically three and a half hours. However, London and New York observe different daylight saving schedules. During the last two weeks of March and during the first week of November, New York is on summertime while London is on standard time. During these three weeks the overlap is increased to four and a half hours.
The indicator handles the conversion of the trading hours of the three major FOREX markets automatically.
Update September 1, 2013 : Bug removed, indicator did not work correctly on charts built from tick data.
Update December 5, 2014: Option added to change color and opacity for off-session times.
Update April 22, 2015: Code simplified.
Category NinjaTrader 7 Indicators
1440
Fat Tails
Login to Download
Formula Indicator
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
2129
logindejavu27
Login to Download
FOSC_Overlay
FOSC (Forcast Oscillator) is a momentum style indicator that loads with Ninjatrader software.
I was pleasantly suprised to see how well it looked when moved up onto the price chart.
Mike, This is my own adaptation. There is no other version.
RJay
COMPATIBILITY:
NinjaTrader 6.5: YES
NinjaTrader 7.0: NOT TESTED [feedback]
Category NinjaTrader 6.5 Indicators
116
RJay
Login to Download
FP_PriceBox V1.0
This indicator plots a semi-transparent rectangle with user defined inputs for the Opacity, Border Color, Height and Width of the rectangle.
This rectangle stays centered over the CLOSING price, and moves with it, so you know how far away your limits are from the last traded price.
Useful to visualize how far away your total risk tolerance may be from current price upon entry.
Example: if you know your max risk tolerance for a particular instrument is 20 tics, set the upper and lower limits to 20. Then you can visually see how far away your stop will be from your entry on your chart.
If you wanted to do targets too, add this indicator again to your chart, and make it a different WIDTH, and you can visualize your stop and your target at your time of entry.
Category NinjaTrader 7 Indicators
941
forrestang
Login to Download
FP_Taylor Trading Book for NinjaTrader V1.0
This indicator will quickly create and format a Taylor Trading Book in Excel......with any data you have on a chart in NinjaTrader.
NOTE: You will need to install MS Office Interop Files for this indicator to work properly. Do not install without following the instructions at the link below. You will ALSO need the Excel sheet as well.
Information on installation, and the sheets needed can be found in THIS thread.
2May2012: The dlls are now posted in the 2nd post of the thread listed above in the 'Quick Links' section. So now all you will need to do is paste these dlls in the folder listed in Step2 , then reference the dlls as shown in Step3 , then install the indie as you would any other indicator.
Category The Elite Circle
1133
forrestang
Login to Download
Fractal Dimension Index
This is the Fractal Dimension Index (FDI) for MultiCharts.
The FDI was developed by Erik Long and the code for this version is based on Radha Panini's March 2007 S&C article "Using The Fractal Dimension Index: Trading Systems And Fractals".
According to Long in this article :
Quoting
This specialized indicator identifies the Fractal Dimension of the market by using re-scaled range analysis and an estimated Hurst exponent. FDI uses all available data on the time/price chart to determine the volatility or trendiness of a given market.
For interpretation, Long suggests:
Quoting
The FDI is useful for traders because it determines the amount of market volatility. The easiest way to use this indicator is to understand that a value of 1.5 suggests that the market is acting in a completely random fashion. As the market deviates from 1.5, the opportunity for profit earning is increased in proportion to the amount of deviation.
and..
Quoting
When a market is not random it is more predictable. In the case of the FDI a fractal dimension closer to two may provide substantial opportunities because of the high volatility and changes in market movement. An FDI closer to one signals a trending market that is moving in one direction.
As the image shows, this indicator plots an horizontal line at 1.5, and the farther the FDI indicator moves from 1.5, the stronger is the trend. Note that this indicator does not say which direction the trend is moving; a negative value can happen in a uptrend or a downtrend.
Radha Panini uses in his S&C article a length of 30, which is set to the default value in this indicator.
Thanks to FatTails for pointing out the S&C code for the FDI indicator.
Category MultiCharts
1102
Jura
Login to Download
Fractal Pivots
Converted from NT7 Fractals_Mike indicator. Based on this definition.
https://www.investopedia.com/terms/f/fractal.asp
Hope you enjoy!
UPDATE: 3/26/17 Fixed bugs where you could not save in a chart template and so its less sluggish on chart.
Its been brought to my attention this indicator may or may not use excessive RAM. Word of caution if you have issues using this indicator. I personally have not had issues besides sluggishness moving the x-axis.
PM me for issues.
Category NinjaTrader 8 Indicators and More
1843
ericson
Login to Download
Fractals
Uses a series of successive bars and analyzes highs and lows to form areas of support and resistance.
Original credit to Bill Williams. Thanks to Blz17 for giving this to me I just made some visual changes and small enhancements.
The fractals indicator is the top panel painting the blue and red horizontal lines of S/R.
Mike
COMPATIBILITY:
NinjaTrader 6.5: YES
NinjaTrader 7.0: NO (tested by sam028)
Category NinjaTrader 6.5 Indicators
144
Big Mike