Have to wait for next bar to get an update of indicators
Author: ajrdwv07
Creation Date: 3/2/2017 11:30 AM
profile picture

ajrdwv07

#1
I understand that Tech Indicators are calculated at the end of the bar when you choose "Close". That means you have to wait to next bar to have the indicator updated.
If I change to "Open", will I get the update or calculation of the indicator at the beginning of the bar?
Any chance to get " Last Trade" data price instead of only "Open, Close, High, Low" to calculate any indicator?
Thanks.
profile picture

Eugene

#2
Indicators are always calculated at the end of the bar, regardless of what DataSeries you choose (in an indicator that supports it). Please see this FAQ on how the process is in Wealth-Lab:

Is it necessary to have access to intra-bar tick data to daytrade with Wealth-Lab?

It's pretty simple and as you now see, there's no room for "Last Trade" in Wealth-Lab's Strategy execution - with GetSessionOpen (Open.PartialValue) being one exception for EOD strategies executing near the open to get today's open price.
profile picture

ajrdwv07

#3
so, is there any way to get updated indicators with the current price?
btw, I went quick thru GetSessionOpen but it seems useful for EOD not intraday. or can it be use (this exception) for each bar?
profile picture

Eugene

#4
1 - As per the FAQ that states it very clearly, there's no room for "updated indicators with the current price". What's the point in having them if the Strategy is always executed at the end of the bar?

2 - GetSessionOpen is for EOD strategies only.
profile picture

ajrdwv07

#5
Eugene, the point is you can trigger an order or action when something is "crossing" or "reaching" instead of ' it crossed'/'reached'. Very important for intraday and mkt full of algos. At least my view.
profile picture

Eugene

#6
Your crossover signal may be invalidated by an opposite movement on the same bar. By the way, in EOD where signals can still be caught ahead:

Wiki > Mixing intraday and daily data > Updating a Daily indicator using Intraday values
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).