This update mainly does 2 things:
Deleting lines which are just wasting free lines (selectable min length, -1 to disable (standard value in the function)
Speeding up the runtime by filtering doublegets inside the liqline_update by a additional if branche for preselection
gets are slow, so why calculate when not needed.
small fixes:
typo on bollinger block always requesting BB Nr. 1 instead of 1 2 3
v3
Added:
f_getbartime()
this does give you the average time per bar from a sample of 100 bars
Updated:
f_liqline_update(_Liqui_Line, _killonlowhigh, _minlength, _timeperbar)
Parameters:
_Liqui_Line (Liquidationline[])
_killonlowhigh (bool)
_minlength (int)
_timeperbar (float)
minlength and timeperbar is added but not needed to function correctly.
aware this adds some repainting behavior as it deletes lines after detecting