TradiKator 01 MATradiKator 01 MA  is the a visual indicator that plots market capitalized cost following moving average (SMA and EMA) , based on  LEI & LoneCapital  defined metrology method and includes the  TradiKator  creative idea to help visualize the Price action in relation to the market capitalized cost.
 Q&A 
Q1.Why Moving Average ?
     As  LEI & LoneCapital  explained moving average is indicating market capitalized cost moving.
     If you are a trend following trader, you should participate in upside while sidestepping downside. 
     You need a indicator that help you to make money while prices are rising, then exit when they are falling.
     A classical approach is the moving average strategy.
     Nevertheless as efficient-market hypothesis (EMH) states that asset prices will reflect all available information.
     The smart trader should focus on price moving i.s.o. reading all available information which is not practical.
Q2.What is Moving Average ?
     As the name implies, the moving average is an average of a price's movement over time. 
     The simple moving average (SMA) is a just simple average over time.
     The exponential moving average (EMA) on the other hand gives greater weight to more recent price action.
Q2.What are the Period Moving Average based on ?
     The default Moving Average Period setting are based on  LEI & LoneCapital  defined  Short term 20 (days in month), Mid term 60 (days in quarter), Long term 120  (days in half year).
     We use 3 colors to represent these 3 periods.  Black as Short term , Red as Mid term , Blue as Long term 
     You will see same color scheme in our indicators.
     Of cause you can change the default setting to switch to your favorite Moving Average Period. How to do it is listed in setting.
 Function and Setting 
1.MA period setting
    "Adjust All MA Period"   --> Users can increase or decrease all 3 period in the same time. For example, input "-1" , you will have 3 periods as "19","59","119"
    "Fix the M_MA=3*S_MA,L_MA = 6*S_MA (overwrite below 2 settings)"   --> It will fix the Mid period as 3 times of short, Long period as 6 times of short. Meanwhile the separated setting for Mid and long will be ignored.  
    "3 period separated settings"    -->  Please disable the "fix ..." setting for individual 3 periods 
    "Source"    -->  Allow user switch used source from "close" to any other data source like"hl2","hlc3" and etc.
2.Deduction price Setting
    "Show deduction price label (Pls disable the angle)"    --> Will show 3 deduction price. Please disable the "Show Angle ..." before enable this switch.
    "Arrow on Slope (Deduction vs Today Which is higher)"    --> Will show 3 arrows aim to the higher price between Deduction and Today.
   Also the dashed slope line will change to solid line. It helps when  Deduction is very close to Today
  
3.Angle for slope line       ---> Killer feature 
    "Show Angle ..."    --> As  LEI & LoneCapital  explained current trend can be described as  "o'clock direction wise" .
   By measuring current trend's  "angle"  we can has a fuzzy image about current trend.
    Note: In fact there is real 12 o'clock or 90 degree, therefore we define our "90 degree" and all called value of "angle" is based on our defined metric. 
   Also everyone has different opinion about the start point of current trend.
   We choose the 3 MA periods as the start point to measure the angles.
   There are 3 mod prepared for the angle measure metrology.
   Abs %   --> "90 deg" = increase 100% in 20 days. It is the most robust mod.
   1Y rel %   --> "90 deg" = increase 50% of 1Y Absolute price range in 20 days. It can't be used in case of minus price.(like CL future in 2020 Mar)
   1Y rel log   --> "90 deg" = increase 50% of 1Y log scaled price range in 20 days. Also it can't be used in case of minus price. 
4.Deduction price trail and Background color
    "Show Deduction price trail"    --> Enable it to show the 3 Deduction prices' trail.
    "Show trail in the coming days"    --> Enable : the prices' trail is showed in the coming days. Disable : the prices' trail is showed on the MA period historical days.   
    "MA long term Trend Background Color"    --> Similar to the "fill EMA with color", fill the Background with color which represent the EMA trend.
5.High volume and Show gap
    "High volume label"    --> Highlight the high volume with label.
   We define the volume which is higher than percentile value of 3 MA historical volume statistical metrics.
   So the black label means this volume is higher than 97 percentile value of 20 days' volume. Red 60 days and Blue 120 days.
   The percentile can be set by user. Also the MA period can be adjusted by user.
    "Show gap"    --> Highlight the gap between close and next day open.
   Note: We don't measure whether the gap is closed or not.
