{
  "additionalProperties": false,
  "properties": {
    "factor": {
      "anyOf": [
        {
          "maximum": 1000000.0,
          "minimum": -1000000.0,
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Factor"
    },
    "field": {
      "anyOf": [
        {
          "enum": [
            "open",
            "high",
            "low",
            "close"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Field"
    },
    "lookback_bars": {
      "default": 20,
      "maximum": 500,
      "minimum": 2,
      "title": "Lookback Bars",
      "type": "integer"
    },
    "resolution": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional higher-timeframe override for this value ref. Set it inside lhs/rhs refs such as {'type': 'indicator', ..., 'resolution': '4h'} or {'type': 'price', 'field': 'close', 'resolution': '4h'}. Do not put timeframe/source_timeframe on the parent condition. None = strategy timeframe.",
      "title": "Resolution"
    },
    "source": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Source"
    },
    "type": {
      "const": "rolling_max",
      "default": "rolling_max",
      "title": "Type",
      "type": "string"
    }
  },
  "title": "RollingMaxSignalRef",
  "type": "object"
}
