PROTECTED SOURCE SCRIPT
Updated

PP HL Strategy

1 022
Preliminary version for testing--entries only.

V7: Released.
Release Notes
V8: Entry detection based on last bar's limit.
Release Notes
V39: Removed Pine position_size--rely on built-in strategy.position size; Implemented rudimentary SL and TSL based on prior candle extremes; fixed entry level bug.
Release Notes
V47: SL bug fix; added absolute SL; added PT; added conditionals to BE.
Release Notes
V72: Added contract size input; added risk statistics; added PT plotted line; corrected entry detection logic.
Release Notes
V89: Restore internal position_size logic; adhere to historical assumptions found in tradingview.com/wiki/Strategies
Release Notes
V104: Corrected stop level bug under some conditions; added entry level plot; added distance from entry to stop level plot.
Release Notes
V124: Added PP H/L TSL; added entry level TSL; tweaked position size treatment; provisioned for entry occurring immediately after a PT exit.
Release Notes
V125: Corrected textual typo in the name of TSL-PP H/L; ensured PP additional % input is used when trading shorts.
Release Notes
V126: Ensured current-bar tighter stops are retained.
Release Notes
V141: Added PP H/L filter.
Release Notes
V142: stop enable bug fix for BE, PP TSL.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.