Profittrailer trailing profit test. Basic script to show when PT triggers a with trailing. bought cost & gain % optional. Keep 0 to show all. Green circles show when the trigger is hit.
Note in the chart that a sell is triggered on an all green bar. This is by design as the lowest price it hit, was lower than the highest price minus the trail % it encountered during *lookback length*
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.