Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BOP multi-timeframe

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    BOP multi-timeframe

    I have figured out how to configure multiple indicators to work on each timeframe in a multi-timeframe strategy. I cannot figure out how to get BOP to work off different timeframes in the same strategy. I would appreciate any advice. Thanks.

    Rob

    #2
    Hello zrobfrank,

    The BOP indicator uses specific price series in its logic so it cannot take a multi timeframe input like some other indicators can. To use that in a multi series strategy you would need to surround that indicator with a BarsInProgress condition:

    Code:
    if(BarsInProgress == 0)
    {
        double primaryBop = BOP(3)[0];
    }
    if(BarsInProgress == 1)
    {
        double secondaryBop = BOP(3)[0];
    }
    The BarsInProgress lets you know which series called OnBarUpdate. During BarsInProgress 1 that is when the secondary series called OnBarUpdate so series like Open High Low Close represent the secondary series data. The indicator will observe that and produce the value for those secondary series calculations when used inside a condition that executes only on the secondary series. ​

    Comment


      #3
      Jesse,

      Thank you so much for the help.

      Rob

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      64 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      139 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      75 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      45 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      50 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X