6.Forecast SMA         ---> Killer feature 
   As you noticed the dashed line after today, it is our killer feature: forecast SMA.
   Green Dashed line: The close price according to the assumption user input.
   3 colors' Dashed lines: The SMA based on the Green Dashed line's close price.
    "Days to plot forecast SMA (Max=14, SwitchOff=0)"    --> Please decide how many days' SMA user would like to forecast.
    "Mod1 Assumed chg ratio ‰ in the every days (10=1%)"    --> Mod1: User should give the change rate in the coming every days. For example, user's assumption is that price will increase 10% everyday.
    "Mod2 Assumed chg % in the ?th day (1=1%)(Pls set Mod1 to 0)"    --> Mod2: User should give the change rate in the future ?th days. For example, user's assumption is that price will increase 30% in the 3rd day.
    "Mod2 Need ? day to reach the chg % (tomorrow = 1 day)"    --> Mod2: User should give the future ?th days. 
   note: While using Mod2, user has to disable Mod1 by set Mod1 to 0 (default setting)
TradiKator is Traders' indicator.
Please visit TraiKator for more free script.
We also support Chinese.
Đường Trung bình trượt Đơn giản (SMA)
Tabajara Ogro 2021 - RSJTabajara was created by  André Machado , a Brazilian trader known as  "O OGRO de Wall Street" .
The main idea is to indicate to the trader the current price trend and what type of operation to look for in the chart.
It does this through the relation of the closing price position and the SMA of 20 periods, by painting the candles in 4 possible colors:
Green -> Price rising in Bullish Trend (search for LONG entry points)
Black -> Price correction in Bullish Trend (search for LONG entry points)
Red -> Price falling in Bearish Trend (Search for SHORT entry points)
White -> Price correction in Bearish Trend (Search for SHORT entry points)
In addition, I also put the following indicators in the script:
EMA of 8 periods: To identify short-term price movements
SMA of 50 periods: To identify medium-term price movements
EMA of 80 periods: To identify medium-term price movements
SMA of 200 periods: To identify long-term price movements
Bollinger bands in the standard configuration: To identify the volatility of price movements
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
O Setup Tabajara foi criado por  André Machado , trader brasileiro conhecido como  "O OGRO de Wall Street" .
A ideia deste setup é indicar ao trader a tendência atual dos preços e qual o tipo de operação deve-se buscar no gráfico.
Ele faz isto através da relação de posicionamento do fechamento dos candles e o sentido da média aritmética de 20 períodos pintando os candles de 4 possíveis cores:
Verde -> Preço subindo em Tendência de alta (Buscar pontos de entrada de COMPRA)
Preto -> Preço corrigindo em Tendência de alta (Buscar pontos de entrada de compra)
Vermelho -> Preço caindo em Tendência de baixa (Buscar pontos de entrada de Venda)
Branco -> Preço corrigindo em Tendência de baixa (Buscar pontos de entrada de Venda)
Além disso, também coloquei no script os seguintes indicadores:
Média Exponencial de 8 períodos: Para identificar os movimentos curtos prazo do preço
Média Aritmética de 50 períodos: Para identificar os movimentos de médio prazo do preço
Média Exponencial de 80 períodos: Para identificar os movimentos de médio prazo do preço
Média Aritmética de 200 períodos: Para identificar os movimentos de longo prazo do preço
Bandas de Bollinger na configuração padrão: Para identificar a volatilidade dos movimentos do preço
Fancy Bollinger Bands Strategy [BigBitsIO]This script is for a Bollinger Band type indicator with built-in TradingView strategy including as many features as I can possibly fit into a Bollinger Band type indicator including a wide variety of options to create the most flexible Bollinger Bands strategy possible.
Features:
- A single custom moving average serving as the middle band.
- Standard MA inputs.
- MA type.
- MA period.
- MA price.
- MA resolution (time frame).
- Visibility toggle.
- MA Candle Type
- Fancy MA inputs.
- Toggle to show only candles included in the MA calculation ("Highlight inclusion") or display entire MA history.
- Toggle to show a ghost trail when Highlight inclusion is toggled on. Displays a shaded version of past MA history before the inclusion period (as seen on snapshot).
- Toggle to show forecast values for the MA.
- Other inputs related to forecasting:
- Forecast bias. (Neutral forecasts MA if the current price remains the same.)
- Forecast period.
- Forecast magnitude.
- Toggle showing details on the screen
- Toggle the visibility of the fill between the upper and lower bands.
- Toggle to use ATR instead of the standard deviation to calculate the location of the upper and lower bands.
- Custom input for the ATR period.
Strategy Features
-Strategy Window - only test during this window
-Take Profit and Stop Loss
-Open and Close conditions, including condition counts and any/all requirements
-Many conditions to choose from that can either be selected to open, close or open and close a position
    -Conditions include:
        -Price crossing above/below the Upper, Middle, or Lower bands
        -Price being above/below the Upper, Middle, or Lower bands
        -Bollinger Band width crossing or being above/below custom values
        -Percent B crossing or being above/below custom values
