Pair TradePair trade with inputs:
* length of correlation and moving average
* trade pair
* spread threshold to enter long / short
* spread threshold to exit long / short
Standar Deviasi
Bollinger Band BreakoutIt is a long only strategy.
1. Buy when price breaks out of the upper band.
2. Exit has two options. Option 1 allows you to exit using lower band. Option 2 allows you to exit using moving average.
3. Option 1 preferred over option 2 if the instrument is highly volatile.
4. Slippage and commissions are not considered in the return calculation.
Exponential Deviation Bands [ChuckBanger]This is Exponential Deviation Bands. It is a price band indicator based on exponential deviation rather than the more traditional standard deviation, as you find in the well-known Bollinger Bands calculation. As compared to standard deviation bands, exponential deviation bands apply more weight to recent data and generate fewer breakouts. There fore it is a much better tool to identifying trends.
One strategy on the daily can be
Buy next bar if closing price crosses below the lower bands
Sell if price is equal to the current value of the upper bands
ACTION Locator v2.0The indicator is based on making the standard deviation (where the mean is a moving average) a two-lines cross indicator, by applying an MA over it. When the standard deviation is above the MA, there is considered to be enough volatility in the market for trends to form.
Blue background = There is ACTION in the market -- signals it should be safe to trade
Gray background = No ACTION - DO NOT TRADE!
[SignalFI] AxLeWelcome! Proud to release AxLe! The indicator which provides a trend-based analysis based on volatility, deviations bands, and price momentum. The basis behind AxLe is to essentially give an oscillator view of the difference between key price deviations based on volatility and volume information. The oscillator provides candle coloring matching the scaled colors of the strength of the trend, while the oscillator itself provides key information such as signal line crossovers, baseline crossovers, and AxLe MACD statistics. Taken together, it provides an excellent view of the trend without using moving averages, and well as a way to spot momentum variance and price divergences.
Features:
1) Price/Volume (PV) volatility oscillator based on fractal deviation bands
2) PV signal line to denote PV trend
3) Top/Bottom oscillator horizontal bar color changes based on PV/Signal Line crossovers.
4) Bar coloring to match oscillator performance.
5) Alerts for PV critical levels.
Alerts:
1) Bull Signal X - PV Crossover Signal Line
2) Bear Signal X - PV Crossunder Signal Line
3) Bull Baseline X - PV Crossover Zero Line
4) Bear Baseline X - PV Crossunder Zero Line
USAGE:
1) Follow the color trend
2) User oscillator highs and lows to spot divergences with price highs and lows
3) User PV line and signal line (circles) as indicators for trend change
4) Use Top/Bottom oscillator horizontal bar color changes to indicate tops and bottoms or where momentum is becoming weak.
5) User predefined alerts.
SignalFI was created to help traders and investors to effectively analyze the market based on the Golden Mean Ratio (Fibonacci numbers), plan a trade and ultimately execute it. To help inform and educate market decisions we developed a set of Trading Indicators which are available on TradingView.
SignalFI indicators are just that, indicators. Our indicators are generally configured to use completely historical data (negating repaint), and we advise all alerts created with SignalFI indicators to be fired upon "close" of the current candle. Our indicators can provide valuable context and visualization support when performing market analysis and executing buy and sell decisions. However. we are not financial experts, and all information presented on this site or our other media outlets are for educational purposes only.
TD Moon Cycle Standard Deviation Z Score AlertsHas alerts for the TD 9 function, also the black is Z score and blue is STD Dev
Also the moon functionality of Ichimoonku is built into this as well because sometimes I just want to see the cycles of moon with TD9 ; see that script (Ichimoonku) for more info on moon functionality.
Much love
Enjoy
GL HF
xoxo
Snoop
AEONDRIFT {Expected Ranges}Expected Ranges base on AEONDRIFT implementation of Standard Deviation bands.
Note: In no way is this intended as a financial/investment/trading advice. You are responsible for your own investment/trade decisions.
Please PM me for access information.
Variable Index Dynamic Average (VIDYA) BandsThis adds volatility bands to the Variable Index Dynamic Average (VIDYA). The bands are calculated using the exponential moving average of the standard deviation of the VIDYA.
Thanks to everget for programming the VIDYA for tradingview.
Bollinger Bands Width 10標準偏差Standard Deviation(bolliger bands width)を10本重ねたものになります。お好みのスパン、色、σでお使いください。
AEONDRIFT-KThis is a special edition of the AEONDRIFT Band that is implemented in my Strategies , which have substantially boosted their profitability.
Squeeze Zone = Increase chance for a big move to happen. I used this to decrease (buy/sell) trading thresholds in my strategy scripts to increase the chances of making a trade.
No Trading Zone = Increase chances for bad trades due to difficulty for indicators to . As the name implies, I used this to disable trading completely during this period.
Alerts are enabled for these states.
~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~
Note:
In no way is this intended as a financial/investment/trading advice. You are responsible for your own investment decisions and trades.
Please exercise your own judgement for your own trades base on your own risk-aversion level and goals as an investor or a trader. The use of OTHER indicators and analysis in conjunction (tailored to your own style of investing/trading) will help improve confidence of your analysis, for you to determine your own trade decisions.
~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~
Please check out my other indicators sets and series, e.g.
LIVIDITIUM (dynamic levels),
AEONDRIFT (multi-levels standard deviation bands),
FUSIONGAPS (MA based oscillators),
MAJESTIC (Momentum/Acceleration/Jerk Oscillators),
PRISM (pSAR based oscillator, with RSI/StochRSI as well as Momentum/Acceleration/Jerk indicators),
PDF (parabolic SAR /w HighLow Trends Indicator/Bar-color-marking + Dynamic Fib Retrace and Extension Level)
and more to come.
Constructive feedback and suggestions are welcome.
~ JuniAiko
(=^~^=)v~
AEONDRIFT
Strategy Scripts:
Cyber Momentum Strategy
Cyber Ensemble Strategy
See Also: Relative Candle Volatility & Directionality Index (RCVI and RCDI)
Apex Transformation Band StudentApex Transformation Band Student Version
Gauge the mean range of price on an annual/yearly basis of the market.
Determine if price is in an uptrend (above the zone), neutral (inside the zone) or downtrend (below the zone).
Works on 'Daily' time frame only.
Works only for SPY , QQQ , DIA , IWM , GLD , SLV , TLT and BTCUSD
Keep it simple.
Anchored VWAP & Standard DeviationsCalculates VWAP from a fixed point in time as well as standard deviations.
--------------------------------------
If you find it useful please consider a tip/donation :
BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
--------------------------------------
All Time VWAP & Standard DeviationsAll time VWAP and standard deviations.
Either enable "scale price chart only" or disable deviations that go negative in the style options.
--------------------------------------
If you find it useful please consider a tip/donation :
BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
--------------------------------------
Custom Timeframe FibsThis is a testing project for fib levels to try out fivs on multi timeframes
Thank you ShoujiSuzuki
~RMCF~ BORC [with 17 page Annotated PDF with Example Charts]BORC, or Breakout Reversal Confirmation, is a signal based TV Indicator that analyzes multi-period price movements to determine when to enter in oversold and overbought tradeable assets. It works in any time frame and any type of security.
Green triangle means buy
Red Triangle means to get ready for the buy signal
$60 for lifetime access + complimentary PDF with example chart setups
DM @reaganmcf_ on twitter for more information and access
Linear Regression Trend ChannelThis is my first public release of indicator code and my PSv4.0 version of "Linear Regression Channel", as it is more commonly known. It replicates TV's built-in "Linear Regression" without the distraction of heavy red/blue fill bleeding into other indicators. We can't fill() line.new() at this time in Pine Script anyways. I entitled it Linear Regression Trend Channel, simply because it seems more accurate as a proper description. I nicely packaged this to the size of an ordinary napkin within 20 lines of compact code, simplifying the math to the most efficient script I could devise that fits in your pocket. This is commonly what my dense intricate code looks like behind the veil, and if you are wondering why there is no notes, that's because the notation is in the variable naming. I excluded Pearson correlation because it doesn't seem very useful to me, and it would comprise of additional lines of code I would rather avoid in this public release. Pearson correlation is included in my invite-only advanced version of "Enhanced Linear Regression Trend Channel", where I have taken Linear Regression Channeling to another level of fully featured novel attainability using this original source code.
Features List Includes:
"Period" adjustment
"Deviation(s)" adjustment
"Extend Method" option to extend or not extend the upper, medial, and lower channeling
Showcased in the chart below is my free to use "Enhanced Schaff Trend Cycle Indicator", having a common appeal to TV users frequently. If you do have any questions or comments regarding this indicator, I will consider your inquiries, thoughts, and ideas presented below in the comments section, when time provides it. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
Breakout Reversal Entry on WMA - NG1! Overnight ver 1This script is for learning purposes only
This strategy will plot arrows when price breaks so far above/below WMA. The strategy will enter when the price breaks away from WMA. All entries are reversals. Users can set WMA length and source; also the distance of the price away from WMA to enter. Adjustable bracket orders are placed for exit, with trailing stop or market stop choice. Last, users can set the time of day they want to enter a trade.
My Preference: I am testing this strategy on NG1! over night on 1 minute candle. with .003 on price drop/climb, I get entries almost every night. Also 10 tick stop and 5 tick profit seems backward to most, but with a high win/loss ratio, it performs quite well. Trailing stops generally help out as well.
INPUTS:
Length - The is the WMA length
Source - WMA source (High, Low, Open, Close...)
When Price Drops - This is the distance in ticks when the price drops away from WMA, an arrow is plotted, and reversal entry order is placed
When Price Climbs - Same as price drop, just in the opposite direction
Trailing Stop check box - Check if you want to place a trailing stop so many tick away from entry. Unchecked is Market (hard) stop so many ticks from entry.
Stop - Number of ticks away from entry a the stop or trailing stop is set (for NG 1 tick = $0.001)
Limit Out - Number of ticks away from entry a limit order is placed to take profits
Limit Time of day check box - check to use the time of day to limit what time of day order entry will occur.
Start/Stop Trades (Est Time) - First box is when the strategy will be allowed to start buying and stop is when the strategy will stop being allowed to buy. Sell orders continue until a stop or limit triggers an exit. These times are Eastern time zone
PROPERTIES:
Pyramiding - This feature will allow multiple entries to occur. If set to 1, the strategy should only trade 1 contract at a time. If set to 2, the strategy will enter a second order if entry requirements are met. This allows you to be holding 2 contracts. Basically on a good day, it will multiply your earnings, on a bad day, you'll just lose more. For testing, I keep this on 1.
TIPS:
- If you want to go long only, set "When Price Climbs" to an impossible number, like 10,000. It's not possible for NG to move $10 is a matter of minutes so it will not enter the market with a short order. Also keep in mind you can set different requirements for going long vs going short. If you think there is more pull on the market in a particular direction.
Standard Deviation - Sum Of The Squares Minus Square Of The SumsIntroduction
The standard deviation measure the dispersion of a data set, in short this metric will tell you if your data is on average closer or farther away from the mean. Its one of the most important tools in statistics and living without it is pretty much impossible, without it you can forget about Bollinger-bands, CCI, and even the LSMA (ouch this hurt) .
Now i don't want to extend myself about the standard deviation since that would require a huge post but i want to show you how to calculate the standard deviation from the stdev pinescript function.
Sum Of The Squares Minus Square Of The Sums
Any metric calculated from a moving average can be classified as "running", this mean that the metric constantly update itself and is not constant, this is why it is better to say "running standard deviation" but its okay. If we use the standard calculation for the standard deviation which would be sqrt(sma(pow(close - sma,2))) we might get something totally different from the stdev function :
In white the pine stdev function and in red the standard calculation of both period 4, its clear that both are not the same, one might try to use the Bessel's correction but that won't do either, this is because most technical analysis tools will calculate the square root of the "Sum Of The Squares Minus Square Of The Sums" method to estimate the standard deviation
Another way is to use :
a = sqrt(sma(pow(close,2),length) - pow(sma(close,length),2))
By returning the difference we might still see some errors :
Nothing relevant of course.
Conclusion
Some of you might already be aware of this but a reminder is always good since it can be confusing to make what can be considered the good standard deviation formula and then have something totally different from the pine function, i hope this post will be useful and that you learned something from it.
Thanks for reading :)
Realized VolatilityRealized / Historical Volatility
Calculates historical, i.e. realized volatility of any underlying. If frequency is not the daily, but for example 6h, 30min, weeks or months, it scales the initial setting to be suitable for the different time frame.
Examples with default settings (30 day volatility, 365 days per year):
A) Frequency = Daily:
Returns 30 day historical volatility, under the assumption that there are 365 trading days in a year.
B) Frequency = 6h:
Still returns 30 day historical volatility, under the assumption that there are 365 trading days in a year. However, since 6h granularity fits 4 times in 24 hours, it rescales the look back period to rather 30*4 = 120 units to still reflect 30 day historical volatility.
AEONDRIFT with FG & DFG {EMA} indicatorsAEONDRIFT with {EMA} implementation of FUSIONGAPS (FG) and DIFFERENTIAL FUSIONGAPS (DFG) derived indicators.
~JuniAiko
(=^~^=)v~
Check out the other analytical tools that I had published.
AEONDRIFT:
RSI & MACDJust combined the template RSI and MACD scripts from the pine library and it seems to work better in pine version 4 :) ty tradingview!