DislikedI am afraid you will have to monitor and do partial close manually on this one. Adding in some externs will not help in this case. The entire weekly pivot logic has to be included and handling logic coded. Weekly pivot levels are not part of the THV system but it is definitely good practice to be aware of them.
Cheers,
CaveManIgnored
i usually simple calculate in pips + spread it and put in manager TP level
it is just a cosmetical one
like
Inserted Code
extern double close_trade_at = ...
it would be cool to add weekly pivots, and switch them on/off extern bool,
and floating trailing stop by previous HA candle
anyway man big respect for your work
i feel estetical pleasure looking on your code
Searching for inside balance.