Documentation/AlgoCode/Function reference
re-entry
Allow another entry in the same direction while already in a trade (pyramiding).
re-entry
Does not change trend-flip behaviour — opposite buy/sell already reverses by default. re-entry only opts into same-side scale-in (add size). Also accepted as reentry. Prefer an input line so traders can toggle it in settings: reEntry = input 0 as "Input Re-entry".
Return value
—
Example
reEntry = input 0 as "Input Re-entry" when rsi(14) is below 30 and long and reEntry > 0 buy