This script may contain errors, or out of date code.  Please be mindful of updates to the script.
*** DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB. ***
MA(X) + ForecastingSimply put, MA(X) + Forecasting is a moving average cross visualizer which allows the end-user to enter two user defined moving averages, each with their own length, source, and type, to create the visualized ribbon, as well as the option for an additional three separate moving averages, all with their own length, source, and type enabling MA(X) the flexibility to be used for any one of your favorite moving average strategies or in conjunction with another for added confluence. 
Additionally, MA(X) also has a built in moving average ‘Forecasting’ feature, which calculates and projects the trajectory of each moving average. For added flexibility, the forecasting feature has 4 bias settings, (Neutral, Bullish, Bearish, Auto). The first three bias settings are rather self explanatory, and the “Auto” bias setting will in a nutshell automatically determine the current market cycle, and then apply the correct bias setting to use. 
By default, the indicator is setup with the settings for the Daily SMA strategy ’10 SMA + 22 SMA’ as well as the Daily EMA+SMA strategy “21 EMA”, but can be used on any timeframe with any settings needed. 
Enjoy!
  
Multi MA CloudsEMA Clouds are used for identifying trends. It helps to see moving averages as in a range especially when you look at them in Micro time frames like 1/5/10/15/30 mins. So these Clouds could be used for Intraday trading for identifying trends and pullbacks. 
For example, on a 10min chart, once you see a parabolic move, don't take trade until the bar touches 5/13 or 8/9 EMA clouds. 
There are other EMA cloud scripts available but this one gives you option to choose MA Type and Source in addition to providing all well known MA range in one script. You can modify the MA length as you wish. So you can disable one you don't want to see on the chart. 
Please look at my other scripts at www.tradingview.com 
Combined EMA & MA crossovers [CDI]Implementation of the strategy of moving averages crossings combining two fast   and two slow   that are used to confirm the entry.
The purpose is to be able to quickly see a backtesting of the strategy by easily configuring the profit / loss percentage. In this script the profit percentage is used for the loss percentage as well.
Additionally you can see the moving averages all in a single chart tool.
In the community to which I belong, this strategy is used in daily candles, especially for swing trading, but it can be used in different time frames.
 WARNING: 
- For purpose educate only
- The entries are used under your responsibility
SRSI/CCI :: ALLinPower v10.0 
Everything you see in this indicator has beed designed with purpose to ease your trading with visual technical analysis of the market. It pulls data from 7 different TimeFrames and it can not be more simpler visual representation of its calculations when applied on chart.
When applied on chart, you will see two sets of WAVES. First set is made out of SRSI calculation and the second is made out of CCI calculation. Both of them follows the same rules.
Background GREEN/RED wave is made out of Multiple Timeframes and it represents a TREND. GREEN for LONG, RED for SHORT trend.
Over the background wave there is a wave made of current TimeFrame data and its main purpose is to see when the POWER of certain direction will diminish. The less time little wave stays in current trend the more likely is that it will change the trend based on lack of power the market is getting in certain direction.
 HOW TO USE IT? 
 Rule 1.
