OPEN-SOURCE SCRIPT
Supertrend + DEMA Strategy ( customised & Switchable, Fixed TP)

Supertrend line – a moving line that follows the price and shows whether the market is trending up or down.
If the price goes above this line, it usually means the market is going up.
If the price goes below, it usually means the market is going down.
DEMA (Double Exponential Moving Average) – another line that smooths out price movements to spot trends more clearly.
It calculates an average of prices but reacts faster than a normal moving average.
If the price goes above this line, it usually means the market is going up.
If the price goes below, it usually means the market is going down.
DEMA (Double Exponential Moving Average) – another line that smooths out price movements to spot trends more clearly.
It calculates an average of prices but reacts faster than a normal moving average.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.