BTC Pi MultipleThe Pi Multiple is a function of 350 and 111-day moving average. When both intersect and the 111-day MA crosses above, it has historically coincided with a cycle top with a 3-day margin.
With the Pi Multiple, this intersection is visible when the line crosses zero upwards.
The indicator is called the Pi Multiple because 350/111 is close to Pi. It is based on the Pi Cycle Top Indicator developed by Philip Swift and has been modified for better readability by David Bertho.
Cari dalam skrip untuk "ma cross"
Two MA Signal IndicatorThis Signal Indicator that emits a signal based on two MAs crossover/crossunder. It is designed to be used as an External Input for "Template Trailing Strategy" to verify the correctness of the External Deal Condition Mode of the aforementioned script and the Internal Strategy logic. Also, this script is a simple example on how to create custom signal indicators that can be "pugged" to the "Template Trailing Strategy" and get all the features this strategy script can provide!
TWAP + MA crossover Study [Dynamic Signal Lab]Dear TV'ers,
Hereby the study for the TWAP/moving average crossover, with taking profit options.
moving averages include: EMA , WMA , DEMA , TEMA , VAR, WWMA, ZLEMA , TSF , HULL, TILL
It is also possible to gradually take profit, using:
* minimum consecutive green/red candles
* minimum amount of green/red candles in the last 2-8 candles
* both of the above criteria
The slightly transparent green fill shows how much you are in profit from your entry point
The current default properties should be modified to make this strategy cost-effective, but typically 15 minutes and higher timeframes (up to 6hr) seem to work well for larger (top10 cap) crypto projects. Don't use this script for small-caps as it will get you rekt, due to wild volatility.
Additionally, you'll also be able to continuously take profit, making sure you lock in all those sweet profits. For backtesting: use the strategy version of this script
Money Flow Index (double) by CoinStaghey Piners community,
this is an iteration of inbuilt MFI script, with two MFIs of different lengths and one Moving Average which is dependent on MFI 1.
I find it useful to see the trend of longer MFI period, which tells me what direction to trade. On shorter period MFI I'm looking at Oversold or Overbought zones - while quicker MFI index is there, I'm looking to Buy/Sell, depending on trend.
Alternatively, you can use also MFI1 and MA crossovers to spot potential entries.
It seems like a good tool for crypto markets on any timeframes - from 5min, to 4h.
RedK Compound Ratio Moving Average (CoRa_Wave)
Compound Ratio Weighted Average (CoRa_Wave) is a moving average where the weights increase in a "logarithmically linear" way - from the furthest point in the data to the current point - the formula to calculate these weights work in a similar way to how "compound ratio" works - you start with an initial amount, then add a consistent "ratio of the cumulative prior sum" each period until you reach the end amount. The result is, the "step ratio" between the weights is consistent - This is not the case with linear-weights moving average (WMA), or EMA
- for example, if you consider a Weighted Moving Average (WMA) of length 5, the weights will be (from the furthest point towards the most current) 1, 2, 3, 4, 5 -- we can see that the ratio between these weights are inconsistent. in fact, the ratio between the 2 furthest points is 2:1, but the ratio between the most recent points is 5:4 -- the ratio is inconsistent, and in fact, more recent points are not getting the best weights they should/can get to counter-act the lag effect. Using the Compound ratio approach addresses that point.
a key advantage here is that we can significantly reduce the "tail weight" - which is "relatively" large in other MAs and would be main cause for lag - giving more weights to the most recent data points - and in a way that is consistent, reliable and easy to "code"
- the outcome is, a moving average line that suffers very little lag regardless of the length, and that can be relied on to track the price movements and swings closely.
other features:
===============
- An accelerator, or multiplier, has been added to further increase the "aggressiveness" of the moving average line, giving even more weights to the more recent points - the multiplier will have more effect between 1 and 5, then will have a diminishing effect after that - note that a multiplier of 0 (which effectively causes a comp. ratio of 0 to be applied) will produce a Simple Moving Average line :)
- We also added the ability to use an "automatic smoothing" mechanism, that user can over-ride by manually choosing how much smoothing is used. This gives more flexibility to how we can leverage this Moving Average in our charting.
- User can also select the Resolution and Source price for the CoRa_Wave. by default, they will be set to "same as chart" and hlc3
here are the formulas for our Compound Ratio moving average:
Compound Weight ratio r = (A/P)^1/t - 1
Weight at time t A = P(1 + r)^t
= Start_val * (1 + r) ^ index
index in the above formula is 0 for the furthest point out
Here's how CoRa_Wave compares to other common moving averages all set to the same length (20)
Proposed Usage
- CoRa_Wave can be used for any scenarios where we need a moving average that closely tracks the price, trend, swings with high responsiveness and little lag
- MA Cross-over scenarios - against another CoRa_Wave or any other MA
- below is a quick example scenario for how to utilize 2 CoRa_Wave lines of same length (one for open and one for closing price) to track swings and trends
- get as creative as you need :)
Code is commented - please feel free to leverage or customize further as you need.
👉 if you are interested in other moving averages i posted before, please check out the FiMA and the v_Wave ...
+ True RSIThis is a better, cleaner version (in my opinion) of an part of an indicator I was using that was coded up by cI8DH. I reached out to him about cleaning up the code (things weren't working) for Pinescript v4, but he no longer seems to be active, so I thought I might take it upon myself to at least work out this portion of the indicator.
Much credit goes to him. Below is the indicator that he coded, of which only one part have I made additions to.
So, he calls this the True RSI. I was using it as part of the USI, which I posted above (it's the MA Percent indicator type). To my eyes it's not far different from the standard RSI, so I probably could have just made a version of that, but I like this one, and I was excited to add a few things (like candle coloring, which no longer works with his version!).
So, what's different?
I added two different background fills.
I made the lines types for the extremities and midline more appropriate for the indicator.
I added bullish, bearish, overbought, and oversold candle coloring.
I added a multitude of moving averages as well.
If this looks like my '+ %B' indicator, that is because I basically just moved the MA's and candle coloring code over. One could probably do this with many different indicators.
In the future I will probably add alerts, and maybe MA cross candles as well. Or not. Well, almost certainly alerts. Please enjoy!
QuantBot 3:Ultimate MA CrossoverThis is the 3rd indicator of quantbot indicator series.
This the names as ultimate moving average crossover as it considers 9 types of moving averages while generating signals.
The finctionality is pretty basic.
It comes with automated signal processing from tradingview to Indian brokers account via webhook, using our automation setup.
To get the access please text me in the chatbox, ACCESS is given for FREE.
This is purely for charting purpose, if you find it useful please let me know in the comment box below.
If you want me to code any particular strategy please mention this in the comment box.
CS Ultimate MA CrossThis indicator adds 5 Moving Averages on your chart. You can select the MA Type: SMA, EMA, RMA or VWMA.
By selecting a Fast MA and a Slow MA you can also draw a cloud to make the Bull or Bear bias more visual. Possibility to add on the chart Long/Short signal.
MTF possible by changing the range which is particularly useful for HTF analysis while looking a LTF price action.
Gastitan MA-cross/RSI/PSARThis script gives
moving average cross alert
RSI alert when change from bull to bear, and viceverse
Parabolic sar indicator
Also you have a panel with the current price and RSI values.
Alpha BandsAlpha Bands, this is a new idea I've been playing with recently in all my indicators.
In layman terms we are here using mult to multiply length of the plot to replicate effect of multi time frame plot. Under the hood it is basically fast ma crossing over slow one but with this simple multiplier introduction is able to give it properties of higher TF ma's but without the usual problem of the TV where multitimeframe MA plots rather crudely if you use security function.
Introducing it as core trend indicator, and around it I've utilized ATR to create simple but complete indicator to give good view of the market state and trend. Due to this setup it can be used for both trending and mean reversion trades, you can also utilize existing ranges for entry, exit and SL.
This indicator is example of how simple little tweaks can turn a age old tools into more advanced solutions.
This is purely for educational purposes, any past or claimed results may not replicate themselves while you trade them so use your own discretion. Author takes no responsibility of individual traders success or loss on this.
Source code will be protected since there is trend on TV where ideas are stolen and sold to unsuspecting retailers.
PpSignal Super Hull MA Cross Oscillator with alertWe have a Super Hull Move average oscillator style.
Super Hull, it is a hull move average open-close, smooth with elder method.
So, when you have a green color (hull cross up 0 Line), you have a buy signal.
When you have q red color (hull cross down 0 Line) sell signal.
Enjoy it...
E_SMACD_And_Pine_TutorialI wrote this script to both be a Pine Script tutorial and a useable indicator. I use it for trading crypto based on trends I see in the ma crossovers, highs/lows, and volatility spikes.
eha MA CrossIn the study of time series, and specifically technical analysis of the stock market, a moving-average cross occurs when, the traces of plotting of two moving averages each based on different degrees of smoothing cross each other. Although it does not predict future direction but at least shows trends.
This indicator uses two moving averages, a slower moving average and a faster-moving average. The faster moving average is a short term moving average. A short term moving average is faster because it only considers prices over a short period of time and is thus more reactive to daily price changes.
On the other hand, a long term moving average is deemed slower as it encapsulates prices over a longer period and is more passive. However, it tends to smooth out price noises which are often reflected in short term moving averages.
There are a bunch of parameters that you can set on this indicator based on your needs.
Moving Averages Algorithm
You can choose between three types provided of Algorithms
Simple Moving Average
Exponential Moving Average
Weighted Moving Average
I will update this study with more educational materials in the near future so be informed by following the study and let me know what you think about it.
Please hit the like button if this study is useful for you.
4 TYPES OF MA CROSS4 types of MA that can be switched
Show EMA and SMA, WMA and their average MA
Good trade
SVAMA - A Non Parametric Adaptive Moving Average Based On VolumeIntroduction
Technical indicators often have parameters settings that the user must enter, those are inconvenient when the user must design a strategy because such settings must be optimized, it must also been noted that the optimal settings at time t could change at time t+n , this is why non parametric indicators are more efficient. Today i propose a moving average adapting to the market volume without using parameters affecting the smoothing.
The Indicator
The volume is rescaled in a range of (1,0) by using max or min normalization. Exponential averaging is used to provide the moving average.
When using max normalization the moving average react faster when the volume is closer to its all time high, when using min normalization the moving average react faster when the volume is closer to its all time low. You can select the method (max or min) from the "Method" parameter.
Volume tend to be higher and more periodic with higher time-frames, this is why lower time-frames might return smoother results when using the Max method. It is recommended to use the Max method when we want a faster moving average while the Min method is more suited to get a slower moving average.
Both methods can provide an interesting MA-Cross system when used on higher time frames.
Conclusion
There should be more non parametric indicators, this would allow for faster and easier optimization processes when creating a strategy, in theory any indicator using a moving average or highest/lowest could be made non parametric by using a running mean or running max/min but the indicator might loose important information.
This is one of my main focus right now since such indicators could also allow for improvements when used with artificial intelligence. I hope you find an use to it, don't hesitate to send me your suggestions.
Thanks for reading !
Adaptive Autonomous Recursive Trailing StopIntroduction
Trailing stop are important indicators in technical analysis, today i propose a new trailing stop A2RTS based on my last published indicator A2RMA (1), this last indicator directly used an error measurement thus providing a way to create enveloppes, which provide a direct way to create trailing stops based on highest/lowest rules.
The Indicator
If you need a more detailed explanation of this indicator i encourage you to check the A2RMA indicator post i made, parameters does not differ from the supertrend, thus having a length parameter and a factor parameter who is here described as gamma , gamma control how far away are the bands from each others thus spotting longer terms trends when gamma is higher.
On BTCUSD
Something worth mentioning is that the indicator sometimes behave like my MTA trailing stop indicator (2) who is closer to the price when a trend persist thus providing early exit points, however A2RTS behave a bit better.
Price can sometimes break the trailing stop, this can be interpreted as a support/resistance or just as an exit point, the support resistance methodology on trailing stop is not the most recommended.
Sometimes it is recommended to have an higher length rather than an high gamma like in this case for INTEL CORP, below gamma = 3 and length = 20
The microprocessor market like to use higher length's instead of higher gamma's , A2RMA is a non-linear filter, this would explain such behaviour.
Conclusion
Trailing stops might not suffer as much from whipsaw trades than MA crossovers but they still remain inefficient when market is not trending, results of the proposed indicator on major forex pairs are more than disappointing, but i hope this will serve as basis for other trailing stops that might act a little bit better. I conclude this post by thanking everyone who support my work and i encourage you to modify this indicator and share it with the community.
Thanks for reading !
Cited Articles
Ravi [GM version]RAVI Indicator Description :
Rapid Adaptive Variance Indicator (RAVI) is published by Tushar Chande in 1997. Tushar is the author of the popular trading book The New Technical Trader: Boost Your Profit by Plugging into the Latest Indicators (Wiley Finance). Like ADX indicator, the RAVI indicator differentiates between a trending market and a trading market. As a result of this, a rising RAVI shows the start of a trend or a rise in trend intensity, but maybe not the trend way. Although, a falling RAVI shows the finish of a trend or a decrease in trend intensity, but maybe not the trend way itself. This indicator often reacts more quickly and exhibits a far more pronounced curve than the ADX.
Interpretation :
Ravi indicator consists of histogram bars that are shown in three colors likes green, grey, and red. These different colors have different meanings. Green color indicates bullish market. Grey color bars indicate reversal warnings and the red bars indicate bearish market. It is important that trader should watch for the general direction of the market and trade accordingly. In this chart, every green bar formation on the indicator doesn’t necessarily mean buying signal which is down trending market should be neglected and formations of red bars in an up trending market don’t mean sell. Overall trend of the market cannot be ignored.
Features added by GM:
- multiple MA(smoothing) modes to choose from
- visual styles - Line, Hist, Line+Hist
- multiple adjustable levels to define ranges, strength, overbought/oversold
- moving average of signal built in for MA crossover signals
HULL MA + LagHull MA crossover, Lag the Hull or the price individually by user settings
this is study version for alert users
this chart is the strategy version for backtesting
PpSignal Donchain Channe Super SmootherOriginal Idea JustUncleL
I changed internal calculation Donchain Channel, i did Ehlder super smoother calc and MA perod
Description:
This idea is based on the Donchain Channel centre line Price action. When price moves from the highest/lowest point, the price will move to the center line first. At this point, the center line acts as dynamic support/resistance and often price will bounce back up. However, if price successfully breaks the center line, primary entry condition, then prices will tend to catch up to the bottom channel line and even make further moves in that direction, secondary entry condition.
This script idea is designed to be used with Renko (10pip brick recommended) Renko or Heikin Ashi (1 hour recommended) charts. It combines the price action with a directional coloured SSMA (default length 21) and a Donchian Channel 21 ehlder smoothe period to provide entry and exit signals.
There are three options to exit trade:
- MA Cross (default exit) = exit occur when price breaks EMA in opposite direction.
- Centre Cross = exit occurs when price breaks back passed the centre line in opposite direction.
- Brick Colour = exit when a brick/bar paints in the opposite colour to trade direction.
Each Entry and Exit signal creates an Alertcondition that can be picked up by the TradingView Alarm system.
TIP: Remember this type of Trading technique only works well in a trending market. Do not try to trade this technique in a ranging/flat market.
TIP: To get 10pip Bricks set Renko to "Traditional" type bricks and 0.001 for non-JPY currency pairs, and 0.1 for JPY currency pairs. Also set chart Time frame to 5min or 15mins.