TIMEFRAMES 
Choose the best TimeFrame for the job. I use: 1min, 2min, 3min, 5min, 8min, 13min, 21min, 34min or 56min (golden ratio). You can also pick a different TF but only to up to 1h TF chart as it does not work well with TF over 1h. Smaller TF is used for SCALPING of DAY TRADING higher TF is used for SWING TRADING. You get the picture?
 Rule 2 
 TO ENTER BUY/LONG POSITION:  When big trend wave is below the middle line and coloured in RED and little wave just entered the area and exits it very soon after. Basically when RED straight line gets smaller and smaller (the POWER of SHORT diminishes) it is a sign for LONG.
 TO ENTER SELL/SHORT POSITION:  When big trend wave is over the middle line and coloured in GREEN and little wave just entered the area and exits it very soon after. Basically when GREEN straight line gets smaller and smaller (the POWER of LONG diminishes) it is a sign for SHORT.
To ease yourself the spotting of this instances just follow the GREEN/RED dots and use ALERTS (choose BUY POWER for LONG signals or choose SELL POWER for SHORT signals) to make yourself free from staring at a computer/mobile all the time and just wait for a signal.
 Rule 3
CAUTION 
Do not rush to enter a position and try to predict what indicator will do next. It does not end well.
Be aware you are not exiting a position in panic that would be too soon or even worse, you get married to bad trade and you are not exiting even though you should exit by many signals you get. 
Use risk management strategy to protect your capital.
Follow the rules and make your trading easier and better.
RSI :: ALLinDivergence v10.0 
Everything you see in this indicator has been designed with a single purpose, to ease your trading with simplify visual technical analysis of the market. It pulls data from 7 different TimeFrames and it can not be more simpler visual representation of its calculations when applied on chart.
When applied on chart, you will see GREEN/RED alternating MTF RSI line and its 70 overbought area and its 30 oversold area. There is a gentle purple colour line in the background which represents RSI line of the current TF (it is not crucial but it helps to know why MTF line turns RED or turns GREEN (crossing of those two). 
 HOW TO USE IT? 
 Rule 1.
TIMEFRAMES 
Choose the best TimeFrame for the job. I use: 1min, 2min, 3min, 5min, 8min, 13min, 21min, 34min or 56min (golden ratio). You can also pick a different TF but only to up to 1h TF chart as it does not work well with TF over 1h. Smaller TF is used for SCALPING of DAY TRADING higher TF is used for SWING TRADING. You get the picture?
 Rule 2 
 TO ENTER BUY/LONG POSITION:  search for HigherLows on RSI MTF  GREEN/RED LINE when it is coloured RED. To enter a position it should be confirmed with AALERT :: ALLinDivergence v 10.0 that "GREEN" Divergence is emerging.
 TO ENTER SELL/SHORT POSITION:  search for LowerHighs on RSI MTF  GREEN/RED LINE when it is coloured GREEN. To enter a position it should be confirmed with ALERT :: ALLinDivergence v 10.0 that "RED" Divergence is emerging.
 Rule 3 
 EXIT FROM BUY/LONG POSITION:  search for HigherLows on RSI MTF  GREEN/RED LINE. 
 EXIT FROM SELL/SHORT POSITION:  search for LowerHighs on RSI MTF  GREEN/RED LINE. 
 Rule 4
CAUTION 
Do not rush to enter a position and try to predict what indicator will do next. It does not end well.
Be aware you are not exiting a position in panic that would be too soon or even worse, you get married to bad trade and you are not exiting even though you should exit by many signals you get. 
Use risk management strategy to protect your capital.
Follow the rules and make your trading easier and better.
ALERTS :: ALLinDivergence v10.0 
Everything you see in this indicator has a designated purpose to ease your trading with predefined ALERTS of high quality. It pulls data from 7 different TimeFrames and it can not be more simpler visual representation of its calculations when applied on chart.
When applied on chart, it will colour your chart BARS/CANDLE to the colour PURPLE as that colour is well known colour of Relative Strength Indicator line that indicates overbought or oversold area. RSI is used as a main source of information/data for this indicator. 
Second reason of colour PURPLE is that it cancels all the noise that default green/red bars have.
This indicator also has GREEN/RED colouring of BARS/CANDLES and they appear when something crucial is happening in the market. That something needs to be checked ASAP. This green/red coloured bars are just there to remind you that something can happen and it does not mean that market would actually change direction it is just a "friendly warning" you can use when creating alerts.
The best thing about this indicator is those full coloured GREEN/RED LITTLE DOTS. 
They represent DIVERGENCES emerging and possible actual change of market direction. To be sure, you need to analyse your chart more in depth any way you prefer to get your needed confirmations. To do that, use your strategy that you have been using when trading up until now or even better, use indicator that I made and is called RSI :: ALLinDivergence v 10.0 -> It is a visual representation of ALERT :: ALLinDivergence v 10.0  indicator signals. Very easy to analyse in minutes.
 HOW TO USE IT?  
 Rule 1.
TIMEFRAMES 
Choose the best TimeFrame for the job. I use: 1min, 2min, 3min, 5min, 8min, 13min, 21min, 34min or 56min (golden ratio). You can also pick a different TF but only to up to 1h TF chart as it does not work well with TF over 1h. Smaller TF is used for SCALPING of DAY TRADING higher TF is used for SWING TRADING. You get the picture?
 Rule 2
To ENTER A POSITION 
Find the best TF that suits your needs. That depends on your trading style (day trading, scalping, swing trading, ect.). To know which TF is the best for you you also need to look for a good quality signals when looking the chart in the past (visual BACKTESTING). Signals from past should yield positive results.
When you wish to trade certain pair, find the best TF and from there  you need to "Create Alert". Choose this indicator when creating alerts and from dropdown menu pick "GREEN" for Divergence BUY/LONG signals or "RED" Divergence SELL/SHORT signals. Then choose "Greater Than" and change the value to "1" (that will set off the alarm), choose how you want to be notified and then name the ALERT so you will know how it is made.
Do not forget to do your work and analyse your market situation best way you can and get needed confirmations before doing anything about it.
 Rule 3
TO EXIT A POSITION 
From the same TF as Divergence alerts are made from (Rule 2), you can make alerts that are just a "friendly warning" that something is happening on the market you are in an opened position. Instead of picking GREEN or RED from dropdown menu when creating alerts, you need to pick GREEN BARS or RED BARS and the rest is the same as with rule 2.
 Rule 4
CONFIRMATIONS 
Help yourself with any type of analysis you need to get the confirmations you need to enter or exit the position. Use the style you always have up until now. Or find a better one that is quicker and with good yield.
There is a great option that can change your way of thinking about trading and it is called  RSI :: ALLinDivergence v 10.0 indicator that is used as a visual representation of ALERTS indicator. It takes literally minutes to do whole analysis - remember it uses data from 7 different TimeFrames and it is really good! Just find LowerHighs of RSI curve for SHORT or HigherLows for LONG. 
  
Krown Moving Averages & Crossover LevelsIntroducing Krown Moving Averages with Crossover levels.
This indicator
Plots 5 Ema's and 3 SMA's ( Default Krown Periods )
It calculates the price levels at which each pair of moving averages would be equal .
That means that if price closes the other side of that level the pair of moving will cross also.
These levels can therefore be considered as " crossover levels....( the price level where each pair of moving averages will cross)
It can give crossover levels for 
 
           SMA crossing SMA
           EMA crossing EMA
           EMA crossing SMA
Plots optional Labels for all crossover levels....(off by default needs to be turned on in the settings)
Plots optional crossover levels as lines and dots colored as the 2 colors of the pair of moving averages.....(off by default needs to be turned on in the settings)
This indicator is aimed at traders who use simple and exponential moving average crossovers as part of their trading plan or edge.
It takes the guesswork out of knowing at what price level a pair of moving averages will cross which helps to improve entries and risk management.
There is an optional  "Cutoff" function and user adjustable "limit factor" which cuts the plots off once they are too far below or above the current price to prevent chart auto focus issues.
There is a decimal place truncation option to set the decimal places depending on the asset type and price accuracy required.
Inspired by a request from a community member after one of my recent reverse engineered indicator publications.
I am publishing this open source in the hopes that some newer coders will find the functions interesting and useful.
JFRewards Indi Channel <Heikin> v4.0<>
SOP guidelines only given to JF members .
The ideas are:
1) Finding where to enter position of buying and sell.
2) Finding where is the realistic take profit target within 24 hours with maximum profits.
3) Finding Trailing STOP LOSS, Trailing Take Profit, Take Profit, STOP LOSS.
Fully tested with @Binance Exchanger with numerous of stablecoins and altcoins as well as BTC , ETH.
Performance cannot be shown due to non standard chart of Heikin Ashi.
MBY_Predict Ma CrossGood morning.
This is MBY Lab.
This indicator calculates the conditions for the intersection of two different moving average lines.
What the "Point" value means is the price at which the moving average line with different opening and closing prices for today or tomorrow crosses.
Traders can use this indicator to predict the conditions in which Golden Cross or Dead Cross will or will not occur in the future.
This indicator is an open indicator and anyone can use it.
Equal-Length EMA/SMA Crossover Momentum Signal V1Overview: 
 
  This momentum and trend-following strategy captures the majority of any trending move, and works well on high timeframes.
  It uses an equal-period EMA and SMA crossover to detect trend acceleration/deceleration, since an EMA places a greater weight and significance on the most recent data. 
  This version is optimized for longs, and designed to cut your losses quickly and let your winners run.
  To reduce noise and optimize entries, we combined this with an overall trend bias for further confluence.
 
 How it works: 
 
  Signals are determined by the crossover of an EMA and SMA of the same length, e.g. EMA-50 and SMA-50.
  The overall trend bias is determined using a slower SMA golden/death cross, e.g. SMA-50 and SMA-100.
  The signal is stronger when it occurs in confluence with the overall trend bias, e.g. when EMA-50 crosses over SMA-50, while above the SMA-100. This is analogous to only opening long positions in a bull market.
 
 Signal description: 
 
  Trend Buy: EMA crosses above SMA, and overall trend bias is bullish. Buying is in confluence with the overall trend bias.
  Risky Buy: EMA crosses above SMA, and overall trend bias is bearish. Buying is early, more risky, and not in confluence with the overall trend bias.
  Late Buy: SMA crosses above BIAS_SLOW. This gives further confirmation of bullish trend, but signal comes later.
  Sell: EMA crosses under SMA.
 
