Strategy Coding E01: Adding a custom Trailing-StopIn my experience there are phases to creating a strategy. In this episode we will cover one of the most important steps: establishing an exit strategy. Exiting a position is crucial to risk management. If your entries are terrible but you have a good exit strategy, you might get by and not lose a lot of your capital. And vice-versa, if your entries are great, but your exit strategy is terrible, you my not make any profit.
Concepts we will cover in this episode:
Integrating an indicator value as a trailing stop.
Lowering the trailing stop sensitivity by using the Average True Range (ATR).
Customizing the ATR value.
Brief introduction to 'modules'.
Trailingstop
Script Addon - Stepped TP with trailing TPThis is a proof of concept for a Trading View Script Addon for stepped and trailing Take Profit levels. A great risk management tool.
It will give you 3 TakeProfit levels and one StopLoss that will rise as TP targets are hit. You can set the TP levels as % of the price as is common for many trading tools. The additional trailing for the third TP level is an extra that will give your strategy a little advantage when there are big moves in the price action.
This is not giving you better entries, just moderating your exits.
With this addon you can make more out of your entries, while not having to get stuck in it with your full position.
This works best in sideways markets, but due to the trailing addon it can profit from bigger moves as well.
Let me know if you want this added to your strategy or indicator.
Cheers,
Robert
Demo: SuperTrail - 5 minute candle and 5% trail on a 1500% stockCouple of people have asked if they can use the SuperTrail indicator to day trade and the answer is yes so figured I'd make this video showing how it would work on a smaller time frame on a more volatile stock.
SuperTrail Indicator Video / Trailing Stop LossWas just playing around with the replay function in Trading View and thought I'd share this to show how the SuperTrail indicator worked on a couple of different stocks.
The SuperTrail is basically a modified SuperTrend but instead uses a percentage to allow you to manually set the trail level for individual stocks. Some need a wider trail, some a smaller one. You might set a trail based on the last months range, or the last 3 months. Totally up to you and the stock itself. The idea is to find what I call the natural range of a stock based on its past behaviour and hope that the stock maintains this range into the future. You can of course simply adjust it from time to time as the stock and the market goes through different behaviours (eg bull or bear), reacting to good or bad company news etc.
I use the percentage value that I come up with to set as my stop loss / trailing stop with my broker. This way if the stock drops below the trail value (which automatically moves up as the stock price moves up, but never down if the stock goes down), the stock will automatically sell and I will hopefully bank any profits. Works best of course with trending stocks. You could use the buy signal to go long and the sell signal to short. Main thing for me is I don't have to sit and watch the market and worry how my shares are going. If one is starting to go the wrong way, I automatically get out. Completely up to you how you use it. It is a very simple system :)
If you want to see more examples, just have a look at my profile, and if you would like access to the script, just message me and I'll send you the details.