Back to Index
Search

  • Welcome to NinjaTrader
  • Video Library
  • Release Notes
    • 8.1.1.2
    • 8.0
      • 8.0.27.1
      • 8.0.26.1
      • 8.0.25.0
      • 8.0.24.3
      • 8.0.23.2
      • 8.0.22.2
      • 8.0.21.1
      • 8.0.20.1
      • 8.0.19.1
      • 8.0.18.1
      • 8.0.17.2
      • 8.0.16.3
      • 8.0.15.1
      • 8.0.14.2
      • 8.0.13.1
      • 8.0.12.0
      • 8.0.11.1
      • 8.0.10.0
      • 8.0.9.0
      • 8.0.8.0
      • 8.0.7.1
      • 8.0.6.1
      • 8.0.5.2
      • 8.0.4.0
      • 8.0.3.0
      • 8.0.2.0
      • 8.0.1.0
  • Risk Disclosures
  • Risks of Electronic Trading with NinjaTrader
  • Terms of Service
  • Copyrights
  • Introduction
    • Getting Started
    • Getting Help & Support
    • Learning to Use NinjaTrader
    • Using 3rd Party Add-Ons
  • Configuration
    • Installation
      • Minimum System Requirements
      • Installation Guide
      • Clear Browser Cache
    • Connecting
      • Log In
      • Trading Mode
      • Playback Connection
      • Multi-provider Connections
        • Connecting to Multi-provider Connections
        • Connecting to Kinetick - End Of Day (Free) 
        • External Data Feed Connection
        • Simulated Data Feed Connection
    • Options
      • General
        • Creating your own Skin
      • Enabling/Disabling Multi-provider Mode
      • Trading
      • Strategies
      • Automated trading interface
      • Market data
        • Splits and Dividends
        • Merge Policy
        • Real-time Tick Filter
        • Multiple Connections
    • Performance Tips
  • Operations
    • Advanced Trade Management (ATM)
      • Server Side vs Local ATMs
      • ATM Strategy
        • ATM Strategy Parameters
        • ATM Strategy Selection Mode
        • Stop Strategy
          • Auto Breakeven
          • Auto Trail
        • Manage ATM Strategy Templates
        • Tutorial: ATM Strategy Example #1
        • Tutorial: ATM Strategy Example #2
        • Advanced Options
          • Auto Chase
          • Auto Reverse
          • Shadow Strategy
        • FAQ
      • Server Side ATMs
        • Server Side Stop Strategy
        • Manage Server Side ATM Templates
        • Tutorial: Server Side ATM Example #1
        • Tutorial: Server Side ATM Example #2
      • Auto Close Position
    • Alerts
      • Using Alerts
      • Alerts Dialog
      • Configuring Alerts
      • Condition Builder
      • Alerts Examples
    • Alerts Log
      • Using the Alerts Log Window
      • Alerts Log Properties
      • Window Linking
    • Automated Trading
      • Automated Trading Interface (ATI)
        • What can I do and how?
        • Commands and Valid Parameters
        • Initialization
        • File Interface
          • Order Instruction Files (OIF)
          • Information Update Files
        • DLL Interface
          • Functions
        • TradeStation Email Integration
          • Running concurrent strategies in the same market
          • Set Up
          • Symbol Mapping
          • Order Handling Options
          • Stop Order Handling
          • Workspace Options
      • Running NinjaScript Strategies
        • Setting Real-Time Strategy Options
        • Strategy Position vs. Account Position
        • Syncing Account Positions
        • Running a NinjaScript Strategy from a Chart
        • Running a NinjaScript Strategy from the Strategies Tab
        • Working with Strategy Templates
    • Backup & Restore
      • Creating a Backup Archive
      • Restoring a Backup Archive
    • Charts
      • Creating a Chart
      • Navigating a Chart
      • Chart Panels
      • Working with Objects on Charts
      • Working with Price Data
      • Working with Multiple Data Series
      • Bar Types
      • Chart Styles
      • Working with Indicators
      • Working with Drawing Tools & Objects
      • Working with Automated Strategies
      • Saving Chart Defaults and Templates
      • Data Box
      • Cross Hair
      • Trading from a Chart
      • Chart Properties
      • Reload Historical Data
      • How Bars are Built
      • How Trade Executions are Plotted
      • Break at EOD
      • Order Flow +
        • Order Flow Volumetric Bars
        • Order Flow Cumulative Delta
        • Order Flow VWAP
        • Order Flow Volume Profile
        • Order Flow Trade Detector
        • Order Flow Market Depth Map
      • Tick Replay
        • Tick Replay Indicators
      • COT
      • Wiseman
    • Commissions
      • Working With Commission Templates
      • Applying Commission Templates
    • Control Center
      • New Menu
      • Tools Menu
      • Workspaces Menu
      • Connections Menu
      • Help Menu
      • Orders Tab
      • Strategies Tab
      • Executions Tab
      • Positions Tab
      • Accounts Tab
      • Log Tab
      • Messages Tab
      • Connection Status
    • Database
      • Database Operations
    • Data Grids
      • Working with Data Grids
    • Depth Chart
      • Using the Depth Chart Window
      • Depth Chart Properties
      • Window Linking
    • FX Correlation
      • Using the FX Correlation Window
      • FX Correlation Properties
      • Window Linking
    • Historical Data
      • Loading Historical Data
      • Data by Provider
      • Importing
      • Exporting
      • Editing
      • Download
    • Hot Keys
      • Working with Hot Keys
      • Trading with Hot Keys
    • Hot List Analyzer
      • Using the Hot List Analyzer
      • Customizing the Hot List Analyzer
      • Hot List Analyzer Properties
    • Instrument Lists
      • Working with Instrument Lists
      • Updating Splits and Dividends
    • Instruments
      • Instrument Types
      • Searching for Instruments
      • Managing Instruments
      • Editing Instruments
      • Rolling Over Futures Contracts
      • Adding Splits and Dividends
      • TradeStation Symbol Mapping
      • Importing a List of Stock Symbols
    • Level II
      • Using the Level II Window
      • Level II Properties
      • Window Linking
    • Market Analyzer
      • Creating a Market Analyzer Window
      • Working with Instrument Rows
      • Working with Columns
      • Dynamic Ranking and Sorting
      • Creating Cell and Filter Conditions
      • Market Analyzer Properties
      • Working with Templates
      • Performance Tips
      • Reloading Indicators & Columns
      • Window Linking
    • Market Watch
      • Display Overview
      • Working with Instrument Tiles
      • Market Watch Properties
    • News
      • News Window
      • News Properties
    • Option Chain
      • Display Overview
      • Submitting Orders
      • Properties
    • Order Entry
      • Attaching Orders To Indicators
      • Simulated Stop Orders
      • Order State Definitions
      • FIFO Optimization
      • Working With Forex
      • Where do your orders reside?
      • Trade Controls
        • Closing a Position or ATM Strategy Position
        • Position Display
        • Price Selector
        • Quantity Selector
        • TIF Selector
      • Basic Entry
        • Display Overview
        • Submitting Orders
        • Modifying and Cancelling Orders
        • Managing Positions
        • Properties
      • Chart Trader
        • Order & Position Display
        • Hidden View
        • Submitting Orders
        • Modifying and Cancelling Orders
        • Attach to Indicator
        • Chart Trader Properties
      • FX Pro
        • Display Overview
        • Submitting Orders
        • Modifying and Cancelling Orders
        • Managing Positions
        • Properties
      • FX Board
        • Display Overview
        • Working with Instrument Tiles
        • Submitting Orders
        • Modifying and Cancelling Orders
        • Managing Positions
        • Properties
      • Order Ticket
        • Display Overview
        • Submitting Orders
        • Properties
      • SuperDOM
        • Price Ladder Display
        • Static vs Dynamic Price Ladder Display
        • Order Display
        • Submitting Orders
        • Modifying and Cancelling Orders
        • Managing Positions
        • Using SuperDOM Columns
        • SuperDOM Templates
        • Working with Indicators
        • Properties
    • Playback Connection
      • Set Up
      • Playback
      • Data Files
    • Risk
      • Using the Risk window
    • Simulator
      • The Sim101 Account
      • Multiple Simulation Accounts
      • Live/Simulation Environment
      • Global Simulation Mode
      • Trading in Simulation
    • Strategy Analyzer
      • Understanding the Layout
      • Backtest a Strategy
      • Optimization
        • Genetic Algorithm
        • Optimization Fitness Metrics
      • Walk Forward Optimization
      • Multi-Objective Optimization
      • AI Generate
      • Understanding Historical Fill Processing
      • Basket testing multiple instruments
      • Understanding Backtest Logs
      • Reviewing Performance Results
      • Monte Carlo Simulation
        • Running a Monte Carlo Simulation
      • 2D & 3D Optimization Graphs
      • Discrepancies: Real-Time vs Backtest
      • Strategy Parameter Templates
      • Strategy Analyzer Properties
      • Working with Historical Trade Data
    • Strategy Builder
      • Builder Screens
      • Condition Builder
      • Actions
    • Time & Sales
      • Using the Time & Sales Window
      • Time & Sales Properties
      • Window Linking
    • Trade Performance
      • Using Trade Performance
      • Performance Displays
      • Statistics Definitions
      • Profit and Loss Calculation Modes
      • Trade Performance Properties
    • Trading Hours
      • Using the Trading Hours window
    • Windows
      • Using Window Linking
      • Using the Instrument Selector
      • Using the Overlay Instrument Selector
      • Using Tabs
      • Sharing Content
      • Printing Content
      • Using Color Pickers
  • NinjaScript
    • Code Breaking Changes
    • NinjaScript Best Practices
    • Distribution
      • Considerations For Compiled Assemblies
      • Import
      • Export
      • Remove NinjaScript Assembly
      • Export Problems
      • Protection/DLL Security
      • Commercial Distribution
        • Licensing/User Authentication
        • Best Practices for Distribution
        • Distribution Procedure
    • Editor
      • Compile Error Codes
        • CS0006
        • CS0019
        • CS0021
        • CS0029
        • CS0103
        • CS0200
        • CS0201
        • CS0234
        • CS0246
        • CS0428
        • CS0443
        • CS1002
        • CS1061
        • CS1501
        • CS1502
        • CS1503
        • CS1513
        • CS1525
        • NoDoc
      • NinjaScript Editor Components
      • NinjaScript Explorer
      • NinjaScript Wizard
      • Code Snippets
      • Compile Errors
      • Intelliprompt
      • Output
      • Visual Studio Debugging
      • Editor Keyboard Shortcuts
    • Educational Resources
      • AddOn Development Overview
        • Developing Add Ons
        • Creating Your Own AddOn Window
        • Other Uses for an Addon
      • C# Method (Functions) Reference
      • Developing for Tick Replay
      • Developing Indicators
        • Advanced - Custom Drawing
          • Set Up
          • Entering Calculation Logic
          • Compiling
          • Using
        • Advanced - Custom Plot Colors via Thresholds
          • Set Up
          • Entering Calculation Logic
          • Compiling
          • Using
        • Intermediate - Historical Custom Data Series
          • Set Up
          • Entering Calculation Logic
          • Compiling
          • Using
        • Intermediate - Your own SMA
          • Set Up
          • Entering Calculation Logic
          • Compiling
          • Using
        • Beginner - Indicator on Indicator
          • Set Up
          • Entering Calculation Logic
          • Compiling
          • Using
        • Beginner - Using price variables
          • Set Up
          • Entering Calculation Logic
          • Compiling
          • Using
        • Developing Outside of the NinjaScript Editor
      • Developing Strategies
        • Intermediate - RSI with Stop Loss & Profit Target
          • Set Up
          • Entering Strategy Logic
          • Compiling
        • Beginner - Simple MA Cross Over
          • Set Up
          • Creating the Strategy via the Wizard
          • Creating the Strategy via Self Programming
          • Compiling
        • The Strategy Development Process
        • Working with Accounts
      • Historical Order Backfill Logic
      • Multi-Threading Consideration for NinjaScript
      • Multi-Time Frame & Instruments
      • NinjaScript Lifecycle
      • Using 3rd Party Indicators
      • Using ATM Strategies
      • Using BitmapImage Objects with Buttons
      • Using Historical Bid/Ask Series
      • Using Images and Geometry with Custom Icons
      • Using SharpDX for Custom Chart Rendering
      • Working with Brushes
      • Working with Chart Object Coordinates
      • Working with Pixel Coordinates
      • Working with Price Series
      • Reference Samples
        • Indicator
          • Calculating the highest high or lowest low for a specified time range
          • Changing fonts for draw objects
          • Coloring a region
          • Creating a user-defined parameter type (enum)
          • Creating your own Level II data book (Accessing market depth)
          • Draw Objects
          • Ensuring indicator plots are valid before programmatically accessing them
          • Exposing indicator values that are not plots
          • Getting indicator values from a specified time
          • Manipulating DateTime objects
          • Manipulating string objects
          • Multi-Colored Plots
          • Removing and Custom Formatting an Indicator’s Chart Label
          • Using a secondary series as an input series for an indicator
          • Using a Series or DataSeries object to store calculations
          • Using a TypeConverter to Customize Property Grid Behavior
          • Using custom events to output the current Level II data book
          • Using StreamReader to read from a text file
          • Using StreamWriter to write to a text file
          • Using System.IO File properties to write to and read from a text file
          • Using Try-Catch Blocks
          • Creating Chart WPF (UI) Modifications from an Indicator
        • Strategy
          • Backtesting NinjaScript Strategies with an intrabar granularity
          • Entering on one time frame and exiting on another
          • Getting PnL from an ATM strategy
          • Halting a Strategy Once User Defined Conditions Are Met
          • Keeping orders alive
          • Modifying the price of stop loss and profit target orders
          • Monitoring for and trading a breakout
          • Monitoring Stop-Loss and Profit Target Orders
          • Plotting from within a NinjaScript Strategy
          • Removing draw objects from the chart
          • Resetting values at the beginning of new trading sessions
          • Rounding values to the nearest tick size
          • Scaling out of a position
          • Separating logic to either calculate once on bar close or on every tick
          • Stopping a strategy after consecutive losers
          • Trading crossovers
          • Using a time filter to limit trading hours
          • Using CancelOrder() method to cancel orders
          • Using multiple entry/exit signals simultaneously
          • Using OnOrderUpdate() and OnExecution() methods to submit protective orders
          • Using IsRising and IsFalling conditions in the Strategy Builder
          • Using trade performance statistics for money management
      • Tips
        • Adding Indicators to Strategies
        • Checking for Null References
        • Creating User Defined Input Parameters
        • Debugging your NinjaScript Code
        • Floating-Point Arithmetic
        • Formatting numbers
        • How do I resolve NinjaScript Programming Errors?
        • Make sure you have enough bars in the data series you are accessing
        • Order Types
        • Parameter sequencing
        • Referencing the correct bar
        • Strategy Position vs. Account Position
        • TraceOrders
        • User Definable Color Inputs
        • Using [] brackets
    • Language Reference
      • Alphabetical Reference
      • Common
        • AddDataSeries()
          • AddHeikenAshi()
          • AddKagi()
          • AddLineBreak()
          • AddPointAndFigure()
          • AddRenko()
          • AddVolumetric()
          • BarsArray
          • BarsInProgress
          • BarsPeriods
          • CurrentBars
        • Alert, Debug, Share
          • Alert()
          • ClearOutputWindow()
          • Log()
          • PlaySound()
          • Print()
          • PrintTo
          • RearmAlert()
          • SendMail()
          • Share()
        • Analytical
          • ApproxCompare()
          • CountIf()
          • CrossAbove()
          • CrossBelow()
          • GetCurrentAsk()
          • GetCurrentAskVolume()
          • GetCurrentBid()
          • GetCurrentBidVolume()
          • GetMedian()
          • HighestBar()
          • IsFalling()
          • IsRising()
          • Least Recent Occurrence (LRO)
          • LowestBar()
          • Most Recent Occurrence (MRO)
          • Slope()
          • TickSize
          • ToDay()
          • ToTime()
        • Attributes
          • BrowsableAttribute
          • CategoryOrderAttribute
          • DisplayAttribute
          • NinjaScriptPropertyAttribute
          • RangeAttribute
          • TypeConverterAttribute 
          • XmlIgnoreAttribute
        • Bars
          • BarsSinceNewTradingDay
          • GetAsk()
          • GetBar()
          • GetBid()
          • GetClose()
          • GetDayBar()
          • GetHigh()
          • GetLow()
          • GetOpen()
          • GetSessionEndTime()
          • GetTime()
          • GetVolume()
          • IsFirstBarOfSession
          • IsFirstBarOfSessionByIndex()
          • IsLastBarOfSession
          • IsResetOnNewTradingDay
          • IsTickReplay
          • PercentComplete
          • TickCount
          • ToChartString()
        • Charts
          • ChartBars
            • Bars
            • Count
            • FromIndex
            • GetBarIdxByTime()
            • GetBarIdxByX()
            • GetTimeByBarIdx()
            • Panel
            • Properties
            • ToChartString()
            • ToIndex
          • ChartControl
            • AxisXHeight
            • AxisYLeftWidth
            • AxisYRightWidth
            • BarMarginLeft
            • BarsArray
            • BarSpacingType
            • BarsPeriod
            • BarWidth
            • BarWidthArray
            • CanvasLeft
            • CanvasRight
            • CanvasZoomState
            • ChartPanels
            • CrosshairType
            • FirstTimePainted
            • GetBarPaintWidth()
            • GetSlotIndexByTime()
            • GetSlotIndexByX()
            • GetTimeBySlotIndex()
            • GetTimeByX()
            • GetXByBarIndex()
            • GetXByTime()
            • Indicators
            • IsScrollArrowVisible
            • IsStayInDrawMode
            • IsYAxisDisplayedLeft
            • IsYAxisDisplayedOverlay
            • IsYAxisDisplayedRight
            • LastSlotPainted
            • LastTimePainted
            • MouseDownPoint
            • PresentationSource
            • Properties
            • SlotsPainted
            • Strategies
            • TimePainted
          • ChartingExtensions
            • ConvertFromHorizontalPixels
            • ConvertFromVerticalPixels
            • ConvertToHorizontalPixels
            • ConvertToVerticalPixels
          • ChartPanel
            • ChartObjects
            • H (Height)
            • IsYAxisDisplayedLeft
            • IsYAxisDisplayedOverlay
            • IsYAxisDisplayedRight
            • MaxValue
            • MinValue
            • PanelIndex
            • Scales
            • W (Width)
            • X (Coordinate)
            • Y (Coordinate)
          • ChartScale
            • GetPixelsForDistance()
            • GetValueByY()
            • GetValueByYWpf()
            • GetYByValue()
            • GetYByValueWpf()
            • Height
            • IsVisible
            • MaxMinusMin
            • MaxValue
            • MinValue
            • PanelIndex
            • Properties
            • ScaleJustification
            • Width
          • Rendering
            • D2DFactory
            • DirectWriteFactory
            • DxExtensions
              • ToDxBrush()
              • ToVector2()
            • ForceRefresh()
            • IsInHitTest
            • IsSelected
            • IsVisibleOnChart()
            • MaxValue
            • MinValue
            • OnCalculateMinMax()
            • OnRender()
            • OnRenderTargetChanged()
            • PanelUI
            • RenderTarget
            • SetZOrder
            • ZOrder
          • FormatPriceMarker()
          • IsAutoScale
          • IsOverlay
          • IsSeparateZOrder
          • ScaleJustification
          • Stroke Class
          • UserControlCollection
        • Drawing
          • Draw.AndrewsPitchfork()
            • AndrewsPitchfork
          • Draw.Arc()
            • Arc
          • Draw.ArrowDown()
            • ArrowDown
          • Draw.ArrowLine()
            • ArrowLine
          • Draw.ArrowUp()
            • ArrowUp
          • Draw.Diamond()
            • Diamond
          • Draw.Dot()
            • Dot
          • Draw.Ellipse()
            • Ellipse
          • Draw.ExtendedLine()
            • ExtendedLine
          • Draw.FibonacciCircle()
            • FibonacciCircle
          • Draw.FibonacciExtensions()
            • FibonacciExtensions
          • Draw.FibonacciRetracements()
            • FibonacciRetracements
          • Draw.FibonacciTimeExtensions()
            • FibonacciTimeExtensions
          • Draw.GannFan()
            • GannFan
          • Draw.HorizontalLine()
            • HorizontalLine
          • Draw.Line()
            • Line
          • Draw.PathTool()
            • PathTool
          • Draw.Polygon()
            • Polygon
          • Draw.Ray()
            • Ray
          • Draw.Rectangle()
            • Rectangle
          • Draw.Region()
            • Region
          • Draw.RegionHighlightX()
            • RegionHighlightX
          • Draw.RegionHighlightY()
            • RegionHighlightY
          • Draw.RegressionChannel()
            • RegressionChannel
          • Draw.RiskReward()
            • RiskReward
          • Draw.Ruler()
            • Ruler
          • Draw.Square()
            • Square
          • Draw.Text()
            • Text
          • Draw.TextFixed()
            • TextFixed
          • Draw.TimeCycles()
            • TimeCycles
          • Draw.TrendChannel()
            • TrendChannel
          • Draw.Triangle()
            • Triangle
          • Draw.TriangleDown()
            • TriangleDown
          • Draw.TriangleUp()
            • TriangleUp
          • Draw.VerticalLine()
            • VerticalLine
          • Brushes
          • AllowRemovalOfDrawObjects
          • BackBrush
          • BackBrushAll
          • BackBrushes
          • BackBrushesAll
          • BarBrush
          • BarBrushes
          • CandleOutlineBrush
          • CandleOutlineBrushes
          • DrawObjects
          • IDrawingTool
          • PriceLevels
          • RemoveDrawObject()
          • RemoveDrawObjects()
        • Instruments
          • Instrument
            • Exchange
            • Expiry
            • FullName
            • GetInstrument()
            • MasterInstrument
              • Compare()
              • Currency
              • Description
              • Dividends
              • Exchanges
              • FormatPrice()
              • InstrumentType
              • MergePolicy
              • Name
              • GetNextExpiry()
              • PointValue
              • RolloverCollection
              • RoundToTickSize()
              • RoundDownToTickSize()
              • Splits
              • TickSize
              • Url
        • ISeries<T>
          • Series<T>
            • Reset()
          • PriceSeries<double>
            • Close
            • Closes
            • High
            • Highs
            • Input
            • Inputs
            • Low
            • Lows
            • Median
            • Medians
            • Open
            • Opens
            • Typical
            • Typicals
            • Value
            • Values
            • Weighted
            • Weighteds
          • TimeSeries<DateTime>
            • Time
            • Times
          • VolumeSeries<double>
            • Volume
            • Volumes
          • Count
          • GetValueAt()
          • IsValidDataPoint()
          • IsValidDataPointAt()
          • MaximumBarsLookBack
        • OnBarUpdate()
          • BarsPeriod
          • Calculate
          • Count
          • CurrentBar
          • IsDataSeriesRequired
          • IsFirstTickOfBar
          • IsResetOnNewTradingDays
          • IsTickReplays
          • Update()
        • OnConnectionStatusUpdate()
          • ConnectionStatusEventArgs
        • OnFundamentalData()
          • FundamentalDataEventArgs
        • OnMarketData()
          • MarketDataEventArgs
        • OnMarketDepth()
          • MarketDepthEventArgs
        • OnStateChange() 
          • SetState()
          • State
        • SessionIterator
          • ActualSessionBegin
          • ActualSessionEnd
          • ActualTradingDayEndLocal
          • ActualTradingDayExchange
          • CalculateTradingDay()
          • GetNextSession()
          • GetTradingDay()
          • GetTradingDayBeginLocal()
          • GetTradingDayEndLocal()
          • IsInSession()
          • IsNewSession()
          • IsTradingDayDefined()
        • SimpleFont
          • ApplyTo()
          • ToDirectWriteTextFormat()
        • System Indicator Methods
          • Valid Input Data for Indicator Methods
          • Accumulation/Distribution (ADL)
          • Adaptive Price Zone (APZ)
          • Aroon
          • Aroon Oscillator
          • Average Directional Index (ADX)
          • Average Directional Movement Rating (ADXR)
          • Average True Range (ATR)
          • Balance of Power (BOP)
          • Block Volume
          • Bollinger Bands
          • BuySell Pressure
          • BuySell Volume
          • Camarilla Pivots
          • CandleStickPattern
          • Chaikin Money Flow
          • Chaikin Oscillator
          • Chaikin Volatility
          • Chande Momentum Oscillator (CMO)
          • Choppiness Index
          • Commitment Of Traders (COT)
          • Commodity Channel Index (CCI)
          • Correlation
          • Current Day OHL
          • Darvas
          • Directional Movement (DM)
          • Directional Movement Index (DMI)
          • Disparity Index
          • Donchian Channel
          • Double Stochastics
          • Dynamic Momentum Index (DMIndex)
          • Ease of Movement
          • Fibonacci Pivots
          • Fisher Transform
          • Forecast Oscillator (FOSC)
          • Keltner Channel
          • KeyReversalDown
          • KeyReversalUp
          • Linear Regression
          • Linear Regression Intercept
          • Linear Regression Slope
          • MA Envelopes
          • Maximum (MAX)
          • McClellan Oscillator
          • Minimum (MIN)
          • Momentum
          • Money Flow Index (MFI)
          • Money Flow Oscillator
          • Moving Average - Double Exponential (DEMA)
          • Moving Average - Exponential (EMA)
          • Moving Average - Hull (HMA)
          • Moving Average - Kaufman's Adaptive (KAMA)
          • Moving Average - Mesa Adaptive (MAMA)
          • Moving Average - Simple (SMA)
          • Moving Average - T3 (T3)
          • Moving Average - Triangular (TMA)
          • Moving Average - Triple Exponential (TEMA)
          • Moving Average - Triple Exponential (TRIX)
          • Moving Average - Variable (VMA)
          • Moving Average - Volume Weighted (VWMA)
          • Moving Average - Weighted (WMA)
          • Moving Average - Zero Lag Exponential (ZLEMA)
          • Moving Average Convergence-Divergence (MACD)
          • Moving Average Ribbon
          • Net Change Display
          • n Bars Down
          • n Bars Up
          • On Balance Volume (OBV)
          • Order Flow Cumulative Delta
          • Order Flow Volumetric Bars
          • Order Flow VWAP
          • Parabolic SAR
          • Percentage Price Oscillator (PPO)
          • Pivots
          • Polarized Fractal Efficiency (PFE)
          • Price Oscillator
          • Prior Day OHLC
          • Psychological Line
          • Range
          • Range Indicator (RIND)
          • Rate of Change (ROC)
          • Regression Channel
          • Relative Spread Strength (RSS)
          • Relative Strength Index (RSI)
          • Relative Vigor Index
          • Relative Volatility Index (RVI)
          • R-squared
          • Standard Deviation (StdDev)
          • Standard Error (StdError)
          • Stochastics
          • Stochastics Fast
          • Stochastics RSI (StochRSI)
          • Summation (SUM)
          • Swing
          • Time Series Forecast (TSF)
          • Trend Lines
          • True Strength Index (TSI)
          • Ultimate Oscillator
          • Volume (VOL)
          • Volume Moving Average (VOLMA)
          • Volume Oscillator
          • Volume Rate of Change (VROC)
          • Volume Up Down
          • Vortex
          • Williams %R
          • Wiseman Alligator
          • Wiseman Awesome Oscillator
          • Woodies CCI
          • Woodies Pivots
          • ZigZag
        • TradingHours
          • Get
          • GetPreviousTradingDayEnd()
          • Holidays
          • Name
          • PartialHolidays
          • Sessions
          • TimeZoneInfo
        • Clone()
        • Description
        • DisplayName
        • IsVisible
        • Name
        • TriggerCustomEvent()
      • Add On
        • NinjaTrader Controls
          • AccountSelector
          • AtmStrategySelector
          • InstrumentSelector
          • IntervalSelector
          • TifSelector
          • QuantityUpDown
        • Account
          • AccountItem
          • AccountItemUpdate
          • AccountStatusUpdate
          • All
          • Cancel()
          • CancelAllOrders()
          • Change()
          • Connection
          • ConnectOptions
          • CreateOrder()
          • Denomination
          • Executions
          • ExecutionUpdate
          • Flatten()
          • Get()
          • Name
          • Orders
          • OrderUpdate
          • Positions
          • PositionUpdate
          • SimulationAccountReset
          • Strategies
          • Submit()
        • BarsRequest
          • Request()
          • MergePolicy
        • Connection
          • CancelAllOrders()
          • Connect()
          • ConnectionStatusUpdate
          • Disconnect()
          • Options
          • PriceStatus
          • Status
          • ReloadAllHistoricalData()
          • PlaybackConnection
        • IInstrumentProvider Interface
          • Instrument
        • IIntervalProvider Interface
          • BarsPeriod
        • INTTabFactory Interface
          • CreateParentWindow()
          • CreateTabPage()
        • IWorkspacePersistence Interface
          • Restore()
          • Save()
          • WorkspaceOptions
        • NTTabPage Class
          • Cleanup()
          • GetHeaderPart()
          • Restore()
          • Save()
        • Alert and Debug Concepts
          • AlertCallback()
          • RearmAlert()
        • AtmStrategy
        • ControlCenter
        • FundamentalData
        • MarketData
        • MarketDepth
        • NewsItems
        • NewsSubscription
        • NTMenuItem
        • NTMessageBoxSimple.Show()
        • NTWindow
        • NumericTextBox
        • OnWindowCreated()
        • OnWindowDestroyed()
        • OnWindowRestored()
        • OnWindowSaved()
        • StartAtmStrategy()
        • StrategyBase
        • PropagateInstrumentChange()
        • PropagateIntervalChange()
        • TabControl
        • TabControlManager
      • Bars Type
        • AddBar()
        • ApplyDefaultBasePeriodValue
        • ApplyDefaultValue
        • BuiltFrom
        • DefaultChartStyle
        • GetInitialLookBackDays()
        • GetPercentComplete()
        • Icon
        • IsRemoveLastBarSupported
        • IsTimeBased
        • OnDataPoint()
        • RemoveLastBar()
        • SetPropertyName
        • SessionIterator
        • UpdateBar()
      • Chart Style
        • BarWidth
        • BarWidthUI
        • ChartStyleType
        • DownBrush
        • DownBrushDX
        • GetBarPaintWidth()
        • Icon
        • IsTransparent
        • OnRender()
        • SetPropertyName()
        • TransformBrush()
        • UpBrush
        • UpBrushDX
      • Drawing Tool
        • AddPastedOffset()
        • Anchors
        • AttachedTo
        • ChartAnchor
          • CopyDataValues()
          • DisplayName
          • DrawingTool
          • DrawnOnBar
          • GetPoint()
          • IsBrowsable
          • IsEditing
          • IsNinjaScriptDrawn
          • IsXPropertiesVisibile
          • IsYPropertyVisibile
          • MoveAnchor()
          • MoveAnchorX()
          • MoveAnchorY()
          • Price
          • SlotIndex
          • Time
          • UpdateFromPoint()
          • UpdateXFromPoint()
          • UpdateYFromPoint()
        • ConvertToVerticalPixels()
        • CreateAnchor()
        • DisplayOnChartsMenus
        • Dispose()
        • DrawingState
        • DrawnBy
        • GetAttachedToChartBars()
        • GetClosestAnchor()
        • GetCursor()
        • GetSelectionPoints()
        • Icon
        • IgnoresSnapping
        • IgnoresUserInput
        • IsAttachedToNinjaScript
        • IsGlobalDrawingTool
        • IsLocked
        • IsUserDrawn
        • OnBarsChanged()
        • OnMouseDown()
        • OnMouseMove()
        • OnMouseUp()
        • SupportsAlerts
        • ZOrderType
      • Import Type
        • OnNextInstrument()
        • OnNextDataPoint()
      • Indicator
        • AddLine()
          • AreLinesConfigurable
          • Line Class
          • Lines
        • AddPlot()
          • ArePlotsConfigurable
          • Displacement
          • PlotBrushes
          • Plots
        • BarsRequiredToPlot
        • DisplayInDataBox
        • DrawHorizontalGridLines
        • DrawOnPricePanel
        • DrawVerticalGridLines
        • IndicatorBaseConverter
        • IsChartOnly
        • IsSuspendedWhileInactive
        • PaintPriceMarkers
        • ShowTransparentPlotsInDataBox
      • Market Analyzer Column
        • CurrentText
        • CurrentValue
        • DataType
        • FormatDecimals
        • IsEditable
        • OnRender()
        • PriorValue
      • Optimization Fitness
        • OnCalculatePerformanceValue()
        • Value
      • Optimizer
        • NumberOfIterations
        • OnOptimize()
        • OptimizationParameters
        • RunIteration()
        • SupportsMultiObjectiveOptimization
      • Performance Metrics
        • Format()
        • OnAddTrade()
        • OnCopyTo()
        • OnMergePerformanceMetric()
        • PerformanceUnit
        • Values
      • Share Service
        • CharacterLimit
        • CharactersReservedPerMedia
        • Icon
        • UseOAuth
        • IsConfigured
        • IsDefault
        • IsImageAttachmentSupported
        • OnAuthorizeAccount()
        • OnShare()
        • Signature
      • Strategy
        • Account
        • AddChartIndicator()
        • AddPerformanceMetric()
        • ATM Strategy Methods
          • AtmStrategyCancelEntryOrder()
          • AtmStrategyChangeEntryOrder()
          • AtmStrategyChangeStopTarget()
          • AtmStrategyClose()
          • AtmStrategyCreate()
          • GetAtmStrategyEntryOrderStatus()
          • GetAtmStrategyMarketPosition()
          • GetAtmStrategyPositionAveragePrice()
          • GetAtmStrategyPositionQuantity()
          • GetAtmStrategyRealizedProfitLoss()
          • GetAtmStrategyStopTargetOrderStatus()
          • GetAtmStrategyUnrealizedProfitLoss()
          • GetAtmStrategyUniqueId()
        • BarsRequiredToTrade
        • BarsSinceEntryExecution()
        • BarsSinceExitExecution()
        • ChartIndicators
        • CloseStrategy()
        • ConnectionLossHandling
        • DaysToLoad
        • DefaultQuantity
        • DisconnectDelaySeconds
        • EntriesPerDirection
        • EntryHandling
        • Execution
        • ExitOnSessionCloseSeconds
        • IncludeCommission
        • IncludeTradeHistoryInBacktest
        • IsAdoptAccountPositionAware
        • IsExitOnSessionCloseStrategy
        • IsFillLimitOnTouch
        • IsInstantiatedOnEachOptimizationIteration
        • IsInStrategyAnalyzer
        • IsTradingHoursBreakLineVisible
        • IsWaitUntilFlat
        • NumberRestartAttempts
        • OnAccountItemUpdate()
          • AccountItemEventArgs
        • OnExecutionUpdate()
        • OnOrderTrace()
        • OnOrderUpdate()
        • OnPositionUpdate()
        • OptimizationPeriod
        • Order
          • IsTerminalState()
        • Order Methods
          • Managed Approach
            • Advanced Order Handling
            • CancelOrder()
            • ChangeOrder()
            • EnterLong()
            • EnterLongLimit()
            • EnterLongMIT()
            • EnterLongStopLimit()
            • EnterLongStopMarket()
            • EnterShort()
            • EnterShortLimit()
            • EnterShortMIT()
            • EnterShortStopLimit()
            • EnterShortStopMarket()
            • ExitLong()
            • ExitLongLimit()
            • ExitLongMIT()
            • ExitLongStopLimit()
            • ExitLongStopMarket()
            • ExitShort()
            • ExitShortLimit()
            • ExitShortMIT()
            • ExitShortStopLimit()
            • ExitShortStopMarket()
            • GetRealtimeOrder()
            • SetParabolicStop
            • SetProfitTarget()
            • SetStopLoss()
            • SetTrailStop()
          • Unmanaged Approach
            • CancelOrder()
            • ChangeOrder()
            • IgnoreOverfill
            • IsUnmanaged
            • SubmitOrderUnmanaged()
        • OrderFillResolution
        • OrderFillResolutionType
        • OrderFillResolutionValue
        • PerformanceMetrics
        • Plots
        • Position
          • AveragePrice
          • GetUnrealizedProfitLoss()
          • Instrument
          • MarketPosition
          • Quantity
        • PositionAccount
          • AveragePrice
          • GetUnrealizedProfitLoss()
          • Instrument
          • MarketPosition
          • Quantity
        • Positions
        • PositionsAccount
        • RealtimeErrorHandling
        • RestartsWithinMinutes
        • SetOrderQuantity
        • Slippage
        • StartBehavior
        • StopTargetHandling
        • StrategyBaseConverter
        • SystemPerformance
          • AllTrades
          • LongTrades
          • RealTimeTrades
          • ShortTrades
        • TestPeriod
        • TimeInForce
        • TraceOrders
        • Trade
        • TradeCollection
          • TradesCount
          • EvenTrades
          • GetTrades()
          • LosingTrades
          • TradesPerformance
            • AverageBarsInTrade
            • AverageEntryEfficiency
            • AverageExitEfficiency
            • AverageTimeInMarket
            • AverageTotalEfficiency
            • Currency
            • GrossLoss
            • GrossProfit
            • LongestFlatPeriod
            • MaxConsecutiveLoser
            • MaxConsecutiveWinner
            • MaxTimeToRecover
            • MonthlyStdDev
            • MonthlyUlcer
            • NetProfit
            • Percent
            • PerformanceMetrics
            • Pips
            • Points
            • ProfitFactor
            • RSquared
            • RiskFreeReturn
            • SharpeRatio
            • SortinoRatio
            • Ticks
            • TotalCommission
            • TotalQuantity
            • TotalSlippage
            • TradesCount
            • TradesPerDay
          • WinningTrades
        • TradesPerformanceValues
          • AverageEtd
          • AverageMae
          • AverageMfe
          • AverageProfit
          • CumProfit
          • Drawdown
          • LargestLoser
          • LargestWinner
          • ProfitPerMonth
          • StdDev
          • Turnaround
          • Ulcer
        • WaitForOcoClosingBracket
      • SuperDOM Column
        • MarketDepth
        • OnMarketData()
        • OnOrderUpdate()
        • OnPositionUpdate()
        • OnPropertyChanged()
        • OnRender()
        • OnRestoreValues()
    • SharpDX SDK Reference
      • SharpDX
        • Color
        • Color3
        • Color4
        • DisposeBase
          • Dispose()
          • IsDisposed 
        • Matrix3x2
        • RectangleF
        • Size2F
        • Vector2
      • SharpDX.Direct2D1
        • AntialiasMode
        • ArcSegment
        • ArcSize
        • Brush
          • Opacity
          • Transform
        • BrushProperties
        • CapStyle
        • DrawTextOptions
        • Ellipse
        • FigureBegin
        • FigureEnd
        • FillMode
        • GeometrySink
          • AddArc()
          • AddLine()
          • AddLines()
          • BeginFigure()
          • Close()
          • EndFigure()
          • SetFillMode()
        • GradientStop
        • GradientStopCollection 

          • ColorInterpolationGamma
          • ExtendMode
          • GradientStopCount
        • LinearGradientBrush
          • EndPoint
          • GradientStopCollection
          • StartPoint
        • LinearGradientBrushProperties
        • MeasuringMode
        • PathGeometry
          • FigureCount
          • FillContainsPoint()
          • GetBounds()
          • Open()
          • SegmentCount
          • StrokeContainsPoint()
        • RadialGradientBrush
          • Center
          • GradientOriginOffset
          • GradientStopCollection
          • RadiusX
          • RadiusY
        • RadialGradientBrushProperties
        • RenderTarget
          • AntialiasMode
          • DrawEllipse()
          • DrawGeometry()
          • DrawLine()
          • DrawRectangle()
          • DrawText()
          • DrawTextLayout()
          • FillEllipse()
          • FillGeometry()
          • FillRectangle()
          • Transform
        • SolidColorBrush
          • Color
        • StrokeStyle
          • DashCap
          • DashesCount
          • DashOffset
          • DashStyle
          • EndCap
          • GetDashes()
          • LineJoin
          • MiterLimit
          • StartCap
        • StrokeStyleProperties
        • SweepDirection
      • SharpDX.DirectWrite
        • TextFormat
          • FlowDirection
          • FontFamilyName
          • FontSize
          • FontStretch
          • FontStyle
          • FontWeight
          • ParagraphAlignment
          • ReadingDirection
          • TextAlignment
          • WordWrapping
        • LineMetrics
        • TextLayout
          • GetLineMetrics()
          • MaxHeight
          • MaxWidth
          • Metrics