Oscillator Strategy
Strategy
The Oscillator Strategy allows for the creation of trade signals based on the levels of a chosen oscillator, suitable for strategies requiring threshold triggers.
Settings
- Name
Source: Oscillator
- Type
- input
- Description
The oscillator input for the strategy, often set to 'close'.
Default value:close
- Name
Source: Centered Oscillator
- Type
- boolean
- Description
Whether the oscillator is centered, which affects the calculation of signals.
Default value:true
- Name
Trigger: Trigger base
- Type
- string
- Description
The base level from which the oscillator is triggered, such as 'Avg'.
Default value:Avg
- Name
Trigger: Trigger level
- Type
- integer
- Description
The numeric level at which a signal is triggered.
Default value:350
- Name
Trigger: Invalidation level
- Type
- integer
- Description
The level at which a previously triggered signal is invalidated.
Default value:1300
- Name
Trigger Type: Trigger type
- Type
- crossover | crossunder | below | above | equal
- Description
The type of trigger for signal generation, set to 'crossover' by default.
Default value:crossover
- Name
Trigger Type: Invalidation type
- Type
- crossover | crossunder | below | above | equal
- Description
The condition for signal invalidation, such as 'crossover'.
Default value:crossover
- Name
Settings: Direction
- Type
- long | short
- Description
The trade direction for signals, such as 'long'.
Default value:long
- Name
Settings: Session ID
- Type
- string
- Description
The session identifier for when the strategy is to be applied.
Default value:sessionId