strategy.max_runup_percent
strategy.max_runup_percent is a BullScript™ variable you can use in a strategy. The editor offers it. If the name is not known, the script stops on that line.
Example#
bullscript
strategy.max_runup_percent
The script enters long on bar 0 and closes that entry on bar 3. On a 20-bar daily book, bar 0 logged 0 and bar 19 logged 10.2527283171.