Click or drag to resize
SharpScriptBase Class
Base class for Indicators
Inheritance Hierarchy

Namespace: SharpCharts.Base.SharpScript
Assembly: SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.6 (1.0.0.6)
Syntax
C#
public abstract class SharpScriptBase : PrintLogBase, 
	INotifyPropertyChanged

The SharpScriptBase type exposes the following members.

Constructors
  NameDescription
Public methodSharpScriptBase
Top
Properties
  NameDescription
Public propertyBackBrush
Gets the Background brush series
Public propertyBarBrush
Gets the Bar brush series
Public propertyBars
Gets or sets the Primary bar
Public propertyBarsInProgress
Gets the Current bars array in progress
Public propertyCalculate
Gets or sets the Calculate type
Public propertyClose
Gets the Close series
Public propertyCloses
Gets the Close series array
Public propertyCount
Gets the total bar count
Public propertyCurrentBar
Gets the Current bar
Public propertyCurrentBars
Current bar series
Public propertyDefaultTemplate
Gets the Default template of the sharp script
Public propertyDisplayName
Gets the display name
Public propertyError
Gets the Error string
(Inherited from MessageBoxBase.)
Public propertyGuid
Public propertyHigh
Gets the High series
Public propertyHighs
Gets the High series array
Public propertyInput
Gets or sets the Input series
Public propertyInputs
Gets or sets the Input series array
Public propertyIsFirstTickOfBar
Is first tick of bar
Public propertyIsRealTime
Gets if the sharpscript Is real time
Public propertyItemString
Gets the IDataErrorInfo error string
(Inherited from MessageBoxBase.)
Public propertyItemInt32
Returns the value of the sharp script
Public propertyLines
Gets or sets the Line array
Public propertyLow
Gets the Low series
Public propertyLows
Gets the Low series array
Public propertyMedian
Gets the Median series
Public propertyMedians
Gets the Median series array
Public propertyName
Gets the name of the Sharp Script
Public propertyOpen
Gets the Open series
Public propertyOpenInterest
Gets the Open Interest series
Public propertyOpenInterests
Get the Open Interest series array
Public propertyOpens
Gets the Open series array
Public propertyPlotPens
Gets the Plot pen series array
Public propertyPlots
Gets or sets the Plot array
Public propertyPriceFormat
Gets the Price format string
Public propertyPriceType
Gets or sets the Price type
Public propertySeriesDisplayName
Gets the series display name
Public propertyShowLines
Gets or sets whether the Lines parameter will be displayed in the Indicator Selector view
Public propertyShowNativeParameters
Gets or sets whether Native parameters will be displayed in the Indicator Selector view
Public propertyShowPlots
Gets or sets whether the Plots parameter will be displayed in the Indicator Selector view
Public propertyState
Gets the current state of the sharp script
Public propertyTemplate
Gets the name of the template
Public propertyTemplateType
Gets the Template type
Public propertyTime
Gets the Time series
Public propertyTimes
Gets the Time series array
Public propertyTypical
Gets the Typical series
Public propertyTypicals
Gets the Typical series array
Public propertyValues
Gets the Plot value series array
Public propertyViewModel
Gets the View associated with the Sharp Script
Public propertyVolume
Gets the Volume series
Public propertyVolumes
Get the Volume series array
Public propertyWeighted
Gets the Weighted series
Public propertyWeighteds
Gets the Weighted series array
Top
Methods
  NameDescription
Public methodAddIndicatorT
Adds and/or retrieves sharp script from the cache
Public methodAddIndicatorT(Object)
Adds and/or retrieves and sharp script from the cache
Public methodAddIndicatorT(ISeriesDouble)
Adds and/or retrieves sharp script from the cache
Public methodAddIndicatorT(ISeriesDouble, Object)
Adds and/or retrieves and sharp script from the cache
Public methodAddLine
Add a new line
Public methodAddPlot
Add a new Plot
Protected methodAlert(String)
Sends a new Alert message to the Alert View
Protected methodAlert(AlertPriority, String)
Sends a new Alert message to the Alert View
Protected methodAlert(AlertPriority, String, Brush, Brush)
Sends a new Alert message to the Alert View
Public methodCalculateMinMax
Calculates the minimum and maximum values of the axis
Protected methodClone
Clones a sharpScript object
Public methodCrossAbove(Double, ISeriesDouble, Int32)
Evaluates when value crosses above a series
Public methodCrossAbove(ISeriesDouble, ISeriesDouble, Int32)
Evaluates when 2 (two) series crosses each other
Public methodCrossAbove(ISeriesDouble, Double, Int32)
Evaluates when the series crosses above the value
Public methodCrossBelow(Double, ISeriesDouble, Int32)
Evaluates when a value crosses below a series
Public methodCrossBelow(ISeriesDouble, ISeriesDouble, Int32)
Evaluates when 2 (two) series crosses below each other
Public methodCrossBelow(ISeriesDouble, Double, Int32)
Evaluates when series crosses below a value
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetAskPrice
Returns the ask price
Public methodGetBidPrice
Returns the bid price
Public methodGetFrozenBrush
Returns the brush as frozen
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLastPrice
Returns the last traded price. In case the real time price is not available the closing value of the current bar is returned
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasValue
Returns if the underlying series has a value
Public methodIsEqual
Compares two sharp script objects
Public methodIsInputEquals
Compares two input
Protected methodLog
Prints the messages in the Log tab in Main view
(Inherited from PrintLogBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNotifyPropertyChanged
Notify property change
Protected methodOnBarUpdate
Called on a new tick
Public methodOnMarketData
Protected methodOnStateChange
Called on when the SharpScript state is changed
Public methodPlaySound
Plays a sound file
Public methodPlot
Plots the SharpScript series values
Protected methodPrint
Prints the message in the Output view
(Inherited from PrintLogBase.)
Public methodToString (Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventPropertyChanged
Property changed event handler
Top
See Also