200 Week Moving Average HeatmapСolors part of the SMA depending on the change in % (delta %) to the previous value. From blue(none to low increase) through green(moderate increase) to red(high increase).
Custom Moving Average (EMA & SMA)This script is a custom visualization tool to plot 4 Moving Averages (MA).
Each MA is customizable; you can:
 
  enable (disable) the plot of MA;
  select whether the MA is an EMA or an SMA;
  the length;
  the source (open, close, ...);
  the offset value (default is 0).
 
Note:
 
  The 1st MA is an EMA with length 50.
  The others MAs are SMA with length 9, 30 and 100 respectively.
On Chart Anticipated Moving Average Crossover IndicatorIntroducing the on chart moving average crossover indicator.
This is my On Chart Pinescript implementation of the Anticipated Simple Moving Average Crossover idea.
This indicator plots 6 user defined moving averages.
It also plots the 5 price levels required on the next close to cross a user selected moving average with the 5 other user defined moving averages
It also gives signals of anticipated moving average crosses as arrows on chart and also as tradingview alerts with a very high degree of accuracy
Much respect to the creator of the original idea Mr. Dimitris Tsokakis
Moving Averages
A moving average simplifies price data by smoothing it out by averaging closing prices and creating one flowing line which makes seeing the trend easier.
Moving averages can work well in strong trending conditions, but poorly in choppy or ranging conditions.
Adjusting the time frame can remedy this problem temporarily, although at some point, these issues are likely to occur regardless of the time frame chosen for the moving average(s).
While Exponential moving averages react quicker to price changes than simple moving averages. In some cases, this may be good, and in others, it may cause false signals.
Moving averages with a shorter look back period (20 days, for example) will also respond quicker to price changes than an average with a longer look back period (200 days).
Trading Strategies — Moving Average Crossovers
Moving average crossovers are a popular strategy for both entries and exits. MAs can also highlight areas of potential support or resistance.
The first type is a price crossover, which is when the price crosses above or below a moving average to signal a potential change in trend.
Another strategy is to apply two moving averages to a chart: one longer and one shorter.
When the shorter-term MA crosses above the longer-term MA, it's a buy signal, as it indicates that the trend is shifting up. This is known as a "golden cross."
Meanwhile, when the shorter-term MA crosses below the longer-term MA, it's a sell signal, as it indicates that the trend is shifting down. This is known as a "dead/death cross."
MA and MA Cross Strategy Disadvantages
Moving averages are calculated based on historical data, and while this may appear predictive nothing about the calculation is predictive in nature.
Moving averages are always based on historical data and simply show the average price over a certain time period.
Therefore, results using moving averages can be quite random.
At times, the market seems to respect MA support/resistance and trade signals, and at other times, it shows these indicators no respect.
One major problem is that, if the price action becomes choppy, the price may swing back and forth, generating multiple trend reversal or trade signals.
When this occurs, it's best to step aside or utilize another indicator to help clarify the trend.
The same thing can occur with MA crossovers when the MAs get "tangled up" for a period of time during periods of consolidation, triggering multiple losing trades.
Ensure you use a robust risk management system to avoid getting "Chopped Up" or "Whip Sawed" during these periods.
MrBS:EMA/SMA/HMA (Heikin Ashi Calc)This indicator allows you to base the MA calculation from Heikin Ashi values on normal charts and/or the real OHLC values while looking at Heikin Ashi. 
There are 3 MA types you can select - EMA / SMA / HMA
The colour is based on the slope.
I made this to help me visualize my DMI+ strategy, when I was looking at taking signals from Heikin Ashi but looking at candlesticks. Turns out, I was going down the wrong road. Now I'm looking into using the real OHLC values for generating signals but watching the Heikin Ashi chart as I find it easier to see trends on it. 
Hopefully its useful to some people, and if you have any suggestions for improvements I'd love to know.
Myx.Mir_ Trd.Period c/w Background ColorMyx.Mir_ Trd.Period c/w Background Color
FBMKLCI is a main Indices/ references 
 
