Daveatt

BEST Trailing Stop Strategy

Hello traders

Here we go again.... with the second strategy snippet.
Reminder: the first snipper was a Trailing Profit strategy script

What's on the menu?

A trailing stop is designed to protect gains by enabling a trade to remain open and continue to profit as long as the price is moving in the investor's favor.
The order closes the trade if the price changes direction by a specified percentage or dollar amount.

Trigger me I'm famous

I developed many trading strategies in my career and often I've been asked to trigger a trailing-stop once a certain % move has been made.

On the screenshot below, the SL trigger is plotted in maroon.
Once the price goes past that level for the first time, I'll start trailing the trailing stop level.
In other words, when we see a price makes an interesting move in percentage value - we decide to trail the stop for at least not losing any more

All the BEST
Dave
Open-source script

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
💰 Results/Blogs: https://bit.ly/2ULUtjo

⏩ Signals/Pricing: https://best-trading-indicator.com/pages/pricing

🐦 Twitter: https://twitter.com/bti_trading

👉 Get a $30 discount on TradingView: https://bit.ly/2UM5OA0

📺 Youtube: https://bit.ly/3bKvnZu

Comments

Interesting.
Do people somehow connect these stoploss scripts to their MT4 or crypto bots or just use as manual reference?
+4 Reply
Daveatt Trendbeat
@Trendbeat, it those scripts are made as study, it's totally possible to plug it to crypto bots/MT4/MT5, etc
Manual reference doesn't make money, unfortunately :( (I wish it could)
They're plenty of third-party software out there to capture the TradingView events and forwarding them to crypto/MT4/MT5 brokers
You can DM me for more info if you want
+2 Reply
Trendbeat Daveatt
@Daveatt,
Cool man
Thank you!
+1 Reply
glenwong Trendbeat
@Trendbeat, Yes they can be connected to some bots with the "webhook" in the alerts.
+1 Reply
Pardon my ignorance, I'm new to TradingView (and loving it) but Trailing Stop is something I usually see as a standard menu item in the order box on other platforms. I see that Trading View only offers that with OANDA, and I'm with TradeStation (who offers it on their platform).
Am I understanding correctly that on TS you must use a script to be able to have a Trailing Stop? If so, how do you apply it to your order? Does the script appear as a menu item in the order box, or is it another protocol altogether?

Thanks in advance!
+3 Reply
Daveatt pharaoh145th
@pharaoh145th, this one is a trailing stop that I made
But you're correct, TradingView offers already a trailing stop by default now
Link: https://www.tradingview.com/pine-script-reference/v4/#fun_strategy{dot}exit

Though, it's not possible to display that trailing stop level natively. In Pinescript, we can create our own trailing stop/profit and showing it on our chaarts
+2 Reply
@Daveatt, Thanks for the quick reply.
I was able to add a trailing stop and a few other scripts/studies to the charts, just for me to see them and get familiar, but I still don't understand how to associate them with an order.
Does it mean that one will be placing trades from of the PineScript tab instead of the Order Box?
+2 Reply
Great strategy. How can you resolve the problem with trailing stop loss that tradingview assumes price moves in your favor first before going down?
+1 Reply
Daveatt sam3218
@sam3218, this depends on the entries
Here I coded a system for an exit strategy compatible with any entry strategy.
You'd need to find a system to enter where most of the times that price goes in your favor with a solid move
Reply
Can i have the alert version please ?
+1 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out