bennef

Super Trend Daily 2.0 BF ๐Ÿš€

ืฆืคื™ื•ืช โ€Ž4260โ€Ž
565
4260 18
This is my Super Trend Daily strategy but with one important difference. You can now adjust settings for long or short signals individually and separately. For example, the condition for a long signal may require a different parameter setting than the condition for a short signal. Each parameter in the signal generation can be tuned. You can also decide what kind of stop loss you want for each side - you could have a fixed stop loss for longs and an ATR derived stop loss for shorts, or whatever.

We also have the option to choose if we want longs, shorts or both.

INISTRUCTIONS
Look at the background colors:
Green line = long signal
Red line = short signal
Aqua = No long trades
White = No short trades
Yellow dotted line = stop loss for long
Orange dotted line = stop loss for short

The aqua and white backgrounds mean the conditions are choppy/sideways according to our settings we applied to the rate of change function for a long/short signal respectively. It is possible to get a long signal in a white background, but not a short signal. Similarly, it is possible to get a short signal in an aqua background, but not a long signal.

This is a work in progress so any suggestions for improvements are welcome.
Oct 21
ื”ืขืจื•ืช ืฉื—ืจื•ืจ: Added a fill to the plotting section to better visualise long and short positions. Changed stop loss lines to solid instead of dotted.
ื”ืกืจ ืžืกืงืจื™ืคื˜ื™ื ืžื•ืขื“ืคื™ื ื”ื•ืกืฃ ืœืกืงืจื™ืคื˜ื™ื ืžื•ืขื“ืคื™ื
How do I put this on my platform?
ื”ืฉื‘
bennef Malesela_Seshib
@Malesela_Seshib, You can add it to your charts in TradingView by Adding it to your favorites. Just click the button.
+1 ื”ืฉื‘
@bennef, Thank you, it works
ื”ืฉื‘
Thanks for putting this together. It is a really great development of Supertrend! I like the approach to account for sideways movement. I might convert to a study for personal testing.
ื”ืฉื‘
Junglistt Junglistt
Stupid me - you've just released it yourself!! Thanks
ื”ืฉื‘
bennef Junglistt
@Junglistt, Hope you find it useful. Let me know if you can improve it.
ื”ืฉื‘
Thank you @bennef This is a great strategy. Is there a study version available for alerts?
ื”ืฉื‘
bennef renrok
Sure.
+1 ื”ืฉื‘
your code is very clean but it would be helpful if you provided more notation to explain what different pieces of code are doing. could you add the theory for this strategy also please?
ื”ืฉื‘
Which platform is this script applicable to?
ื”ืฉื‘
ื‘ื™ืช ืกื•ืจืง ืžื ื™ื•ืช ืกื•ืจืง ืžื˜"ื— ืกื•ืจืง ืžื˜ื‘ืขื•ืช-ืงืจื™ืคื˜ื• ื™ื•ืžืŸ ื›ืœื›ืœื™ ืกื“ืจื•ืช ืื™ืš ื–ื” ืขื•ื‘ื“โ€ ืชื›ื•ื ื•ืช ื’ืจืฃ ืžื—ื™ืจื•ืŸ ื—ื•ืงื™ ื”ื‘ื™ืช ืžื ื”ืœื™ื ื›ืœื™ื ืœืืชืจื™ื ื•ื‘ืจื•ืงืจื™ื ื™ื™ืฉื•ืžื•ื ื™ื ืคืชืจื•ื ื•ืช ื’ืจืคื™ื™ื ืกืคืจื™ื™ืช ื’ืจืคื™ื ืงืœื™ ืžืฉืงืœ ืžืจื›ื– ืชืžื™ื›ื” ื”ืคื ื” ื—ื‘ืจ ื‘ืงืฉืช ืคื•ื ืงืฆื™ื” ื‘ืœื•ื’ ื•ื—ื“ืฉื•ืช ืฉืืœื•ืช ื ืคื•ืฆื•ืช ื•ื™ืงื™ ื˜ื•ื•ื™ื˜ืจโ€
ืคืจื•ืคื™ืœ ื”ื’ื“ืจื•ืช ืคืจื•ืคื™ืœ ื—ืฉื‘ื•ืŸ ื•ื—ื™ื•ื‘ ื”ืคื ื” ื—ื‘ืจ ืœืฉื•ื ื™ื•ืช ื”ืชืžื™ื›ื” ืฉืœื™ ืžืจื›ื– ืชืžื™ื›ื” ืจืขื™ื•ื ื•ืช ืฉืคื•ืจืกืžื• ืขื•ืงื‘ื™ื ืขื•ืงื‘ ืื—ืจื™... ื”ื•ื“ืขื•ืช ืคืจื˜ื™ื•ืช ืฆ'ืื˜ ื”ืชื ืชืง