For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

Some indicators in event-based mode and others in vectorized modes



  • Hi,

    Is it possible to have some indicators in event-based mode and others in vectorized mode in the same strategy? For example, in a dynamic strategy using _nextforce = True to make it event-based, but keep other SMA indicators in vectorized mode. It looks to me that once the dynamic strategy is forced into event-based, all other indicators are in event-based too.
    Thank you.

    ref: https://community.backtrader.com/post/7882


Log in to reply
 

});