Basis = Based on Simple Moving Average
Note:-
BG= Background Color
Based on personal study:- 
BG is Green = Current index > MA 20 > MA 50 = Sign of Bullish                                      // majority portfolio should be in green & make profit... Hehehe
BG is Yellow = MA50 < Current Index < MA 20 = No solid direction and/or sideways       // ----------------------------------------------------... should plan to hold or exit
BG is Red     = Current Index < MA 50 = Sign of Bearish                                                // majority of portfolio should be in red... Hehehe. Should be run Fast Fast.....
can do your own Trade Record Based on 3 phases   
      a) When the strategy/ Technique are perform better  @ more gain and Don't chase the price ... "nanti asal Kejar Pucuks Je price terus Droppp..."  Hehe.
      b) When the strategy / Technique not perform well...
Examples of Rolling Average Using Automated AnchoringIn this study, I present a method to expose NaN values to development environment.                                                                  
This exposure allows NaN values to be used by methods in scripts.                                                                                   
I also show how to use values, even NaN values, as anchors from which statistics can be computed from.                                              
I demonstrate how to do this with constants and variables in methods for computing the cumulative/rolling average of a series. 
I also show how to calculate the cumulative/rolling average from the start of a ticker series using the aforementioned methods.                     
Each method has a description on how some of their parts work as well as their constraints.                                                         
                                                                                                                                                 
