This is an experimental study designed to track directional polarities across multiple timeframes and express them as a simple two color grid. The polarity in this calculation is determined by divergence between a fast and slow McGinley Dynamic. Your current resolution's polarity is the top row, the rows below are are for higher timeframes of your choice.
This is an experimental study designed to track the average magnitude of price movements. First the range between high and low, and the range between open and close are calculated. Then a positive and negative root mean square is taken of both ranges, and the results are smoothed with an exponential moving average. And lastly, the median value between the ranges...
This is an experimental study that utilizes Kaufman's Adaptive Moving Average and the McGinley Dynamic. First, a fast and slow KAMA based McGinley Dynamic are calculated. The divergence between them is used to indicate wave direction. The channel's bounds are calculated by taking the highest high and lowest low of the slow McGinley Dynamic over a specified channel...
This is version 2 of Special features: Added partial profit taking as price rises. Profit taking is triggered by price crossing an EMA. After profit taking, price has to rise by a user-specified percent before taking profits again. Also includes condition for fully closing position after meeting specified profit target. To incorporate into your algo,...
Here's how to create a trailing stop with a manual buy order, on an exchange that does not support native trailing stops. Code can easily be copy+pasted into your normal algos. To set the entry price for your manual trade, specify the bar time when the trade was made. Note that the time you specify needs to correspond to an opening time on your chart--if it's a 3...
This is an experimental study in which a geometric moving average is taken of price, then the range is multiplied by average annualized volatility based on the current trading timeframe and specified lookback, and by Fibonacci numbers 1 through 21.
This version triggers every batch within each candle. The previous version only triggered one batch per candle. This will not trigger batches in perfect order, but I left the "sequential" option because it still triggers the batches in order more often than not.
This script lets you separate alerts into batches, and trigger each batch in either sequential order or (pseudo)random order. You can also specify the number of batches being used. This is helpful when you have alerts to be triggered on every candle, but the number of alerts causes API errors if they are all executed at once.
This study is an experimental variation of Peter Martin's Ulcer Index built using the framework of my Dual Ulcer Index indicator. In this version, the difference between the long and short UI is calculated. This index is a measure of volatility and momentum that can be used to locate low risk trading opportunities.
Works best as an intraday indicator Background black & line green = Long VIX Background black & red line = No trade Background orange & line green = Consider selling Background orange & line red = Short VIX
This is a simple Donchian Channel variation that separates the the channels into quadrants, and enables MTF calculation. Average open and close plots are included for additional confirmation of a trend.
The code in this post contains a set of default strategy inputs I use in new projects / backtests in Tradingview. Full code commentary is available on the Backtest-Rookies website. To comply with house rules, I cannot post the direct link here. Features Trade Direction: So that you can limit the strategy for long only, short only or trade in both...
This is an experimental variation of Bollinger Bands in which standard deviations are taken of price, multiplied by the Golden Mean and Fibonacci numbers, smoothed using a simple moving average, then offset by half of the specified period.
This is an experimental study designed to visualize momentum and average range by expressing divergences between price and a McGinley Dynamic as a percentage.