VisibleBarsCount
property
The number of bars visible on the chart (c considering the holes if they are included)
Syntax
public int VisibleBarsCount { get; }
Example
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;
using PTLRuntime.NETScript.Charts;
namespace ChartPropertiesExamples
{
public class ChartPropertiesExamples : NETStrategy
{
public override void OnQuote()
{
//All Chart Class Properties
Print("BackgroundBottomColor:",CurrentChart.BackgroundBottomColor);
Print("BackgroundTopColor:",CurrentChart.BackgroundTopColor);
Print("BarsPerChart:",CurrentChart.BarsPerChart);
Print("BodyBottomColor:",CurrentChart.BodyBottomColor);
Print("BodyUpColor:",CurrentChart.BodyUpColor);
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.