Hi! That's my first strategy. I already learn pine, so i will work on it more. Now i search how to make trailing stop working. "WMA + MACD strategy with traiing stop" is very simple strategy which is designated for stocks market. It is created only to take long positions. Buy signal is when WMA(120) is below price and macd(10,20,10) histogram is higher than...
This version includes Simple, Exponential and Weighted Moving Averages.
Plots 5 Weighted Moving Averages of 5 13 49 73 198 with source (High+Low+Close)/3 A Cross Appears when 13 WMA Crosses 49 WMA
This script is for a triple moving average strategy where the user can select from different types of moving averages, price sources, lookback periods and resolutions. Features: - 3 Moving Averages with variable MA types, periods, price sources, resolutions and the ability to disable each individually. - Crossovers are plotted on the chart with detailed...
This script is for a triple moving average indicator where the user can select from different types of moving averages, price sources, lookback periods and resolutions. Features: - 3 Moving Averages with variable MA types, periods, price sources, resolutions and the ability to disable each individually - Crossovers are plotted on the chart with detailed...
This is an enhance version of Momentum 4 Ways that shows 4 ways to calculate momentum and display each one along with their combined average value. This study was created to compare 4 different momentum values against their combined average using different display styles to allow the user to experiment with different views of momentum. - Added the ability to...
This script is for a triple moving average indicator where the user can select from different types of moving averages and periods. This script improves upon tutorial 3 by adding source selection for MAs and another option for an MA that is not built-in, the HMA . It is meant as an educational script with well formatted styling, and references for specific functions.
A moving average that weighted with Farey fractions. It matches a standard linear weighted average almost one-to-one. Why? Because both averages have strictly monotonic weighting sequences and assign a higher weight to latests data. So, Farey weights are just scaled to linear ones. Instead of specifing period you specify an order of Farey sequence. To learn more...
The Savitzky-Golay Filter is a polynomial smoothing filter. This version implements 3rd degree polynomials using coefficients from Savitzky and Golay's table, specifically the coefficients for a 5-, 7-, 9-, 15- and 25-point window moving averages. The filters are offset to the left by the number of coefficients (n-1)/2 so it smooths on top of the actual...
You can choose between MA and EMA - Adding the 8, 13, 21, 55, 144, 233 at same time
This indicator shows when the market is oversold or overbought changing the bar colors as the High+Low/2 going to extreme.
This type of moving average was originally developed by Alex Orekhov at his home. This WMA uses previous prices as weights for the new ones. At the moment, this is a highly experimental approach, so don't use it in real trading. The weighting scheme is presented on the chart.
3 moyennes mobiles simples, 3 moyennes exponentielles et 3 moyennes ponderées. Longueurs configurables dans les paramètres d'entrée.
The weights of this moving average are powers of the weights of the standard weighted moving average WMA . Remember: When parameter Power = 0, you will get SMA . When parameter Power = 1, you will get WMA . Good luck!