Method #1 - Can only be used for computing the rolling average on the ticker series.
                  
Method #2 - The simple moving average from the Pine Script reference.                                                                               
                  - Can be used to calculate the rolling average of the ticker series and number values of a series.                                        
                  - This method seems to cause an error when there are many bars in the series.                                                             
Method #3 - The most versatile method due to the use of computing the rolling average using an array.                                               
                  - Timeout will occur when computing the rolling average of an entire ticker series which is long.                                         
                  - Timeout has not occurred when computing a rolling average of a series from NaN or non-NaN anchor points even when the series is long.
This is an attempt to get around the constraints of the built-in sma(source, length) function in which length cannot be dynamically adjusted.
Other Pine Script functions have that constraint which we can get around by defining our own functions. 
Momentum Strategy [MA Crossover + Squeeze Release + Alerts]This is a Strategy with associated visual indicators and Buy/Sell/Close Alerts for the  Squeeze Momentum Indicator .
 Development Notes 
-------------------------
This is a fork of  LazyBear's Squeeze Momentum Indicator  histogram with an added  moving average crossover  for multiple trade signal confirmation.  Functionality for  Multi-Timeframe Resolution  was also enabled and code was updated for PineScript v4 compatibility.
 Strategy Description 
-------------------------
Enter trade when the active crossover period (identified by background crossover indicator/zone) correlates with a squeeze release (black to gray cross along midline).  BUY Long if momentum in uptrend or SELL Short if in downtrend.  Close trade when momentum reverses.
Alerts configured for entering Long/Short position and to Close order.
Designed to have only one open long or short position at a time (no pyramiding) with an associated close order for each.
 Indicator Visuals 
