3SMAThis script plots three Simple Moving Averages instead of just one.
Support me going through grad school!
www.linkedin.com
BTC tip jar: 1Mv1s7nLaTsRoLai5WXEGg8doisXuiPUXy
ETH tip jar: 0x6113DDD23D0D5aCad3d1f8640A8A571E9Cb86cB8
LTC tip jar: LYvyoqTSWxa22TQw3E7818xy4AfYNi6xcm
BCH tip jar: 1GC7oZ7MhLkamKCDdZFnUfV21SKWq84VdY
Average
Currency StrengthRepublished: The original script violated house rules by including an external link to Backtest Rookies.
Background
The currency strength indicator takes up to 4 forex pairs and calculates the average strength across all pairs. The indicator uses the pair's daily percentage change to calculate the overall strength. For flexibility, it can accept any instrument as an input. This means you can use multiple instances to track various currency strengths. It was designed with the major pairs in mind but there is no reason why it cannot be used for other FX pairs.
Note: The indicator defaults to GBP. When setting it up for other currencies, be sure to flag whether the currency is a counter currency or not.
The code is provided free and open source. Please modify it as you see fit.
Screenshots
Defaults with Annotation
Yen strength beating pound strength
Opposing Trends
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
Average Daily Range - without open barBasic ADR-indicator that is showing the daily range on lower timeframes as well, without using the current open daily bar for calculation.
Also plots as line in a separate indicator window. Updates displayed value when hovering over the candles on the chart to see historical Numbers.
Average True Range - without open barBasic ATR without the current open bar in progress, it calculates the closed bars within the chosen ATR Period
Dual Exponential Moving AveragesJust like the regular "Moving Average Exponential" indicator except this allows you to show 2 with custom time intervals, saving non-subscribers to Trading View an indicator slot. Enjoy.
Combo IndicatorFor easier setup, this script combines 5 indicators. 3 simple moving averages, 1 EMA and Bollinger Bands. These are common indicators that are that often used and discussed on OptionsPlayers.com
Multiple Moving AverageCombines 3 moving average plot lines into one indicator for easy configuration
Moving average deviation rateMoving average deviation rate
Simple moving average deviation rate and standard deviation.
The bollinger band is momentum value standard devition.
Bat the bollinger band is not normal distribution to close price.
Moving average deviation rate is normal distribution.
This indicator is draw Moving average deviation rate and fill area 2σ standard devition.
If it exceeds 2σ, it is a trading opportunity.
移動平均かい離率と、2σのバンドです。
ボリンジャーバンドは移動量の標準偏差を描画しますが、終値はボリンジャーバンドに対して正規分布を描きません。
移動平均かい離率は、標準偏差に対して正規分布を示します。
かい離率2σを超えた場合、トレードチャンスです。
Multiple Moving Averages using only 1 Indicator!Multiple moving averages in one indicator, so those of you without a pro membership can add multiple moving averages to your chart while only taking up 1 of the 3 indicators.
CMOabsav Backtest This indicator plots the absolute value of CMO averaged over three
different lengths. This indicator plots a classical-looking oscillator,
which is really an averaged value based on three different periods.
You can change long to short in the Input Settings
Please, use it only for learning or paper trading. Do not for real trading.
Prime Fib AvgsHey all,
Just thought some might find it useful to have a script of the first 7 numbers that are both fibonacci and that are prime numbers as simple moving averages and as exponential averages.
If anyone wants any other average type added to this script I can put out another version
Happy trading,
Snoop
EMA Time-FrameThis EMA allows you to specify a time-frame for the price used to calculate the moving average. For example, you can create 1 hour EMAs on your 5 minute chart.
NOTE: This indicator only works on intraday charts. The time-frame specified for the indicator must be greater than or equal to the time-frame of the chart.
Function - Regressively Weighted Moving AverageEXPERIMENTAL:
Weights its self value by X against 1 time the current price.
Adam Smith - MovingAvg CrossSimple Moving Average Cross script. Test on stocks and currency. For stocks test shorter time periods, meaning intra-day time periods such as 3min to 30min and so on to fit what is best. For currency, try longer periods with this model such as day to weeks depending on which currency.
NOTE: Take a look at your Max Drawdowns when testing. This will be the main indicator once you figure out your time period for backtesting. This will also let you know how much money to save and/or hold back in savings for down periods.
Chaos 2.0This is pure chaos!
I just wanted 1 thing I can put on a chart to try to get a clearer picture of what is going on (and not take up all the indicator spaces a free user is allowed haha)
Many things going on from so many different users
honestly I'm sorry I cant shout out everyone whose code I have ever read and used in another project just for the sake of learning more about pinescript!
As a way of shouting everyone out! (and giving out my most useful and configurable system)
I give you... CHAOS
I originally got an Alligator, AO, and Fractal script from a user ChaosTrader, then realized I love using averages!
I added the MESA (lazybear?) and the McGinley Dynamic Range (sry idk) and a simple 233 SMA.
I also found about something called the www.prorealcode.com another user had created for Pinescript.
I really liked that script so I adapted it to do the same kind of signal printing for circles and squares (crosses and series)
Check it out tell me what you think and how I can make it better for everyone!
thanks all!
Snoop
FRAMA (Ehlers true modified calculation)Credit goes to Shizaru for the original calculation. I made just a few fixes, so that the calculation is really that of Ehlers.
Fixed H2 and L2 period, fixed w natural logarithm
Kaufman Adaptive Moving Average (day)The KAMA will not change when the interval changes from day to something like 5 minutes or 30 minutes. Allows for more precise trading with the same indicator on a different interval.
Kaufman Adaptive Moving AverageFrom Stockcharts.com:
"Developed by Perry Kaufman, Kaufman's Adaptive Moving Average (KAMA) is a moving average designed to account for market noise or volatility. KAMA will closely follow prices when the price swings are relatively small and the noise is low. KAMA will adjust when the price swings widen and follow prices from a greater distance. This trend-following indicator can be used to identify the overall trend, time turning points and filter price movements."
This is different from other users' KAMA's because it allows the user to adjust more parameters that can adjust the indicator in more precise ways without needing to change the source code.