HPotters, Sylvain Vervoort ATR Trailing Stoploss, Smoothed
I publish the code again in case someone is interested in learning. I am not an expert, I learned from others who published their scripts and for this reason I do the same. If someone tries to sell you a script it is because they do not make money with it in trading and they need to sell it to earn something. It is a simple combination algorithm of 3 EMA with...
This is based on the Average True Range Trailing Stops Strategy by Sylvain Vervoort, coded on TV HPotter. I have added Bands to see potential short and long stop loss zones before the indicator signals to switch itself, also changed color on the main Trailing Stop based on whether it is short or long, added increased stop loss hunt protection by combining with my...
This script measures the maximum and average length of upper and lower wicks. While this can be used as a volatility gauge and to see if there is more support or resistance, it's primary use is to not get wicked out on stops, by adding one of these numbers to the the Moving Average or S/R level that one is using for a Stop, plus maybe a few points of buffer.
A Donchian Channel with additional zones at places where its range is smaller than a set amount of atr. Thus it kind of combines with Keltner Channel qualities. Purpose is to set a stop loss wide enough to avoid shaking out of a position. The example chart shows a Philips day chart, where I opened position on 16 juli at 37,50 and set the stop loss at low border...
This script is designed for those who want to use BitMex's trailing stop. It's not meant to be used as entry exits, but rather to get an idea of how wide the trailing stop needs to be. I suggest you backtest with different values. The script can also be integrated into an existing strategy which does give entry/exits to act as its stop loss.
Standard Percentage-based Stop Loss for long and short, with configurable extra exit conditions. Just copy/paste into your script. Uses "low" and "high" values for crossing the stop loss threshold, but can be changed to "close" if you prefer (change "low" and "high" on lines 31 and 32 to "close")
The strategy contained in this post comes courtesy of babypips (.com), an excellent resource for all thing forex related. If you are new to trading, the site is definitely worth checking out! Code commentary and an introduction to Inside Bars are available for this post on the Backtest-Rookies (.com) website. Note: If you are interested in custom development...
This is an updated version of my previous stop loss script. I've added a double EMA line and modified the stop as below; In an uptrend.... 1. a yellow dot will appear once it's time to move your stop. The yellow dot will display at the level of the stop loss. Place your stop 1 pip below the dot. 2. The yellow dot will only appear if a new higher low has formed...
1. Find bar with the smallest narrow range for a chosen period. Use hvol for filter. 2. Place stop-order for long position at previous high and stop-order for short at previous low to catch breakout in any direction. 3. Take profit on the next bar.
Another script based on Linda Raschke's strategy with the same name from her book about swing trading.
Strategy with simple stop-loss and take-profit in percentage. If last trade was a successful one then repeat it. If not successful - do a reversal trade.
//@version=3 study("MavilimW,DARVAS,Tillson T3,trailing stop loss,ichimoku", overlay=true) M1= wma(close, 3) M2= wma(M1, 5) M3= wma(M2, 8) M4= wma(M3, 13) M5= wma(M4, 21) MAVW= wma(M5, 34) plot(MAVW, color=blue, linewidth=2) //@version=3 //author KıvanÇ @fr3762 on twitter //creator Nicholas Darvas //iff(low=lowest(low,5),low,iff(low =lowest(low,5),low ,iff(low...
Adds an indicator that can be used to set stop losses. This is the close price minus the ATR + 10%. The 10% is there to let the market perform and avoid whipsaws.
This is a simple script to quickly see changes in % in each candle. In blue open/close variation. In red Histogram with range between high and low. This helps me understand very quickly what's the typical change in % for a specific timeframe/pair, so I can fine tune my Stop Losses and Take Profits.
XPloRR MA-Trailing-Stop Strategy Long term MA-Trailing-Stop strategy with Adjustable Signal Strength to beat Buy&Hold strategy None of the strategies that I tested can beat the long term Buy&Hold strategy. That's the reason why I wrote this strategy. Purpose: beat Buy&Hold strategy with around 10 trades. 100% capitalize sold trade into new trade. My buy...
Plots the Highest and Lowest source price for N bars back. Similar to Donchian Channels except any price source can be used (best results: close ). Can be set to any interval independent of the chart interval. Repainting will occur if the chart interval is less than the indicator interval.