[LunaOwl] Moving average Bias Ratio作品: 均線乖離率 (Moving average Bias Ratio)
The concept of Moving average Bias Ratio is according to the difference between the long/short-term MA changes, determine the direction of buy or sell. Long if the short-term MAs is above the long-term MAs; Conversely, if the short-term MAs is below the long-term MAs, it is not held.
均線乖離率的概念,是根據長短期均線變化之間的乖離來確定多空方向。如果短期高於長期,則買進;相反的~如果短期低於長期,則空手。
Using the deviation rate alone will have the disadvantage of unclear signals, which can only explain the increased chance of market reversal. It needs to cooperate with the rule of thumb and other analytical tools.
單獨使用乖離率會有信號不明確的缺點,只能解釋市場發生反轉的機會增加,需要配合經驗法則和其他分析工具。
--------------------------*
Formula - 公式
Avg. BIAS = ( MA(short) - MA(long) ) ÷ MA(long) × 100 %
均線乖離率 =(短期平均-長期平均) ÷ 長期平均 × 100 %
--------------------------*
The greater the distance between the two moving averages, the greater the Bias Ratio.
Простое скользящее среднее (SMA)
Golden Ratio MultiplesI call this "Phi Ribbons." The Golden Ratio, also known as Phi, is fantastic at predicting areas of price reversal.
Every moving average is a fibonacci multiple of the base function 355 SMA .
The rainbow above is an array of fibonacci multiples that are greater than one (1.618, 2, 2.618, 3, 5, 8, 13, 21)
The rainbow below is an array of fibonacci multiples that are less than one (0.786, 0.618, 0.5, 0.382, 0.236, 0.14)
Notice the precision of marking areas of potential price reversals
EASTER EGG: The two moving averages at the top of the script are 355 SMA & 113 SMA . This is one of the lowest ratios that closely approximates Pi (3.14159).
Simply plotting the 133 SMA will add a unique feature:
355/133 = 3.14159
When the 113 crosses below the 355 it tends to mark the end of major bullish impulses, and a crossover is a bullish sign.
Leading Trader Trend - Reverse EngineerMy attempt to replicate the functionality of the 'LT Trend' based on information available in Alessio Rastani's videos.
Turn off borders and wicks, and make the bodies transparent, on the chart itself) in order to view the OHLC bars with my guess at the way the LT Trend interprets the price data.
I believe the basis indicator is a combination of the 2 and 11 day EMA. that is what my trend indicator is based on. I have also added 5 moving averages to this indicator based on their usefulness. the included MAs are the 8, 21, 50, 100 Exp MAs and the 200 Simple MA. the line graph of the close price is also included (to use for triggering) but I usually turn it off in the MT trend settings.
This version also has a version of the PerfectCDA buy signals included as i am testing that at the moment. PCDA appears to throw a signal if the average of the last 9 closes changes more than 5% from the previous value.
MA 10,20,50,200Indicator consist of moving averages (MA).
This indicator make it easier for me to switch between few MA lines.
1. MA10
- used for intraday.
2. MA50 and Ichimoku
- to analyze swing trend
- display only MA50 and ichimoku cloud
3. MA20, MA50 and MA200
- to analyze the trend
- for swing trade
4. Lines 52 Week High / Low
- display both lines as guide when trading
Fast SMAFast SMA is based on the simple moving average and adds to it more flexibility.
It is a composite indicator, as it uses sma and counts factor that gives more weight for a more recent price index.
The difference between sma (thin line) and fast sma (bold line) you can see on the chart.
Fast sma with default parameters with this script is faster then ema with the same length.
It has flexibility almost as HMA with the same length has.
After using it for two months I found this ma very interesting and decided to share its code and the way it can be used.
FSMA and price index interact:
1) FSMA acts as support or resistance giving price line good pullbacks.
2) If price breaks through FSMA the stop of this move form strong support or resistance level.
3) if price cross FSMA without cutting move of make fuss on FSMA it forms range. In this case, FSMA break must be considered only after price leaves the range. In such cases, FSMA usually shows the direction by giving additional price pullback confirmations.
On the chart I added some comments and marked SR lvls, zones and strong moves of BTC since 2018 till now with submitted FSMA strategy.
I wish you good trades.
examples:
Variable Length Moving AverageThe Variable Length Moving Average was created by George R. Arrington Ph.D. (Stocks & Commodities V. 9:6 (219-223)) and I'm really loving this indicator. It is a great moving average that hugs the price very closely and it is fully adjustable to your needs. It detects signals extremely well and I have color coded the moving average line to make it very easy to interpret.
This is not to be confused with the Variable Moving Average created by Tushar S. Chande and as of now I haven't seen any other script for this moving average out there yet.
Please let me know if you would like me to write any other scripts for indicators you would like to see!
Triple SMA/EMAThis indicator displays the 50, 100 and 200 period SMA and EMA and shades the area between the corresponding SMAs and EMAs
Strategija 2Hello
This strategy is based on Steve Primo's No. 4 with added entry conditions. I will describe long trades only, conversely is valid for shorts.
1. Price has to be above basis SMA and fast EMA
2. Fast EMA has to be above basis EMA
3. ADX has to be above 20 (settings 14,20, fixed)
4. RSI has to be above 50 and above its 21 EMA
5. A pullback has to occur with the touch of the fast EMA
6. A bounce from that level has to occur and close above the control EMA
7. We compare N (1) bars for reverse for fast EMA bounce
Please use it on your own risk. Will add some strategy rules afterwards. My proposal is to use it on Daily and Weekly TF.
Moving Average RibbonMoving Average Ribbon:
-----------------------------------------------------------
A series of moving averages of different lengths to create a ribbon-like indicator. Traders can determine trend strength by the distance between the moving averages, the overall balance of the coloured lines and determine price points. Price movements through the ribbon can be used to identify trend changes.
SMA, EMA, WMA with user defined length, starting plot, number of plots to show, theme choice and colour calculation toggle.
Inputs:
-----------------------------------------------------------
Source: input value for MAs (close)
Type: moving average type (ema)
Theme: multiple colours/themes (theme 2)
Length: MA length (13)
Start: MA plot number to start ribbon on (1)
No. of MAs: number of plots to show; maximum 32 (32)
Colour option: unchecked then line colour is based on the source value crossing current MA otherwise the moving average below (false)
Example:
-----------------------------------------------------------
multiple MAs overlaid with different values give interesting results e.g.
Ribbon1 :
length: 13
start: 1
Ribbon2:
length:1
start: 26
Notes:
-----------------------------------------------------------
if increasing the length beyond around 150 results in "references too many candles in history" error then reduce the no. of MAs value to show less MA plots; the longer length MAs will go beyond the 5k max candle history..
Simple Mobile Averages y MACDScript designed for users who need more than 3 indicators. It has 3 programmable "Simple Mobile Averages". MACD integrated in the main panel, also programmable.
6 SMA&look back 20SMA strategy6 SMA&look back 20SMA strategy
The moving average is calculated based on historical prices and is a backward indicator,Unable to forcast future prices.
But the moving average still represents the price trend, so we can forcast by moving average.
Each point of the 20-day SMA is calculated based on the closing price of the past 20 days.
Therefore, we can know that the closing price of the first 20 days directly affects the latest point of SMA.
The last 20 days are the prices included in the calculation, which directly affect the trend of the latest points.
For example,if the day before the 20th is a sharp fall, the latest SMA becomes an upward trend;If the day before the 20th is a sharp rise, the latest SMA becomes a downward trend,it showing the opposite trend
Recommended to use the daily trend.
Good Luck
移動平均線是根據歷史價格計算,屬於落後指標
但是移動平均線仍代表價格趨勢,因此我們可以通過移動平均線進行預測。
20天均線的每個點都是基於過去20天的收盤價計算的。
因此,我們可以知道前20天的收盤價直接影響SMA的最新點。
最近20天是計算中包括的價格,它直接影響最新點的趨勢。
例如,如果20日之前的一天是急劇下跌,則最新的SMA成為上升趨勢;如果20日之前的一天是急劇上漲,則最新的SMA成為下降趨勢,呈現相反的趨勢。
參考老王對SMA扣抵值的簡易版應用
使用20MA的扣抵蹺蹺板來判斷今日可能是UP或DOWN
建議使用日線
祝好運
MeanDuoSMAsMean of slow SMA200 and fast SMA50. Color changes according to position of close price vs indicator value. Works best with BTCUSD daily chart.
Fancy Triple Moving Averages [BigBitsIO]This script is for three moving averages with as many features as I can possibly fit into a single moving average.
Features:
- Three moving averages (MA1, MA2, MA3).
- 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.
*** 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. ***
Multi Timeframe Moving Averages This indicator allows you to view a moving average ( EMA or SMA ) of your choosing on other time frames than what you are currently on. You just need to edit the script and plot MAs that you want to see.
This is based on awesome work of @millerrh at but now instead of read inputs, I just plot what I desire with correct labels.
The reason I used that was that I wanted to see daily MAs in 15min, 5min and 1min charts.
To use the script add to your chart and edit it, you can add or remove any MA you want at end of file and then add it to your chart again.
The code off course is open source.
Fill Strength Gradient [BigBitsIO]This script plots two moving averages but is mostly designed to highlight a fill strength gradient. The fill strength gradient shows a more opaque fill based on the current percentage difference of the current difference to the maximum difference in two MAs in a trend.
Citation: PinceCoders - Slight modification on color functions
BTC Mayer Multiple BandsIntroduced by Trace Mayer as a way to gauge the current price of Bitcoin against its long range historical price movements (200 day moving average), the Mayer Multiple highlights when Bitcoin is overbought or oversold in the context of longer time frames.
It's worth noting that as the market becomes larger and less volatile, the peaks are becoming less exaggerated. This is because a 200 day moving average baseline is a static yardstick against an ever growing, more stable, Bitcoin market. We should recalibrate what constitutes the overbought/oversold extremes on this chart accordingly.
Idea by CryptoKea. Original author:
SimplicityA simple all in one indicator. Combines a simple moving average with an ATR-based money management system. Simply buy when a candle closes above the MA, and sell when it closes below. Set first TP at 1ATR and initial SL at 1.5-1ATR. When price hits 1st TP, exit half of your position. Use the MA to trail your stop on the other half of the position.
Spliv's EMA Ribbon/MA ComboEMA and MA combo with many EMAs to create ribbons.
21ema|50-55ema|89-100ema|200ema|377ema|10s|30s|100s|200s
Color Change 50 SMAThis 50 SMA changes color based on the trend of the market.
If the SMA is green, use your edge to determine when to buy.
If the SMA is red, use your edge to determine when to sell.
Can be used on any timeframe and market.
Customize this to meet your needs.
Multiple Moving Averages {Cybernetwork}Multiple moving average (MA) plots in a single script.
Can select between different MA types, and enable/disable a particular MA in the settings.
Enjoy. :)
[fikira] MTF MA/EMA'sHere is my take on MA/EMA's and MTF, based on the most excellent work of
"PineCoders" (MTF Selection Framework functions)!
The big advantage is that on 1 image you can easily see where
price is compared to different MA/EMA's (each of different Time Frames).
This gives a lot of Support and Resistance area's!
Includes:
- MA/EMA 20
- MA/EMA 50
- MA/EMA 100
- MA/EMA 200
The present Time Frame MA/EMA has a coloured circle at the side.
Each can be altered in length (the length is visible at the side and changed with the settings)
Each has an extra 4 different Time Frames (multiple settings possible)
Crossover and crossunder MA/EMA 50 with 100 (Silver Cross) and 200 (Golden Cross) is included.
The present Time Frame Cross has a "o" above the Cross
Time Frame 1 Cross has a "1" above the Cross
Time Frame 1 Cross has a "2" above the Cross
Time Frame 1 Cross has a "3" above the Cross
Time Frame 1 Cross has a "4" above the Cross
M&Ms - Multiple Moving Average Indicators This version includes Simple, Exponential and Weighted Moving Averages.
Detrended Price Oscillator with projected SMAHaven't seen any DPO scripts like this one...
Dpo is generaly use to find cycles in the market rather than prices trends.
As you can see a centralized Dpo is ploted with barsback *actual is shown behing actual price timeline.
Using timeline diferences between the two last highest or the two last lowest histogram bands can give you an aproximation of those market cycles.
Dpo SMA's trends can also be use to compare actual price timeline direction in 3 ways...
#-1: Is the actual price (candles) trend is against or with the dpo SMA's (convergence;divergence) ?
#-2: Is the actual price trend is condensed or dispersed ( criticals values)?
#-3: Does the dpo SMA's are near or far from the dpo cycle bottoms or cycle tops ?
Make sure to know that this indicator isn't a trading reccomandation and may not be suited for your trading style as well that it can be badly interpreted. USE WITH CAUTIONS !
//----Coder----//
R.V.
//----Thanx----//