Skip to main content

Order Block Trend Calculation

::: info Cette page est générée automatiquement à partir d’une spécification Gauge. Source: specs/orderBlocks.spec :::

Calculate Trend Score for OPEN Status

  • Given the following order blocks
    typestatus
    BULLISH_ORDER_BLOCKOPEN
    BEARISH_ORDER_BLOCKOPEN
    SUPPLY_ZONEOPEN
    DEMAND_ZONEOPEN
  • When calculating trend score
  • Then trend score should be “0”

Calculate Trend Score for REACHED Status

  • Given the following order blocks
    typestatus
    SUPPLY_ZONEREACHED
    DEMAND_ZONEREACHED
  • When calculating trend score
  • Then trend score should be “0”

Calculate Mixed Status Scenario

  • Given the following order blocks
    typestatus
    BULLISH_ORDER_BLOCKOPEN
    SUPPLY_ZONEREACHED
    BULLISH_ORDER_BLOCKOPEN
  • When calculating trend score
  • Then trend score should be “1”

Calculate Complex Bullish Scenario

  • Given the following order blocks
    typestatus
    BULLISH_ORDER_BLOCKOPEN
    DEMAND_ZONEREACHED
    BEARISH_ORDER_BLOCKCLOSED
  • When calculating trend score
  • Then trend score should be “4”

Calculate Complex Bearish Scenario

  • Given the following order blocks
    typestatus
    BEARISH_ORDER_BLOCKOPEN
    SUPPLY_ZONEREACHED
    BULLISH_ORDER_BLOCKCLOSED
  • When calculating trend score
  • Then trend score should be “-4”