At this point in time onBar is only called on basic periods.
The same applies for indicators. You cannot use non-basic periods in indicators with the current versions.
Quote:
basic periods see:
Period.isPeriodBasic(Period period)
The method checks whether the passed period is basic {TICK, TEN_SECS, ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLY} If it is basic - appropriate basic period is returned If it is not basic - null is returned
Best, RR.
@DukasCopy: Any hint on your roadmap to include support of non-basic periods would be very much appreciated. Thanks a lot!