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) -> None

Add to a position that moved in its favour: fg.AddOn(every_pips=20, size_mult=0.5).

Parameters

NameTypeDefault
kindstr'add_on'
notestr | NoneNone
every_pipsfloat
size_multfloat1.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.