This is a very simple long-only strategy I've used since December 2022 to manage my Bitcoin position. I'm sharing it as an open-source script for other traders to learn from the code and adapt it to their liking if they find the system concept interesting. General Overview Always do your own research and backtesting - this script is not intended to be traded...
Quite recently I came upon a concept of Trailing Take Profit and I couldn't find a PineScript which implements it for the fastest possible execution, so here it is :) Everybody knows Trailing StopLoss - an invisible mechanism follows the price and exits the trade once the price retreats too much from its recent most extended favourable value. Trailing TakeProfit...
The new "Pure Morning 2.0 - Candlestick Pattern Doji Strategy" is a trend-following, intraday cryptocurrency trading system authored by devil_machine. The system identifies Doji and Morning Doji Star candlestick formations above the EMA60 as entry points for long trades. For best results we recommend to use on 15-minute, 30-minute, or 1-hour timeframes, and are...
The Bollinger Bands - Breakout Strategy is a trend-following optimized for short-term trading in the crypto market. This strategy employs the Bollinger Bands, a widely recognized technical indicator, as its primary instrument for pinpointing potential trades. It is capable of executing both long and short positions, depending on whether the market is in a spot or...
An exponential moving average ( EMA ) is a type of moving average (MA) that places a greater weight and significance on the most recent data points. The exponential moving average is also referred to as the exponentially weighted moving average . An exponentially weighted moving average reacts more significantly to recent price changes than a simple moving average...
This is an example snippet that should allow for adding a trailing stop and trailing stop activation to almost any script. You can use it by setting a trailing stop alone. This will provide you standard trailing stop functionality allowing you to lock in profits and increase your stop-loss as the price moves in your direction. You can also set the trailing stop...
This simple Fast/Slow EMA cross strategy is designed to be used with Alertatron to place limit orders and use a trailing stop/take profit. Features: Indicators when the fast EMA crosses the slow EMA Trailing Stop/Take Profit Bar look back for placing limit order Macro EMA filter to only trade with the macro trend
💭 Overview 💢 What is the "Template Trailing Strategy” ❓ The "Template Trailing Strategy" (TTS) is a back-tester orchestration framework. It supercharges the implementation-test-evaluation lifecycle of new trading strategies, by making it possible to plug in your own trading idea. While TTS offers a vast number of configuration settings, it primarily allows...
This script demonstrates how to do trailing sell. With this approach, given an exit signal, instead of selling directly, you just follow the price upwards (for long positions) and you sell when the price decreases by a small percentage. The order will be executed when the next bar is closed. This approach may increase the profits (slightly) in some strategies!...
This script demonstrates how to do trailing buy. With this approach, given an entry signal, instead of buying directly, you just follow the price downwards (for long positions) and you buy when the price increases by a small percentage. The order will be executed when the next bar is closed. This approach may increase the profits (slightly) in some strategies!...
This script demonstrate how to make a Training Stop Loss to "ride the wave". In comparison to classic Stop Loss this strategy follows the price upwards (for long positions) and when price drops by a fixed percentage then you exit your position.
This script demonstrated a dual trailing take profit and stop loss strategy. Where you take 50% (configurable) of the profit when a price level is reached and then you get the rest when a trailing stop loss is hit.
This script demonstrates how to do trailing take profit. With this approach instead of setting a limit order, when you hit the target you just follow the price upwards (for long positions) and you sell when the price drops by a small percentage. This approach will increase the profits (slightly) in every strategy! Be aware that the simulated data may produce...
For Educational Purposes. Results can differ on different markets and can fail at any time. Profit is not guaranteed. This only works in a few markets and in certain situations. Changing the settings can give better or worse results for other markets. This strategy is based on Wilder's Volatility System. It is an ATR trailing stop that is used for long term...
Same coding only coloring and strategy version added //Barcolor Green = Trail1 > Trail2 and close > Trail2 and low > Trail2 Blue = Trail1 > Trail2 and close > Trail2 and low < Trail2 Red = Trail2 > Trail1 and close < Trail2 and high < Trail2 Yellow = Trail2 > Trail1 and close < Trail2 and high > Trail2 //It gives White color where there is...
I am sharing the strategy version of the indicator used before. It is very simple to use. These are the settings I use, you can change, test and use as you wish. Atr Period 5 Highest High Period 10 Multiplier 2.5 It can generate more signals in shorter time frames. The success rate will be higher in longer time frames.
=========== Percent Trailing Stop % =========== Another Stop Loss Indicator today - our last Fixed SL/TP script went down quite well, this one is for adding a Percent Trailing Stop from Entry Price to your own strategy. You can ignore the actual entry/exit orders - they're based on a simple MA cross and are therefore NOT relevant, NOT profitable and NOT...
This is a Multi-Timeframe version of my Trailing SL Strategy. Few weeks ago I published Trailing SL Strategy. There I used only basic Trailing SL to enter positions. It worked pretty well so I tried to work on it a bit. I thought what if you can use the same ATR TSL on different timeframes and combine them into one signal. In this strategy you can use only ATR...