Média Móvel Simples (MMS)
HHHC LLLCBased on @JasonGraystone price action tips
This script will identify candles that close with a "Higher High and Higher Close" and "Lower Low Lower Close" than previous candle, making super easy to identify price action momentum.
I added to this fantastic price action concept a simple filter to follow the trend, by default it compares price to a 50 SMA. If above the SMA it shows only up signals, if below it shows only down signals.
SMA can be changed to any lenght and if you want to get all the HHHC / LLLC just set the SMA to 1
//Thinking I may add some alert capability in the future just to practice a little more using Pine Editor but it is useful as it is.
15minMAThis script lets you plot a simple or exponential moving average from a specific time frame that you can select. For example, if you always want the Daily 50MA on your chart, regardless of what resolution your chart is on, this will do it. It's also color coded to show if it's rising or falling.
Ichimoku+SMAsmoothedSMA_smoothed with Ichimoku added makes good yet still simple strategy perhaps useful to APIbot programmers
TDI - Traders Dynamic Index - Roshan [Mehdi]This method is based on Mr. Roshan's technique which use TDI with upper timeframe
SimpleMA smoothed crossover strategyExperimental simple Bot script for ETH/USD 1 hour chart. welcome to test on other pairs. put feedback in comments.
This is a crossbreed between SMA and HULLMA
Combo Basic IndicatorsThe indicator consists of multiple time frame SMA and PSAR, the very basic indicator but could be profitable.
SMA can be used as dynamic Support-Resistant levels, and value of higher time frame are considered more significant (major level).
For example, Bitcoin currently has weekly support at 6568$, and regarding to SMA of lower time frame (Day, 4H,..) that are near then concluded as sideways condition.
However, trading opportunities still can be found for short term and tight range (scalping).
Multi SMA - Multi Simple Moving Average IndicatorYet another Multi SMA indicator. I edited Ahoudori's Multi EMA indicator to this one so I could toggle between these values, and other values in another indicator without having to re-enter the values into a single indicator each time.
The default values are 10, 20, 50, and 200. These are based on the common values used in a variety of markets by fund managers and day traders.
Ruler's Multiple Moving Averages - 8 EMA/MAA handy tool for those who need Multiple Moving Averages in a single indicator!
A great collection of 8 very powerful EMAs and SMAs including:
50MA 9EMA
100MA 13EMA
200MA 26EMA
500MA 55EMA
Of course, completely customizable to your own needs. No need to upgrade your Tradingview account to be able to use multiple MA indicators when you can have all of them in a single Indicator.
All feedback is welcome of course! Enjoy.
^-^ Three Ichimoku Clouds ^-^ 4x4 Moving Average x EMA ^-^Three ichimoku clouds
Four moving averages
Four exponential moving averages
vwap-ma-strategy-v0.7This strategy was inspired by my Israeli fellow iAtiya.
I love it because it's my first pine v3 script that actually works.
Powerful with respect to it's simplicity.
Seven Simple Moving AveragesBy default, this script overlays seven simple moving averages (5, 10, 20, 50, 100, 150, 200) and allows you to customize the SMA values as you wish. If a candle closes at or above a moving average, the plot for that SMA is colored green for that candle otherwise it's red.
SMA lakeThis is a combination of three moving price simple moving averages diffs and volume SMA diff. If you see all mountains below horizon and buildings over horizon, it may be a good time to buy. If you see mountains are above horizon and small reflections of buildings in a lake then it may be a good time to sell.
Multi SMA EMA WMA HMA BB (4x3 MAs Bollinger Bands) Pro MTF - RRBMulti SMA EMA WMA HMA 4x3 Moving Averages with Bollinger Bands Pro MTF by RagingRocketBull 2018
Version 1.0
This indicator shows multiple MAs of any type SMA EMA WMA HMA etc with BB and MTF support, can show MAs as dynamically moving levels.
There are 4 MA groups + 1 BB group. You can assign any type/timeframe combo to a group, for example:
- EMAs 50,100,200 x H1, H4, D1, W1 (4 TFs x 3 MAs x 1 type)
- EMAs 8,13,21,55,100,200 x M15, H1 (2 TFs x 6 MAs x 1 type)
- D1 EMAs and SMAs 12,26,50,100,200,400 (1 TF x 6 MAs x 2 types)
- H1 WMAs 7,77,231; H4 HMAs 50,100,200; D1 EMAs 144,169,233; W1 SMAs 50,100,200 (4 TFs x 3 MAs x 4 types)
- +1 extra MA type/timeframe for BB
compile time: 25-30 sec
full redraw time after parameter change in UI: 3 sec
There are several versions: Simple, MTF, Pro MTF, Advanced MTF and Ultimate MTF. This is the Pro MTF version. The Differences are listed below. All versions have BB
- Simple: you have 2 groups of MAs that can be assigned any type (5+5)
- MTF: +2 custom Timeframes for each group (2x5 MTF)
- Pro MTF: +4 custom Timeframes for each group (4x3 MTF), MA levels and show max bars back options
- Advanced MTF: +2 extra MAs/group (4x5 MTF), custom Ticker/Symbol, backreferences for type, TF and MA lengths in UI
- Ultimate MTF: +individual settings for each MA, custom Ticker/Symbols
Features:
- 4x3 = 12 MAs of any type including Hull Moving Average (HMA)
- 4x MTF groups with step line smoothing
- BB +1 extra TF/type for BB MAs
- 12 MA levels with adjustable group offsets, indents and shift
- show max bars back
- you can show/hide both groups of MAs/levels and individual MAs
Notes:
1. based on 3EmaBB, uses plot*, barssince and security functions
2. you can't set certain constants from input due to Pinescript limitations - change the code as needed, recompile and use as a private version
3. Levels = trackprice implementation
4. Show Max Bars Back = show_last implementation
5. uses timeframe textbox instead of input resolution to allow for 120 240 and other custom TFs. Also supports TFs in hours: 2H or H2
6. swma has a fixed length = 4, alma and linreg have additional offset and smoothing params
7. Smoothing is applied by default for visual aesthetics on MTF. To use exact ma mtf values (lines with stair stepping) - disable it
MTF Notes:
- uses simple timeframe textbox instead of input resolution dropdown to allow for 120, 240 and other custom TFs, also supports timeframes in H: 2H, H2
- Groups that are not assigned a Custom TF will use Current Timeframe (0).
- MTF will work for any MA type assigned to the group
- MTF works both ways: you can display a higher TF MA/BB on a lower TF or a lower TF MA/BB on a higher TF.
- MTF MA values are normally aligned at the boundary of their native timeframe. This produces stair stepping when a higher TF MA is viewed on a lower TF.
Therefore X Y Point Density/Smoothing is applied by default on MA MTF for visual aesthetics. Set both to 0 to disable and see exact ma mtf values (lines with stair stepping and original mtf alignment).
- Smoothing is disabled for BB MTF bands because fill doesn't work with smoothed MAs after duplicate values are replaced with na.
- MTF MA Value fluctuation is possible on the current bar due to default security lookahead
Smoothing:
- X,Y == 0 - X,Y smoothing disabled (stair stepping on high TFs)
- X == 0, Y > 0 - X,Y smoothing applied to all TFs
- Y == 0, X > 0 - X smoothing applied to all TFs < deltaX_max_tf, Y smoothing disabled
- X > 0, Y > 0 - Y smoothing applied to all TFs, then X smoothing applied to all TFs < deltaX_max_tf
X Smoothing with Y == 0 - shows only every deltaX-th point starting from the first bar.
X Smoothing with Y > 0 - shows only every deltaX-th point starting from the last shown Y point, essentially filling huge gaps remaining after Y Smoothing with points and preserving the curve's general shape
X Smoothing on high TFs with already scarce points produces weird curve shapes, it works best only on high density lower TFs
Y Smoothing reduces points on all TFs, removes adjacent points with prices within deltaY, while preserving the smaller curve details.
A combination of X,Y produces the most accurate smoothing. Higher delta value - larger range, more points removed.
Show Max Bars Back:
- can't set plot show_last from input -> implemented using a timenow based range check
- you can't delete/modify history once plotted, so essentially it just sets a start point for plotting (from num_bars bars back) that works only in realtime mode (not in replay)
Levels:
You can plot current MA value using plot trackprice=true or by checking Show Price Line in Style. Problem is:
- you can only change color (not the dashed line style, width), have both ma + price line (not just the line), and it's full screen wide
- you can't set plot trackprice from input => implemented using plotshape/plotchar with fixed text labels serving as levels
- there's no other way of creating a dynamic level: hline, plot, offset - nothing else works.
- you can't plot a text var - all text strings must be constants, so you can't change the style, width and text labels without recompiling.
- from input you can only adjust offset, indent and shift for each level group, and change color
- the dot below each level line is the exact MA value. If you want just the line swap plotshape with plotchar, recompile and save as your private version, adjust Y shift.
To speed up redraw times: reduce last_bars to ~2000, recompile and use as your own private version
Pinescript is a rudimentary language (should be called Painscript instead) that can basically only plot data. You can't do much else. Please see the code for tips and hints.
Certain things just can't be done or require shady workarounds and weeks of testing trying to resolve weird node.js compiler errors.
Feel free to learn from/reuse/change the code as needed and use as your own private version. See comments in code. Good Luck!
Simba Bitcoin MomentumMaybe the best to trade Bitcoin on 1D!
Do you want to use it?
You can get access for one week free, after that, the weekly rental costs are 0.1 BTC. When you dont pay accurate the weekly subscription, you will be removed.
Write me an email to simba_cfd@protonmail.com when you want access.