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.
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.
Hi Everyone, Do you guys know how can I add an exit strategy to this hilo. I would like it to exit either with hilo invertion (already does) or with profit/loss (it doesn't work) Thank you
This indicator overlays a series of Parabolic Stop And Reverses (SARs) to continuously illustrate trends as they form in addition to a range of good possible levels at which to place stop orders. The Initial Start argument gives the minimum value for the SAR function's "Start" argument. The Increment/Start Ratio argument gives the ratio of the SAR function's...
I am republishing this indicator as something changed within TradingView's script engine so that the old script ceased to function ( a minor syntax error that used to be acceptable but no longer is). Anyhow here's the fixed version which as you can see has done a great job of keeping us on the right side of the trend with once-hot stocks like Skyworks !