WindowRectangle
property
Provides chart area rectangle
Syntax
public Rectangle WindowRectangle { get; }
Example
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;
namespace WindowClassExamples
{
public class WindowClassExamples : NETStrategy
{
Window[] win;
public override void OnQuote()
{
win = CurrentChart.GetAllWindows();
for(int i=0;win.Length-1>i;i++)
{
// All Window Class Properties
Print(win[i].HighestPrice);
Print(win[i].IsMainWindow);
Print(win[i].LowestPrice);
Print(win[i].WindowNumber);
Print(win[i].WindowRectangle);
}
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.