Hi,
Is there any way to build candlesticks which respects a given custom session template? For example if I set 9.25 to 14.25 in my session template, a 60 minute barchart will still be built with candles openening and closing at 9.00, 10.00, 11.00 etc. My goal is to have the bars display 9.25, 10.25, 11.25 etc.
Br
No, it’s the broker who set the time at which bars open.
You can customize trading hours ti limit visualization to fewer bars, but they will always start and end at the time the broker has set (despite data not displayed will still be used to make some computations, especially indicators).
Setting trading hours 9:25 to 14:25 won’t set DHIGH(0), the daily highest price, to te highest value within your customized time, but within the broker’s settings.
Thanks for the info.
That’s more than I knew regarding the indicators… Does this mean e.g. a moving average indicator still is affected by data that’s “hidden” by a custom template? Or are only certain indicators affected and which in that case?
ALL are affected. I once happened to realized that my trades entered when apparently there was no crossover, indeed there WAS a crossover but I couldn’t see it because I used customized time settings.
From that time on I reset all trading hours to default.
Ok thanks for the heads up! That’s quite a limitation. I’ll file a suggesion regarding this as I won’t be able to transfer any of my external systems into PRT :/
There will be more ease to do that with variables arrays that will come with prorealtime version 11, hopefully in the first quarter of this year!
Nicolas – are you implying there is a way around this already today (the indicators ignoring “hidden bars”)? I don’t mind writing lots of hacks to get the desired result I’m looking for.
Thank you