Class TapePattern
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "TapePatternDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602248")]
public class TapePattern : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectTapePattern
- Implements
- Inherited Members
- Extension Methods
Constructors
TapePattern()
public TapePattern()
Properties
AlertFile
[Display(ResourceType = typeof(Strings), Name = "AlertFile", GroupName = "Alerts", Description = "AlertFileDescription", Order = 510)]
public string AlertFile { get; set; }
Property Value
- string
BetweenColor
[Display(ResourceType = typeof(Strings), Name = "BetweenColor", GroupName = "Colors", Description = "BetweenColorDescription", Order = 400)]
public Color BetweenColor { get; set; }
Property Value
- Color
BuyColor
[Display(ResourceType = typeof(Strings), Name = "Buys", GroupName = "Colors", Description = "BuySignalColorDescription", Order = 410)]
public Color BuyColor { get; set; }
Property Value
- Color
CalculationMode
[Display(ResourceType = typeof(Strings), Name = "CalculationMode", GroupName = "Calculation", Description = "SourceTypeDescription", Order = 295)]
public TapePattern.TicksType CalculationMode { get; set; }
Property Value
ClusterTransparency
[Display(ResourceType = typeof(Strings), Name = "ClusterSelectionTransparency", GroupName = "Visualization", Description = "PriceSelectionTransparencyDescription", Order = 305)]
public int ClusterTransparency { get; set; }
Property Value
- int
CumulativeTrades
[Display(ResourceType = typeof(Strings), Name = "CumulativeTrades", GroupName = "Calculation", Description = "CumulativeTradesModeDescription", Order = 200)]
public bool CumulativeTrades { get; set; }
Property Value
- bool
FixedSizes
[Display(ResourceType = typeof(Strings), Name = "FixedSizes", GroupName = "Visualization", Description = "FixedSizesDescription", Order = 310)]
public bool FixedSizes { get; set; }
Property Value
- bool
MaxCount
[Display(ResourceType = typeof(Strings), Name = "MaximumCount", GroupName = "Calculation", Description = "MaximumTradesCountDescription", Order = 240)]
public int MaxCount { get; set; }
Property Value
- int
MaxCumulativeVolume
[Browsable(false)]
public decimal MaxCumulativeVolume { get; set; }
Property Value
- decimal
MaxCumulativeVolumeFilter
Not in ATAS 8.0.15 yet: available from the next version.
[Display(ResourceType = typeof(Strings), Name = "MaxCumulativeVolume", GroupName = "Calculation", Description = "MaxCumulativeVolumeDescription", Order = 260)]
public VolumeFilter MaxCumulativeVolumeFilter { get; set; }
Property Value
MaxCumulativeVolumeMoney
Not in ATAS 8.0.15 yet: available from the next version.
[Browsable(false)]
public string? MaxCumulativeVolumeMoney { get; set; }
Property Value
- string
MaxSize
[Display(ResourceType = typeof(Strings), Name = "MaximumSize", GroupName = "Visualization", Description = "MaximumSizeDescription", Order = 330)]
public int MaxSize { get; set; }
Property Value
- int
MaxVol
[Browsable(false)]
public decimal MaxVol { get; set; }
Property Value
- decimal
MaxVolFilter
Not in ATAS 8.0.15 yet: available from the next version.
[Display(ResourceType = typeof(Strings), Name = "MaxPrintVolume", GroupName = "Calculation", Description = "MaxVolumeFilterCommonDescription", Order = 220)]
public VolumeFilter MaxVolFilter { get; set; }
Property Value
MaxVolMoney
Not in ATAS 8.0.15 yet: available from the next version.
[Browsable(false)]
public string? MaxVolMoney { get; set; }
Property Value
- string
MinCount
[Display(ResourceType = typeof(Strings), Name = "MinimumCount", GroupName = "Calculation", Description = "MinimumTradesCountDescription", Order = 230)]
public int MinCount { get; set; }
Property Value
- int
MinCumulativeVolume
[Browsable(false)]
public decimal MinCumulativeVolume { get; set; }
Property Value
- decimal
MinCumulativeVolumeFilter
Not in ATAS 8.0.15 yet: available from the next version.
[Display(ResourceType = typeof(Strings), Name = "MinCumulativeVolume", GroupName = "Calculation", Description = "MinCumulativeVolumeDescription", Order = 250)]
public VolumeFilter MinCumulativeVolumeFilter { get; set; }
Property Value
MinCumulativeVolumeMoney
Not in ATAS 8.0.15 yet: available from the next version.
[Browsable(false)]
public string? MinCumulativeVolumeMoney { get; set; }
Property Value
- string
MinSize
[Display(ResourceType = typeof(Strings), Name = "MinimumSize", GroupName = "Visualization", Description = "MinimumSizeDescription", Order = 340)]
public int MinSize { get; set; }
Property Value
- int
MinVol
[Browsable(false)]
public decimal MinVol { get; set; }
Property Value
- decimal
MinVolFilter
[Display(ResourceType = typeof(Strings), Name = "MinPrintVolume", GroupName = "Calculation", Description = "MinVolumeFilterCommonDescription", Order = 210)]
public VolumeFilter MinVolFilter { get; set; }
Property Value
MinVolMoney
Not in ATAS 8.0.15 yet: available from the next version.
[Browsable(false)]
public string? MinVolMoney { get; set; }
Property Value
- string
ObjectTransparency
[Display(ResourceType = typeof(Strings), Name = "VisualObjectsTransparency", GroupName = "Visualization", Description = "VisualObjectsTransparency", Order = 300)]
public int ObjectTransparency { get; set; }
Property Value
- int
RangeFilter
[Display(ResourceType = typeof(Strings), Name = "RangeFilter", GroupName = "Calculation", Description = "MaxPriceLevelsCountDescription", Order = 290)]
public int RangeFilter { get; set; }
Property Value
- int
SearchPrintsInsideTimeFilter
[Display(ResourceType = typeof(Strings), Name = "SearchPrintsInsideTimeFilter", GroupName = "Calculation", Description = "UseCumTradesTimeFilterDescription", Order = 280)]
public bool SearchPrintsInsideTimeFilter { get; set; }
Property Value
- bool
SellColor
[Display(ResourceType = typeof(Strings), Name = "Sells", GroupName = "Colors", Description = "SellSignalColorDescription", Order = 420)]
public Color SellColor { get; set; }
Property Value
- Color
Size
[Display(ResourceType = typeof(Strings), Name = "Size", GroupName = "Visualization", Description = "SizeDescription", Order = 320)]
public int Size { get; set; }
Property Value
- int
TimeFilter
[Display(ResourceType = typeof(Strings), Name = "TimeFilter", GroupName = "Calculation", Description = "MaxTimeFilterDescription", Order = 270)]
public int TimeFilter { get; set; }
Property Value
- int
TimeFrom
[Display(ResourceType = typeof(Strings), Name = "TimeFrom", GroupName = "TimeFiltration", Description = "TimeFromDescription", Order = 110)]
public TimeSpan TimeFrom { get; set; }
Property Value
- TimeSpan
TimeTo
[Display(ResourceType = typeof(Strings), Name = "TimeTo", GroupName = "TimeFiltration", Description = "TimeToDescription", Order = 120)]
public TimeSpan TimeTo { get; set; }
Property Value
- TimeSpan
UseAlerts
[Display(ResourceType = typeof(Strings), Name = "UseAlerts", GroupName = "Alerts", Description = "UseAlertsDescription", Order = 500)]
public bool UseAlerts { get; set; }
Property Value
- bool
UseTimeFilter
[Display(ResourceType = typeof(Strings), Name = "UseTimeFilter", GroupName = "TimeFiltration", Description = "UseTimeFilterDescription", Order = 100)]
public bool UseTimeFilter { get; set; }
Property Value
- bool
VisualType
[Display(ResourceType = typeof(Strings), Name = "VisualMode", GroupName = "Visualization", Description = "VisualModeDescription", Order = 350)]
public ObjectType VisualType { get; set; }
Property Value
Methods
OnApplyDefaultColors()
Invoked to apply default colors to the drawing elements.
protected override void OnApplyDefaultColors()
Remarks
This method can be overridden in derived classes to customize or set default color values for the drawing elements. When this method is called, it is an opportunity for the derived class to apply its own default color scheme to the drawing elements used in the specific implementation.
OnCalculate(int, decimal)
The main indicator calculation method is called for each bar on the history, then it is called on each tick.
protected override void OnCalculate(int bar, decimal value)
Parameters
barintBar number.
valuedecimalInput data series value.
OnCumulativeTrade(CumulativeTrade)
Handles a cumulative trade event represented by a CumulativeTrade object.
protected override void OnCumulativeTrade(CumulativeTrade trade)
Parameters
tradeCumulativeTradeThe CumulativeTrade representing the cumulative trade data.
OnCumulativeTradesResponse(CumulativeTradesRequest, IEnumerable<CumulativeTrade>)
Added in ATAS 8.0.15.
protected override void OnCumulativeTradesResponse(CumulativeTradesRequest request, IEnumerable<CumulativeTrade> cumulativeTrades)
Parameters
requestCumulativeTradesRequestcumulativeTradesIEnumerable<CumulativeTrade>
OnDispose()
Called when the indicator is being disposed.
protected override void OnDispose()
OnInitialize()
The method is executed before the first calculation.
protected override void OnInitialize()
OnNewTrade(MarketDataArg)
Handles an individual trade represented by a MarketDataArg object.
protected override void OnNewTrade(MarketDataArg trade)
Parameters
tradeMarketDataArgThe MarketDataArg representing the trade data.
OnRecalculate()
The method is executed before a new calculation.
protected override void OnRecalculate()
OnUpdateCumulativeTrade(CumulativeTrade)
Added in ATAS 8.0.15.
protected override void OnUpdateCumulativeTrade(CumulativeTrade trade)
Parameters
tradeCumulativeTrade
OnValuationChanged()
Not in ATAS 8.0.15 yet: available from the next version.
protected override void OnValuationChanged()