Super Trend Daily 2.0 BF 🚀

3066 9
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.

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.
Release Notes: Added a fill to the plotting section to better visualise long and short positions. Changed stop loss lines to solid instead of dotted.
Remove from Favorite Scripts Add to Favorite Scripts
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?
Very nice work @bennef I will play with this strategy and let you know if I find any ways to improve upon it. Philosophically I agree with your approach, the best traders in the world figure out how to follow the trend and mitigate the swings when market is sideways.
+1 Reply
bennef whitenightLBC
@whitenightLBC, It is just one strategy. To me trading is just statistics; we cannot predict the future, we can only make an educated guess based on past behaviour. It is certainly a good start to follow the trend. Thank you for the comment.
+1 Reply
Looks promising. May I suggest a user configurable trailing stop loss?
@bydlo, I have not found reliable code in Pine to implement a trailing stop. Please let me know if you find some.
Hey @bennef I tried attaching this to my chart and nothing appeared except a grey plot line. Am I doing something wrong? Thanks :)
bennef JJosuke
@JJosuke, It works fine for me. Try adding it to your favorites?
Friends, thanks to our wonderful author Bennef we have a great strategy without redrawing. I posted my test of this wonderful strategy, as well as spent a lot of time that would pick up the best settings. Bottom line: We have the best long+short strategy on the trade view, more than 10 times the natural growth of bitcoin since 2014, the risk is 3.5 times smaller, the settings are at the bottom of the chart. One wish to Bennef when testing the emulator (for example 01.01.2014 to 01.01.2015) that would be when testing the transaction closed automatically, and it is very difficult to catch them. All the data in EXEL here.Testing was carried out in the emulator, not by calculation, with a Commission of 0.1 percent. You can really trade. I think to fit it under ether, but the time much! Pay special attention to the percentage of profitable trades.
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out