Dom |
public abstract class DomScriptBase : SharpScriptBase, IVisual<DomVisualArgs>, IState, IObserver<Level1EventArgs>, IObserver<IEnumerable<Level1EventArgs>>, IObserver<Level2EventArgs>
The DomScriptBase type exposes the following members.
Name | Description | |
---|---|---|
![]() | DomScriptBase |
Name | Description | |
---|---|---|
![]() | BarsArray | Gets the Bars array |
![]() | DebounceInterval | Debounce interval |
![]() | DialogService |
Opens a IDialogService dialog
(Inherited from ServiceBase) |
![]() | Dispatcher |
Gets the dispatcher
(Inherited from SharpScriptBase) |
![]() | DisplayName |
Gets the display name
(Inherited from SharpScriptBase) |
![]() | Error |
Gets the Error string
(Inherited from ServiceBase) |
![]() | FileService |
Opens a IFileService dialog
(Inherited from ServiceBase) |
![]() | HasLevel1Stream | Has level-I stream |
![]() | HasLevel2Stream | Has Level-II stream |
![]() | Instrument | Gets the Instrument |
![]() | IsSelected | Is the visual selected or not |
![]() | IsVisible | Is visiual visible or note |
![]() | Item |
Gets the IDataErrorInfo error string
(Inherited from ServiceBase) |
![]() | MessageBox |
Opens a IMessageBoxService dialog
(Inherited from ServiceBase) |
![]() | Name |
Gets the name
(Inherited from SharpScriptBase) |
![]() | ObserveAllMarketDataTypes | Observe all types of MarketDataType |
![]() | SingletonService |
Opens a ISingletonService dialog
(Inherited from ServiceBase) |
![]() | State |
Gets the current State of the script
(Inherited from SharpScriptBase) |
![]() | Template | (Overrides SharpScriptBaseTemplate) |
Name | Description | |
---|---|---|
![]() | Alert |
Shoots an alert.
The alert is triggered only when the State is Realtime (Inherited from SharpScriptBase) |
![]() | CalculatePriceFromY(Double, DomVisualArgs) | Calculates price from Y |
![]() | CalculatePriceFromY(Double, Double, Double, Double, Double) | Calculate price from Y |
![]() | CalculateYFromPrice(Double, DomVisualArgs) | Calculate Y from price |
![]() | CalculateYFromPrice(Double, Double, Double, Double, Double) | Calculate Y point from price |
![]() | CanRender | Can the visual reneder |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | Finalize | (Inherited from SharpScriptBase) |
![]() | GetFontHeight | Gets the default font height |
![]() | GetHandleCursor | Gets the handle cursor |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | InvokeAsync |
Invoke any action. It is recommended to draw any [!:ChartObject.DrawingBase] by invoking this method
(Inherited from SharpScriptBase) |
![]() | Log(String) |
Logs a message with Low (Inherited from SharpScriptBase) |
![]() | Log(Priority, String) |
Logs a message with the specified Priority (Inherited from SharpScriptBase) |
![]() | Log(Priority, Brush, String) |
Logs a message with the specified Priority and defined brush
(Inherited from SharpScriptBase) |
![]() | MakeHitTest | Makes a hit test |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | Move | Move the DOM visual |
![]() | NotifyPropertyChanged | (Inherited from SharpScriptBase) |
![]() | OnLevel1 | Level1 stream |
![]() | OnLevel2 | Level2 stream |
![]() | OnRender | Renders the visual |
![]() | OnStateChange |
Invoked when the State changes
(Inherited from SharpScriptBase) |
![]() | PlaySound |
Play a sound file as located in the folder ~\Documents\ArthaChitra 2\Sounds
(Inherited from SharpScriptBase) |
![]() | Print(String, String) |
Prints a message with Low (Inherited from SharpScriptBase) |
![]() | Print(Brush, String, String) |
Prints a message with a defined foreground brush
(Inherited from SharpScriptBase) |
![]() | Print(Priority, String, String) |
Prints a message with the defined Priority (Inherited from SharpScriptBase) |
![]() | Round |
Rounds the value with the factor as defined in Options > General tab > RoundFactor (Inherited from SharpScriptBase) |
![]() | Share |
Share messages via to social media SocialType
The messages will be transmitted only when the state is Realtime
(Inherited from SharpScriptBase) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
![]() | PropertyChanged | (Inherited from NotifyPropertyBase) |