AddOn
forge.signalsclassSince Forge API 1
Signaturepython
forge.signals.AddOn(*,kind: str = 'add_on',note: str | None = None,every_pips: float,size_mult: float = 1.0) -> NoneAdd to a position that moved in its favour: fg.AddOn(every_pips=20, size_mult=0.5).
Parameters
| Name | Type | Default |
|---|---|---|
| kind | str | 'add_on' |
| note | str | None | None |
| every_pips | float | |
| size_mult | float | 1.0 |
Each time the position gains every_pips more, another entry is added at size_mult times
the first one's size, up to the strategy's max_entries_per_direction.