Page 1 of 1
WindowPriceMax, WindowPriceMin
Posted: Sun Sep 17, 2017 5:59 am
by NudgeFX
Is there any way to get the min and max vertical price values of the current window?
Something similar to WindowPriceMin and WindowPriceMax in metatrader?
Re: WindowPriceMax, WindowPriceMin
Posted: Thu Sep 21, 2017 2:56 am
by neHcioHep
NudgeFX wrote:Is there any way to get the min and max vertical price values of the current window?
Something similar to WindowPriceMin and WindowPriceMax in metatrader?
No, you can't get this information, but you can get information about Bars on the current window. You can get it by next code:
Code: Select all
procedure MyProc();
var
ChartInfo: TChartInfo;
first, last : integer;
begin
if not(GetChartInfo(ChartInfo)) then
exit;
first := ChartInfo.FirstIndex;
last := ChartInfo.LastIndex;
// ...
end;
Re: WindowPriceMax, WindowPriceMin
Posted: Fri Sep 22, 2017 8:57 am
by NudgeFX
thanks neHcioHep,
This might help.
Would be nice to have this feature added in a future update