Mayer MultipleFollowing Preston Pysh's "Bitcoin Mayer Multiple" study, I made this simple script to plot the Mayer multiple by calculating the ratio between bitcoin price and its 200-day moving average. It also plots the moving average of ratio itself.
简单移动平均线(SMA)
DepthHouse - Moving Average ChannelsThe indicator Moving Average Channels was created for experimental purposes due to the parabolic moves BTC has made in the recent past.
How it works:
The basis, or center line, is a standard moving average that is set by the user.
The bands are then a customizable percentage of the basis.
Which based on the settings, could serve as possible support and resistance.
DepthHouse – Moving Average Channels has been published for you all to see and try for yourselves.
Maybe this indicator has uses elsewhere? If you find something feel free to post it in the comments below!
If you like this indicator, please drop a like or comment!
They are very much appreciated!
Be sure to go to my profile and check out my other indicators!
Multi SMA'sRepublished: The original script violated house rules by including an external link to Backtest Rookies.
Background
This is a simple “multi” SMA indicator so that multiple SMA’s can be monitored whilst only using a single indicator slot. It also has a couple of features that let you mix time frames and de-clutter the chart.
The code is open for anyone to modify and a copy
About the Indicator
Although the indicator does nothing more than it says on the tin, There are a couple of points worth mentioning:
The indicator will let you view up to 4 SMA’s
You can set the period for each SMA independently
You can set the resolution for each SMA independently (So you can see the see the daily SMA level when on the 15-minute chart for example)
Each SMA can be turned on/off independently to avoid clutter.
Screenshot - Default Settings
Log-space Moving AverageOn charts with medium or low volatility, this indicator behaves identically to standard Moving Average. On highly volatile charts, this indicator is more stable because the calculation is performed in log space. For convenience, the indicator starts from the second candle (much earlier than regular MA).
EMA and SMA SpreadI had hard time to find a simple script to show EMA and SMA spread.
Bonus add for PT users :)
Set "buy_value" as you have in PAIRS.properties to show you when your buys will become potential.
Moving Average Cross & Bollinger BandsPut this together for users using the free version of tradingview. Combines MA Cross and Bollinger Bands into one indicator.
Triple MASuper simple.
Three simple moving averages all in a single indicator for your convenience.
Default values:
MA 1 - 20
MA 2 - 50
MA 3 - 100
If you like this or any of my other scripts - please consider chucking some BTC my way ;) 1LbFxAYJSVPxirT8eW31QHaGbySHyPYgMq
Multi Time Frame Simple Moving AverageBase on existing multi time frame script for EMA. Used to see a higher time frame SMA on lower timeframes
SlingShot + MTF + Open Close Cross StrategyIt's a merge of three really good scripts CM sling shot, CM MTC and Open Close Cross
Indicates open and close with Sling shot and shots after peaks by MTC and OCC.
Yellow zones before drop prices, green bar, red bar for open and close.
imgur.com
Simple and Exponential Moving AveragesThis script graphs 5 SMAs (20, 50, 100, 150, 200) and 5 EMAs (20, 50, 100, 150, 200). The first group uses blue and orange colors whereas the second one uses green and red. When a bar closes below a moving average, either orange or red will be used depending on which type of moving average and which period. In bullish mode, we show blue and green. Moving average periods are configurable, and you can hide the MAs you don't want.
MAX MA FibonacciIn un unico indicatore visualizza 4 medie mobili di default (55, 89, 144, 233) numeri di Fibonacci
[naoligo] 10x MA (H, D, W, M)This one is based on "Generic 8x MA Plotter" indicator, by @LazyBear.
It will plot three Moving Averages based on current time interval and seven based on chosen periods by hour, day, week and month. You will be able to see where is, for example, a 50 days SMA when using a 5 minutes time interval chart. I find it very useful to analyze, in a snap, possible price ranges and enter/exit points. All reference values are from setups known and used by traders.
Cons: Use it wisely, because if you choose to plot all the 10 Moving Averages, he will consume a lot of the computer resources.
Enjoy!!
Edit: I forgot to mention that you can choose between EMA or SMA for each time interval, that are distributed in:
2x MA Hour;
2x MA Day;
2x MA Week;
1x MA Month.
I've tried to keep the code as simple as possible, so you can increase that number or modify the Moving Average that each time interval will use.
Peace!
Help needed with strategy - Entry is off by 2 candlesHi,
I'm new to TradingView, and would greatly appreciate some help with figuring out where I'm going wrong with this script.
This is a overly simplified version of what I'm actually trying to do, but hopefully it's easier to see the problem.
Here I'd like to create a Buy signal when the fast moving average crosses over the slow moving average, and Sell when the reverse happens.
If I draw arrows when the condition is met then they are one candle later than expected (probably because I'm using the closing values ??).
That not great, but workable.
My real problem comes when I try turning this into a strategy.
Now the signal only triggers 2 candles after the crossover.
What am I doing wrong here?
Thanks,
Gordon
LONG TERM INVESTMENT TECHNICAL STRATEGY SCRIPT200 - WEEKLY MOVING AVERAGE
GREEN LINE IS 200 WEEKS MOVING AVERAGE OF CLOSE
BLUE LINE IS 200 WEEKS MOVING AVERAGE OF LOW MULTIPLIED BY 0.90
RED LINE IS 100 WEEKS MOVING AVERAGE OF CLOSE
CONDITION: GREEN LINE SHOULD BE ABOVE RED LINE AND PRICE SHOULD BE ABOVE GREEN LINE
BUY ONCE THE PRICE IS ABOVE GREEN LINE AND FULFILLS THE CONDITION.
TARGET 1 FOR TIME FRAME 1 YEAR= 2 X GREEN LINE VALUE WHEN PRICE CROSSED IT
TARGET 2 FOR TIME FRAME 3 YEARS= 3 X GREEN LINE VALUE WHEN PRICE CROSSED IT
TARGET 3 FOR TIME FRAME 5 YEARS= 5 X GREEN LINE VALUE WHEN PRICE CROSSED IT
TARGET 4 FOR TIME FRAME 10 YEARS= 10 X GREEN LINE VALUE WHEN PRICE CROSSED IT
STOP LOSS IS TRAILING TO BLUE LINE
Moving Average RibbonThis is an extension of the Madrid Moving Average Ribbon public script to allow for different kinds of moving averages (the original allows only exponential and simple). Possible entries in the MA Type argument field are:
sma (simple moving average)
ema (exponential moving average)
wma (weighted moving average)
trima (triangular moving average)
zlema (zero-lag exponential moving average)
dema (double exponential moving average)
tema (triple exponential moving average)
hma (hull moving average)
If the argument given by the user does not match anything from the above list, it will default to ema.
Golden Cross, SMA 200 Moving Average Strategy (by ChartArt)This famous moving average strategy is very easy to follow to decide when to buy (go long) and when to take profit.
The strategy goes long when the faster SMA 50 (the simple moving average of the last 50 bars) crosses above the slower SMA 200. Orders are closed when the SMA 50 crosses below the SMA 200. This simple strategy does not have any other stop loss or take profit money management logic. The strategy does not short and goes long only!
Here is an article explaining the "golden cross" strategy in more detail:
www.stockopedia.com
On the S&P 500 index (symbol "SPX") this strategy worked on the daily chart 81% since price data is available since 1982. And on the DOW Jones Industrial Average (symbol "DOWI") this strategy worked on the daily chart 55% since price data is available since 1916. The low number of trades is in both cases not statistically significant though.
All trading involves high risk; past performance is not necessarily indicative of future results. Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not actually been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown.
Yacine MA Bands ModMashed together the ema-bands from IvanLabrie with some moving average script stuff from ChrisMoody and LazyBear and this is the result. Credit goes to them, 'cause I don't know to how to code tbh. Just copy/pasted stuff untill I got the result I wanted.
Bands work as support/resistance among other things. You can use them to trade breakouts or reversals or whatever.
Combining them with a momentum indicator would probably be useful for timing divergence or OB/OS and stuff like that.
Included moving average types;
SMA
EMA
RMA
WMA
VWMA
HullMA
TilsonMA
TEMA
Not sure if all of them works as they should... y'know since I cant code/script. Looks good to me though.¨
Default should work pretty good for the DAX, But you'll probably want to fiddle a bit with the settings.
Here's a pic of how they can be used. Ofc everything looks simple in hindsight, but you get the point.
Simple Moving Average StrategyThis is a modification of MOVINGAVG CROSS with different inputs of bar lengths that work with a great average percentage with not much drawdown. I ran the strategy tester with GBPUSD on 1 hour time frame.
MACD + SMA 200 Strategy (by ChartArt)Here is a combination of the classic MACD (moving average convergence divergence indicator) with the classic slow moving average SMA with period 200 together as a strategy.
This strategy goes long if the MACD histogram and the MACD momentum are both above zero and the fast MACD moving average is above the slow MACD moving average. As additional long filter the recent price has to be above the SMA 200. If the inverse logic is true, the strategy goes short. For the worst case there is a max intraday equity loss of 50% filter.
Save another $999 bucks with my free strategy.
This strategy works in the backtest on the daily chart of Bitcoin, as well as on the S&P 500 and the Dow Jones Industrial Average daily charts. Current performance as of November 30, 2015 on the SPX500 CFD daily is percent profitable: 68% since the year 1970 with a profit factor of 6.4. Current performance as of November 30, 2015 on the DOWI index daily is percent profitable: 51% since the year 1915 with a profit factor of 10.8.
All trading involves high risk; past performance is not necessarily indicative of future results. Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not actually been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown.
Moving Average Cross Alert, Multi-Timeframe (MTF) (by ChartArt)See when two moving averages cross. With the option to choose between four moving average calculations:
SMA = simple moving average
EMA = exponential moving average (default)
WMA = weighted moving average
Linear = linear regression
The moving averages can be plotted from different time-frames, like e.g. the weekly or 4 hour time-frame using HL2, HLC3 or OHLC4 as price source for the calculation. In addition there is a background color alert and arrows when the moving averages cross each other when the price also rises or falls. And the moving averages are colored depending on their trend direction (if they are trending up or down).