Does amibroker allow indicators to extend to the right of the latest bar on the chart?
Technical indicators are calculated on the past and current prices. They cannot be calculated on something that doesn't exist. Cycles attempt to predict tops and bottoms according to the projected peak and trough of the cycle and it may be useful in providing context but that's about it!
Ichimoku has a similar characteristic although ive never found the use of it , not that ive ever looked that hard . Just about every indicator / filter I use is custom written by myself . If you handmade it you should know " exactly" how it works and its specific purpose . Many/most traders have indi/oscilators on a chart and basically have zero idea of what they represent and measure . TAAZ by Stephen Achelis is a a good reference piece on actual indicator formulas and what they are meant to express .. https://www.metastock.com/customer/resources/taaz/?p=1You are right in that you shouldn't look into the future and I have no idea what he needs to, but Amibroker can do it - https://www.amibroker.com/guide/afl/ref.html
"The formula "ref( CLOSE, -14 )" returns the closing price 14 periods ago. Thus, you could write the 14-day price rate-of-change (expressed in points) as "C - ref( C, -14 )." The formula "ref( C, 12 )" returns the closing price 12 periods ahead (this means looking up the future)"
... but if you try to apply it to a date less than 12 days ago, it won't deliver a result. However, looking ahead could make good sense for some backtesting, e.g. you extrapolate your predictive model 12 days into the future, then plot the deviation of the actual sp relative to the sp your model was expecting. At a glance, you'd see how well your model matches price evolution for any specific stock.Yes, in fact it's it's looking ahead in history.
Hello and welcome to Aussie Stock Forums!
To gain full access you must register. Registration is free and takes only a few seconds to complete.
Already a member? Log in here.