PSAR gives buy signal BBPT prints green histogram ZLSMA is below the price ZLSMA has uptrend SL is smaller than the max SL Optional Sessions and EMA filters
Short entry
PSAR gives sell signal BBPT prints red histogram ZLSMA is above the price ZLSMA has downtrend SL is smaller than the max SL Optional Sessions and EMA filters
SL:
Placed below ZLSMA + offset on long Placed above ZLSMA + offset on short
TP1: 1x the SL by default Takes no profit by default, 50% is also a good setting
TP2: 2x the SL by default Take out all remaining position size.
If price reaches TP1, the SL is set to the entry price.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. You can favorite it to use it on a chart.
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.