--------------------
 
  Crossover zone background (green or red) based on last crossover direction (only buy orders are triggered in a buy zone and sell orders in a sell zone)
  Moving average crossover line matches trend (buy upwards on green and sell downwards on red)
  Buy (green circle) and Sell (red circle) signals at the point of crossover
  Buy (green cross) and Sell (red cross) signals at squeeze release on the midline
  Long (green arrow) and Short (red arrow) order label when every indicator is triggered together
  Close (purple arrow) and label when either trend or crossover zone changes
 
Recommend backtesting with the resolution set to current timeframe to avoid repainting; no other known repainting.  There is a current bug or flaw in the script where all the Close and some of the Long and Short orders are not executed by the strategy (this doesn't affect the visual indicators, only the strategy).
Note that the provided backtest result is based on a position sizing of 10% equity with 100k initial capital.  The 15-minute timeframe performed the best, with the 30-minute a close second, and 5/45-minute tied for third.  Profit/loss went into the red when expanding out to 2-hours or beyond. I suspect this could be improved upon if you follow the Alerts on the oscillator versus rely solely on the strategy (due to the aforementioned issue with all entry and exit positions not being depicted).
 Disclaimer 
Past performance may not be indicative of future results.  Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.  This post and the script are not intended to provide any financial advice.
Script is currently protected (due to the extensive development in the strategy) to prevent the source from being copied and sold.
[MACLEN] HODL ZONE RENKO
PLEASE READ! 
Trade at your own risk. Please read about renko charts before using this indicator. This indicator is for educational purposes only. 
This Indicator is only valid in renko charts with 1 second timeframe. For BTCUSDT . With the traditional method and the size box of 80. 
With this indicator we can detect zones of buy and sell. Even that is not recommended to use leverage, I use it to find an entry and use only small leverages. It could be also used to accumulate and HODL bitcoin . 
Please, comment anything. 
POR FAVOR LEER! 
Tradea bajo tu propio riesgo. Por favor lee sobre las graficas renko antes de usar este indicador. Este indicador es solamente con fines educativos. 
Este indicador es válido solamente en graficas renko con un timeframe de 1 segundo. Para BTCUSDT . Con cajas del método tradicional de un tamaño de 80. 
Con este indicador podemos detectar zonas de compra y venta. A pesar de que no es recomendable usar apalancamiento, yo lo uso para encontrar entradas y solo uso apalancamientos pequeños. También podría usarse para acumular y holdear bitcoin . 
Por favor, escríbeme cualquier duda o comentario. 
Multi Time Frame Moving Averages [Anan]Hello friends,
All your popular moving average now in one indicator, also no need to open a lot of tabs to see where is that moving average at that time frame,
with multi time frame feature, now u can see up to six multi time frame MA in the same chart with option to show/hide it
list of moving averages:
SMA
Smooth SMA
SuperSmooth MA
EMA
DEMA
TEMA
Triangular MA
QEMA
RMA
Hull MA
KAMA
WMA
VWMA
VWAP
CTI
LSMA
VIDYA
Blackman Filter
Adaptive RSI
also there is an option to see the Average of four lengths, i backtest this and found it super great !






















