Library "TrailingStops" This library contains functions to output trailing stop lines. f_marketStructureStop(_restartMode, _flipMode, _restartLowIn, _restartHighIn) Parameters: _restartMode - Defines how the stop lines persist. Allowed values are: "Always On" - The stop lines are always present and they just reset when they're crossed. ...
🎲 Overview 🎯 this is a optimized version based on ATR_RSI_Strategy with no-repaint. Sharpe ratio: 1.4, trade times: 116 , trade symbol: BINANCE:BTCUSDTPERP 15M you can get same backtesting result with the correct settings. 🎲 Strategy Logic 🎯 the core logic is quite simple, use ATR and RSI and SMA 1. when price is in high volatility ( atr_value > atr_ma); 2....
Welcome to Super 8, the ultimate automatic trading script for Pine! This bad boy is designed to go both long and short, and it's equipped with all the tools you need to maximize your profits. Whether you're looking to take profit, set a trailing stop, or protect yourself with a stop loss, Super 8 has you covered. But that's not all! Super 8 is also loaded...
Library "TradingSolutions" Some tools and functionalities that my scripts often contains f_strategyPosition() for position data Returns: variables with position data longTrailingStop(_atrLongLength, _atrLongMultip, _longTrade) Calculates trailing stop loss for long positions based on atr Parameters: _atrLongLength _atrLongMultip...
This is a redesign of the Chandelier Exit indicator. It removes stupid transitions between Chandelier Exit' states and highlights initial points for both lines. This indicator was originally developed by Charles Le Beau and popularized by Dr. Alexander Elder in his book "Come Into My Trading Room: A Complete Guide to Trading" (2002). In short, this is a...
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 indicator returns trailing maximums/minimums and their average resetting at the occurrence of a pivot point high/low, thus allowing the highlighting of past and current support and resistance levels. Settings Length: Determines the pivot high/low lookback, with higher values allowing to detect longer term tops and bottoms. Usage The indicator...
The general idea of using SwingArms is to provide a visual confirmation of a trend change. Green for bullish (BUY) Red for bearish (SELL) A color-coded system providing an easy way for a novice to understand. Converted to TradingView based on the work of Jose Azcarate. I hope you guys enjoy.
The Ichimoku Cloud is a collection of technical indicators that show support and resistance levels, as well as momentum and trend direction. It does this by taking multiple averages and plotting them on a chart. It also uses these figures to compute a “cloud” that attempts to forecast where the price may find support or resistance in the future. The Ichimoku...
Bjorgum 3Commas Bot A strategy in a box to get you started today With 3rd party API providers growing in popularity, many are turning to automating their strategies on their favorite assets. With so many options and layers of customization possible, TradingView offers a place no better for young or even experienced coders to build a platform from to meet...
First off, huge thanks to @fikira! He was able to adapt what I built to work much more efficiently, allowing for more strategies to be used simultaneously. Simply put, I could not have gotten to this point without you. Thanks for what you do for the TV community. Second, I am fairly new to pinescript writing, so I welcome criticism, thoughtful input and...
I share this TSL indicator with alert (I use it only for Stocks), the configuration is very simple, you must select if it is a Short or Long operation, time at which the operation was opened,% of the daily ATR for TSL. It also contains: - Alert - Panel Info
PMax is a brand new indicator developed by KivancOzbilgic in earlier 2020. It's a combination of two trailing stop loss indicators; One is Anıl Özekşi's MOST (Moving Stop Loss) Indicator and the other one is well known ATR based SuperTrend. Both MOST and SuperTrend Indicators are very good at trend following systems but conversely their performance is not...
This is a redesign of the SuperTrend indicator. It removes stupid transitions between SuperTrend states and highlights initial points for both lines. SuperTrend is a moving stop and reversal line based on the volatility (ATR).
This is a redesign of the built-in Parabolic SAR indicator. I added a proper input system, an option to highlight initial points for both lines and an option to choose points width. So, customize it as you want. Parabolic SAR was originally developed by J. Welles Wilder and described in his book "New Concepts in Technical Trading Systems" (1978). It is a...
I'm a big fan of simple strategies. This one is a very simple one. So it consists only from one Trailing SL. When SL is hit, the position is reversed and SL is tracked for a new position. You can choose one of 3 types of SL: % of your price ATR - it is calculated as current ATR * multiplier Absolute As you can see even this simple strategy can show...
This indicator is a detrended price series using the Parabolic Stop and Reverse (SAR) trailing stop, resulting in a bounded oscillator in the range (-100, 100). The SAR output is also normalized to obtain a noiseless oscillator which can complement the detrended price. Settings Start: Initial value of the convergence factor used when a new trend is detected...
Simple visualisation of Average True Range in Pinescript V4. The script has two modes: Running and Trailing. In Running mode, it continuously displays the ATR above and below the price. Specifically, it displays the High and Low price plus and minus the ATR times a user-supplied multiplier. This can be helpful for visualising volatility. In Trailing mode, it...