-
A Template with the basics Similar to SMM, main idea is to enable directional dynamics by using the multipliers to avoid large counter position with conservative staged scale-ins .
dependency:https://www.haasscripts.com/t/custom-profittrailer-for-trend-absorber-template/
Added some entry logics
-Typical Price reversal
-filter first and additional entries with MFI suggest Smoothing 5
-Multiple filtered dynamic entries to improve averaging “Long_PositionID”, “Short_PositionID”. positions
–Supports HEDGE mode
–Parsed USD amount_to_trade ‘units’ to allocate budget over several stages and prevent opening when pamt is out of allocated max amounts to trade. so should never EVER go over budget..
-OrderID, waits,
-enable/disable: Logging, Plotting, ChartS
-OrderType, Market for first entry, MakerOrCancel + Offset from bbo and orderTimeouts, reduceOnly, hiddenOrder
custom ProfitTrailing to log, log verbose, plot start, if logging only when position is not closed.
-Some dynamic filter IfElse, IfElseIf fun with perc distance from aep, trade amounts, trailing params.