The Falcon v2 Long only strategy Using Stop loss and take profitHello,
Here is a backtest result from the beginning of the year on BTC. The white line is the Buy & Hold return.
Comission is set to 0.05% and there is no repainting : the price variable I'm using is heikenashi(tickerid).
The indicator is built upon RSI, EMAs and some other personnal tricks so predict trends.
I coded a stop loss and take profit system : the script will simply buy and sell upon conditions.
As usual I am selling access to the script, If some are interested I will publish an alert setup version. I am also open to development or reverse engineering commissions.
Stoploss
ATR Stop LossAdds 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.
TSLThis is a customized indicator that displays a trailing stop-loss directly on the chart:
The stop-loss is calculated using our Sublime Trading formula
The formula creates a stop-loss that is unique to each instrument traded
The stop-loss follows price as the trend develops
The stop-loss prevents the risk of being stopped out too early from pullbacks in a trend
The stop-loss helps remove subjectivity from exit management
StochRSI and RSI StrategyThis is a strategy that is based around using the general value of the RSI to determine the trend and then using the Stoch RSI to pick and entry point.
It also uses the RSI to determine a profit taking point or exit point from the trade.
This version doesn't have a stop loss other than the signal to trade the opposing direction. Therefore it is more effective in higher trading time frames like Daily and Weekly.
I have also added the function of selecting the time frame for which the strategy is applied to.
SL/TP assistantThis 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 StrategyXPloRR 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 strategy is triggered by the fast buy EMA (blue) crossing over the slow buy SMA curve (orange) and the fast buy EMA has a certain up strength.
My sell strategy is triggered by either one of these conditions:
the EMA(6) of the close value is crossing under the trailing stop value (green) or
the fast sell EMA (navy) is crossing under the slow sell SMA curve (red) and the fast sell EMA has a certain down strength.
The trailing stop value (green) is set to a multiple of the ATR(15) value.
ATR(15) is the SMA(15) value of the difference between the high and low values.
The scripts shows a lot of graphical information:
The close value is shown in light-green. When the close value is lower then the buy value, the close value is shown in light-red. This way it is possible to evaluate the virtual losses during the trade.
the trailing stop value is shown in dark-green. When the sell value is lower then the buy value, the last color of the trade will be red (best viewed when zoomed)(in the example, there are 2 trades that end in gain and 2 in loss (red line at end))
the EMA and SMA values for both buy and sell signals are shown as a line
the buy and sell(close) signals are labeled in blue
How to use this strategy?
Every stock has it's own "DNA", so first thing to do is tune the right parameters to get the best strategy values voor EMA , SMA, Strength for both buy and sell and the Trailing Stop (#ATR).
Look in the strategy tester overview to optimize the values Percent Profitable and Net Profit (using the strategy settings icon, you can increase/decrease the parameters)
Then keep using these parameters for future buy/sell signals only for that particular stock.
Do the same for other stocks.
Important : optimizing these parameters is no guarantee for future winning trades!
Here are the parameters:
Fast EMA Buy: buy trigger when Fast EMA Buy crosses over the Slow SMA Buy value (use values between 10-20)
Slow SMA Buy: buy trigger when Fast EMA Buy crosses over the Slow SMA Buy value (use values between 30-100)
Minimum Buy Strength: minimum upward trend value of the Fast SMA Buy value (directional coefficient)(use values between 0-120)
Fast EMA Sell: sell trigger when Fast EMA Sell crosses under the Slow SMA Sell value (use values between 10-20)
Slow SMA Sell: sell trigger when Fast EMA Sell crosses under the Slow SMA Sell value (use values between 30-100)
Minimum Sell Strength: minimum downward trend value of the Fast SMA Sell value (directional coefficient)(use values between 0-120)
Trailing Stop (#ATR): the trailing stop value as a multiple of the ATR(15) value (use values between 2-20)
Example parameters for different stocks (Start capital: 1000, Order=100% of equity, Period 1/1/2005 to now) compared to the Buy&Hold Strategy(=do nothing):
BEKB(Bekaert): EMA-Buy=12, SMA-Buy=44, Strength-Buy=65, EMA-Sell=12, SMA-Sell=55, Strength-Sell=120, Stop#ATR=20
NetProfit: 996%, #Trades: 6, %Profitable: 83%, Buy&HoldProfit: 78%
BAR(Barco): EMA-Buy=16, SMA-Buy=80, Strength-Buy=44, EMA-Sell=12, SMA-Sell=45, Strength-Sell=82, Stop#ATR=9
NetProfit: 385%, #Trades: 7, %Profitable: 71%, Buy&HoldProfit: 55%
AAPL(Apple): EMA-Buy=12, SMA-Buy=45, Strength-Buy=40, EMA-Sell=19, SMA-Sell=45, Strength-Sell=106, Stop#ATR=8
NetProfit: 6900%, #Trades: 7, %Profitable: 71%, Buy&HoldProfit: 2938%
TNET(Telenet): EMA-Buy=12, SMA-Buy=45, Strength-Buy=27, EMA-Sell=19, SMA-Sell=45, Strength-Sell=70, Stop#ATR=14
NetProfit: 129%, #Trade
Fibozachi - Dynamic Trailing Stop (D.T.S.)Unlike other static or lazy stop-loss tools, the Dynamic Trailing Stop uses proprietary “Smart-Stop” technology to protect your profits while minimizing risk. When price consolidates or moves sideways, the D.T.S. clearly identifies support and resistance levels — remaining unchanged until price exits consolidation and resumes moving upwards or downwards. Though there are many stop-loss indicators, the D.T.S. consistently outperforms other methods with superior accuracy and flexibility.
Another benefit is the ability to “Round to the Nearest Tick(s)”, which lets you adapt the D.T.S. to each unique trading instrument and specific tick sizes (minimum price movements). The D.T.S. intelligently adapts to price movement; it remains accurate and effective across all timeframes, chart types, and trading vehicles (stocks, options, ETFs, fixed income, futures , FX, commodities , and cryptocurrencies).
The D.T.S. also simplifies chart analysis by color-coding each bar based on whether price is above or below the D.T.S. Not only does the D.T.S. serve as a highly effective stop-loss, but it can also be used to determine if the current trend is bullish or bearish.
Product Page: www.fibozachi.com
Fibozachi - Dynamic Trailing Stop (D.T.S.)Product Page: www.fibozachi.com
Fibozachi - Dynamic Trailing Stop (D.T.S.)
Unlike other static or lazy stop-loss tools, the Dynamic Trailing Stop uses proprietary “Smart-Stop” technology to protect your profits while minimizing risk. When price consolidates or moves sideways, the D.T.S. clearly identifies support and resistance levels — remaining unchanged until price exits consolidation and resumes moving upwards or downwards. Though there are many stop-loss indicators, the D.T.S. consistently outperforms other methods with superior accuracy and flexibility.
Another benefit is the ability to “Round to the Nearest Tick(s)”, which lets you adapt the D.T.S. to each unique trading instrument and specific tick sizes (minimum price movements). The D.T.S. intelligently adapts to price movement; it remains accurate and effective across all timeframes, chart types, and trading vehicles (stocks, options, ETFs, fixed income, futures, FX, commodities, and cryptocurrencies).
The D.T.S. also simplifies chart analysis by color-coding each bar based on whether price is above or below the D.T.S. Not only does the D.T.S. serve as a highly effective stop-loss, but it can also be used to determine if the current trend is bullish or bearish.
Highest/Lowest Channel Multi-Time FramePlots 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.
HiLoHi 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
ATR PointsUtile script per valutare lo stop loss con il metodo dell'ATR.
La variabile Length definisce i periodi di riferimento (default 14)
La variabile Multiplier definisce un moltiplicatore del risultato che permette di aggiustare il fattore di confidenza a secanda della propria strategia di trading. Il valore di default rappresenta l'ATR moltiplicato per 1.
Hyper TrendHyper Trend can help you with setting your stop loss and take profit levels and shows if exisiting price levels are in long zone or short zone. Tune the indicator first for the chart you intend to use Hyper Trend on with the given options. Enjoy !
PS: Multiplier 2 gives results similar to the famous Super Trend indicator developed by Olivier Seban.
Parabolic GlitterThis 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 "Increment" and "Start" arguments (i.e. SAR default is Start = 0.02, Increment = 0.02, therefore Increment/Start Ratio = 1). The same logic applies to the Max/Start Ratio Argument (i.e. SAR default is Start = 0.02, Max = 0.2, therefore Max/Start Ratio = 10).
The Adaptive Coloring argument determines whether the plotting points are red in downtrends and green in uptrends, or if all the plotted points are given the same color (defaults to silver).
SuperTrend BFI 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 !