In the AFL code, is there a way to find what periodicity is set when the Exploration is run ?
Analysis > Settings > Periodicity (drop-down with different Time frames)
Challenge:
Basically what I have realized is that if you use TimeFrameGetPrice() and this Timeframe is lesser than periodicity than you don't get the desired result.
Anyone noticed this?
The TimeFrameGetPrice - retrieves OHLCV fields from other time frames. This works immediatelly without need to call TimeFrameSet at all. (copied from manual)
I will read those parts once again but the definition of TimeFrameGetPrice specifically made me wonder.
I thought this new function can supersede the other problems encountered with Timeframe conversions.
It really shows that you did not read carefully enough. This is not novel where you can skip four sentences without losing idea. In AmiBroker docs every sentence is extremely important. Don't skip a word or letter. If you did read carefully you would notice this
TimeFrameGetPrice [...] Note these functions work like these 3 nested functions TimeFrameExpand( Ref( TimeFrameCompress( array, interval, compress(depending on field used) ), shift ), interval, expandFirst )
If you did not skip that, you would know what TimeFrameGetPrice is doing and you would know it is subject to very SAME rules as all other TimeFrame functions.
AmiBroker is super-logical software. It is not similar to bloatware created by corporations. In AmiBroker if function belongs to one group it behaves the same as others in that group.