YouKnowTheVibesThis is mainly used for trading binary options but can be used for regular forex trading as well. If price is above BOTH EMAs and PSAR then you're looking for BUY opportunities. If price is below then you're looking for sell opportunities. Wait for price to break the most recent fractal high/low and retest; wait for a confirmation candle then enter a call/put and the expiry time is THREE candles.
ビル・ウィリアムズのインジケーター
Vix SpikeThis script calculates spikes Vix tops and bottoms. The Vix Market Bottom is calculated using CM_Williams_Vix_Fix Finds Market Bottoms (Chris Moody). The Vix Market Top is calculated as the inverse of CM Williams’ formula.
The highest Vix Bottom and the highest Vix Top are averaged (over the Highest Vix Lookback period).
Buys are signaled when the Vix Bottom line crosses below the Highest Vix Average.
Sells are signaled when the Vix Top line crosses below Highest Vix Average.
BINANCE:ETHUSDT 5 min
BYBIT:XRPUSD 5 min
Technical checklistNo one indicator is perfect. People always have their favorite indicators and maintain a bias on weighing them purely on psychological reasons other than mathematical. This technical checklist indicator collected 20 common indicators and custom ones to address the issue of a bias weighted decision.
Here, I apply machine learning using a simple sigmoid neuron network with one hidden layer and a single node to avoid artifacts. For the ease of data collection, the indicator matrix is first shown as a heatmap. Once an uptrend signal window is selected manually, an indicator matrix can be recorded in a binary format (i.e., 1 0 0 1 1 0, etc.).
For example, the following indicator matrix was retrieved from the MRNA chart (deciscion: first 5 rows, buying; last 5 rows, no buying):
1 1 0 0 0 1 1 1 1 1 0 1 0 0 1 1 0 1 1 1
1 1 0 0 1 1 1 0 0 0 1 0 1 1 0 1 0 1 1 1
0 0 1 1 0 1 0 0 0 1 1 1 0 0 1 0 0 1 0 0
1 1 0 0 0 1 1 1 1 1 1 0 1 0 0 1 0 1 0 0
0 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 0 1 0 0
1 1 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 1 1
1 1 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 1 1 1
0 0 0 0 1 0 1 0 0 1 1 0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 1 1 1
0 0 0 0 1 0 1 0 0 0 1 0 1 0 0 0 0 1 1 1
This matrix is then used as an input to train the machine learning network. With a correlated buying decision matrix as an output:
1
1
1
1
1
0
0
0
0
0
After training, the corrected weight matrix can be applied back to the indicator. And the display mode can be changed from a heatmap into a histogram to reveal buying signals visually.
Usage:
python stock_ml.py mrna_input.txt output.txt
Weight matrix output:
1.37639407
1.67969656
1.0162141
1.3184323
-1.88888442
8.32928588
-5.35777295
3.08739916
3.06464844
0.82986227
-0.53092333
-1.95045383
4.14441698
2.99179435
-0.08379438
1.70379704
0.4173048
-1.51870972
-2.14284707
-2.08513252
Corresponding indicators to the weight matrix:
1. Breakout
2. Reversal
3. Crossover of ema20 and ema60
4. Crossover of ema20 and ema120
5. MACD golden cross
6. Long cycle (MACD crossover 0)
7. RSI not overbought
8. KD not overbought and crossover
9. OBV uptrend
10. Bullish gap
11. High volume
12. Breakout up fractal
13. Rebounce of down fractal
14. Convergence
15. Turbulence reversal
16. Low resistance
17. Bullish trend (blue zone)
18. Bearish trend (red zone)
19. VIX close above ema20
20. SPY close below ema20
PS. It is recommended not to use default settings but to train your weight matrix based on underlying and timeframe.
Breach v3 BetaThis is a script that allows you to toggle multiple indicators related to support and resistance, CCI, and Breaches (Crossovers based on William's Fractals).
How to use:
Custom Timeframe (Minutes) - To compare to current candles
Crossovers on custom - Crossovers and breaches on custom timeframe (Blue Triangle up)
Crossunders on custom - Crossunders and breaches on custom timeframe (Blue Triangle down)
Crossovers on current candles - Crossovers and breaches on current timeframe/Candlestick (Purple Triangle up)
Crossunder on current candles - Crossunders and breaches on current timeframe/Candlestick (Purple Triangle down)
CCI - CCI Trend indicator (red/green dots)
CCI - window - Input CCI window size in candlesticks (Integer)
Resistance on current candles - Resistance on current candles (Green Line)
Support on current candles - Support on current candles (Red Line)
Resistance - Custom - Resistance line based on Custom Timeframe (Blue Line)
Support - Custom - Support line based on Custom Timeframe (Purple Line)
Price on current support/resistance - Label displaying the price of current (candlestick) support/resistance
Price on custom support/resistance - Label displaying the price of custom (Custom Timeframe) support/resistance
FractalThis fractal indicator provides fractal support and resistance together with other integrated features, such as short-, mid-, and long-term SMA and EMA lines, color code for bullish and bearish candles, and showing closing price to length for planning future trend scenarios.
Using fractal support and resistance and a triple moving average trading system helps traders identify better trade signals.
Click on Settings to select indicators for those features. The default setting is showing all.
2B detector betaIdentifying a trend reversal is practically tricky, given that price movement is somewhat unpredictable and mostly obeys a power law. In which the price difference is primarily out of normal distribution. According to Benoit Mandelbrot, the price distribution follows an alpha-stable distribution with α equal to 1.7.
Real data observation suggests that stock prices do not follow the Random Walk Hypothesis or Brownian motion. Instead, they follow a fractal pattern. Fractals exhibit similar patterns at different scales called self-similarity. Using this character, one can develop fractal patterns to identify local highs and local lows.
This indicator identifies the reversal signal so-called 2B base on the following logic:
1. Identify local highs and local lows with fractals
2. Define relative positions of those local highs and lows (ABC and 2B)
3. Define the local range of ABC and B
Disclaimer: This indicator is only for research purposes. Please do not take it as investing or trading advice.
Divergent Bars[Salty]Updated an existing Divergent Bar script to be able to show all divergent bars. There are 2 set of divergent bars that can be turned on. The original one based on price and alligator lines, and a new second one that shows ALL divergent bars. The second set has lighter lines and colors to differentiate them from the filtered alligator divergent bars.
William %R Scalper for GoldWilliam %R Scalper or WPR Scalper tool is used with small time frame : 5 , 3 or 1 minute, it uses two different William %R indicators : one for fast move with 9 period WPR9 and one slow with 54 period WPR54. You can find buy zone when WPR9 < -90 and WPR54 < -80 and sell zone when WPR9 > -10 AND WPR54 > -20. For experience user only you can adapt the two periods and threshold levels to your need. You can use only WPR9 to place trade and validate trend with WPR54.
Zalligator - Zero-Lag Alligator IndicatorI applied the zero-lag moving average theory to the Alligator Indicator. It seems like some different rules would would be required versus the traditional Alligator. Let me know what you think!
Multi StrategyDuring the course of a trade, we can find ourselves changing strategies depending on the market. Instead of using many different templates, I have a simple indicator that clearly says "Buy", "Sell" or "Stay Out". The great thing about this approach, is we instantly observe the majority are in agreement and that decides which way to place our trade.
This indicator includes the following strategies:
- QQE
- Ichimoku using much faster settings.
- Parabolic SAR
- Supertrend
- TTM Oscillator
- The Squeeze strategy
- The Alligator Strategy
Using this indicator is simple, if the lines are mainly green then buy, if mainly red then sell OR don't trade. So...
Green Line - This strategy is in a buy position
Orange or Black Line - This strategy is undecided
Red Line - This strategy is in a sell position
There are also some green and red circles for reference that appear showing when that bar has broken through the Ichimoku cloud.
The trader's approach is simple, when all indicators are green or red, then take the trade. As soon as one indicator changes, then re-evaluate using your normal process, such as price action, to determine whether to close the trade or continue.
I can customise this further or add other strategies, please message me.
[SCL] Bitcoin Hashrate Dips (Miner Capitulation)Gives long-term buy signals for Bitcoin from dips and recoveries in the hashrate (the "miner capitulation" theory). It has an overlay and a standalone mode and is fully configurable. It uses Williams Lows and ATR instead of moving averages.
Features that might be interesting for Pinescripters:
+ Automatic (as far as is possible currently) adjustment of plots for overlay and standalone display modes.
+ A neat label function for debugging floats
+ Fully commented
+ The debug that I used to overcome problems in developing it is left in
+ Ideas for how to deal with a wildly oscillating and exponentially increasing data source
You need to run this indicator on the Bitcoin daily chart for it to make any sense. The best is a BTC/USD chart with a long history, such as BNC:BLX.
Trend LineBasic Trend Line base on fractals (v0.1)
Can not draw a line on the future X axis, So just a line segment but not a ray.
I don't have a better idea to upgrade...
Williams Fractals with Alerts by MrTuanDoanCustom William Fractals for alerts and educational purpose.
Added custom alerts for Williams Fractals.
Also added filter to show less fractals on chart.
The simple idea how I use fractals in Binary Option is to determine temporary resistance and support.
Simple strategy:
- Mark Resistance/Support on higher time frame (e.g. 5M)
- Set an alert for new fractal
- Whenever a new fractal that appears close to your marked Resistance/Support, go to lower time frame (e.g. 1M)
- Wait for rejection at the level that lower than new down fractal (or higher than new up fractal).
- Enter with the same expiry of lower time frame.
Good luck and happy trading. :-)
Williams Fractals, A simpler scriptA simpler script to filter fractals and support large range parameter.
Deep_Fractal_Signals_and_Rubber_Band_TradesThis indicator is based on Williams Fractals and the TopDog Trading "Rubber Band Trade"
The Deep Fractal Signals are triangles that indicate the price is forming a pattern of decreasing lows in a down trend (orange) or, increasing highs in an up trend (green).
The triangles are placed above or below the last bar of the pattern, unlike Fractals which are drawn 2 candles prior to the current candle, and are re-painted on the chart.
When the triangle is indicated above the moving average in a down trend (blue), or below the moving average in an up trend (yellow), this is a Rubber Band Trade.
When the slope of the moving average is less than the Gain set by the user, or are counter-trend, the triangles are plotted in silver.
When used in conjunction with the Power Analyzer indicator, a signal to the long side should be taken when the Power Analyzer momentum indicator is at a cycle low. Similarly, a signal to the short side should be taken when the indicator is at a cycle high.
The first, second or third signal in a new trend have the highest probability of a follow through.
The indicator sometimes gives a false signal at the very end of the trend, just before the market reverses. This is an attempt by the Market Makers to persuade traders that the trend will continue.
Please leave a comment and "Like" this indicator if you find it useful.
FX Engineering
Awesome Oscillator_VTX
Abbreviations:
AO - Awesome Oscillator
AC - Accelerator Oscillator
TP - TimePeriod (1m,2m,5m,1h....)
TP Steps - 1m,3m,12m,1h,5h,D (This steps i use)
Use-case:
Awesome Oscillator best used to find Divergence/Convergence what results in Weakening of Momentum and Price reversals.
This script calculates and plots AO/AC with minute precision, removing GAPS when projecting Higher Period AO/AC.
So you can accommodate all important information on one chart with best precision.
Made for Intraday Perioads.
Best used for DayTrading, when you need to make quick and efficient decisions.
Calculation = Preferred resolution * Length / Present resolution.
As Additional Function, this Awesome Oscillator has AC built in.
Settings:
Resolution - Most used TP included, plus some exclusive paid plans (1m, 2m, 3m, 5m, 12m, 15m, 1h, 4h, 5h, Daily). Default set to 1h
Use AO - You can switch between EMA and SMA for FastMA/SlowMA calculation. Default set to EMA
FastMA - standard function. Default set to 5
SlowMA - standard function. Default set to 34
Signal Line - Plots MA to show Momentum. Uses EMA/SMA based on "Use AO" selection. Default set to 5
Use AC - You can switch between EMA and SMA for AC calculation. Default set to SMA
Offset - standard function. Default set to 0
Accelerator - AC length. Default set to 5
Source - standard function. Default set to hlc3
Why to use it ?
Yes, i know that variable TP is standard now in TradingView. But there are some limitations, especially for DayTraders.
Problem:
Imagine you are trading/scalping on 1m.. 5m.. 15.. charts and you want to see where are your on Higher TP.
-- You can change to 1h and check it, but you will loose the picture from smaller TP.
-- You can use Standard TP function, but your data will update every 15m, 1h (depends on TP). And in result you have Gaps between bars.
Solution:
This script help to solve this problem, by breaking information down to 1m and building from there.
So whatever Intraday TP you choose to trade, your AO/AC will be updated with minute precision.
Limitations:
Sadly nothing without limitations.
1. For Best performance use only Higher TP dividable By Yours (ex. You use 3m chart, then you can plot 12m, 15m, 1h / You use 5m chart, then you can plot 15m, 1h. 12m will already have 3m of information lost using 5m Chart )
Two Fractals TrendlinesThis study draws a trend line for the last two Bill Williams up-fractals and down-fractals.
Trend line break signals and alerts can optionally be added.
Normal FractalsNormal size fractal
For those who like Charts as clean as possible, I modified build in fractals in smaller size clean chart pollution
CAMZONEAdded Fractals which establishes high and low based on Bill Williams definition. Added one type of Pinbar (where the open and close is near extreme of the range and with long shadow that is at least 80% of the range). It is a powerful reversal pattern especially on the daily charts. These bars are identified with the character P. Also included dots below momentum candles.
Nailed BarsNailed bars was introduced by Joy22 in an article "Pip Nailer Trading System" submit on forexstrategiesresources on 06/01/2012
Rule of Nailed Bars is below:
1. Nailed Sell Bar:
* PSAR appears above the bar
* The Awesome Oscillator (AO) turns red
* The Accelerator Oscillator (AC) turns red
2. Nailed Buy Bar:
* PSAR appears below the bar
* The Awesome Oscillator (AO) turns green
* The Accelerator Oscillator (AC) turns green
=== About this indicator: Nailed Bars ===
This indicator is detecting all nailed bars was appeared on chart and display infomations in a panel. So traders who are using "Pip Nailer Trading System" can easily control the trade.
Milan OscillatorBill Williams Breakout Setup
I have referred to the man multiple times whether tweeting about him or writing a blog post. Now I want to relearn how breakout trading works, again. A while ago, my friend invited a bunch of us into a Zoom conference sharing us how his setup works for him. He reintroduced me to Bill Williams' indicators which looked like below.
The rules are simple:
Prices are moving away from Alligator, open and closed above the first time.
AC is twice consecutively at par with the direction.
AO is twice consecutively at par with the direction.
Entry on the third candle to be sure, or the second if you're willing to risk it.
The chart above is an example from the 4 hourly time-frame. Before going into any entry, to get a macro perspective, should check on these time-frames first:
Weekly
3 Days
Daily
Bonus points if monthly time-frame is also at par with the bias. Here are the charts for the larger time-frame.
It's been profitable trading with the above setup but then I have an itch to scratch. I wanted to have just a single oscillator instead of two to look at. It will enable me to make decisions faster and can use my brain juice to think about something else.
So I combined the two to create a new oscillator. I call it the `Milan Oscillator` in honor of my friend Patris who reintroduced me to Bill Williams yet again. Patris' favorite team is AC Milan, here's to you bro 🍺
Here are the same charts above with Milan Oscillator.
The rules are a bit different than the rules above:
No entry when the oscillator is gray, this means AC and AO are disagreeing.
Prices are moving away from Alligator, open and closed above the first time.
Oscillator is twice consecutively at par with the direction.
Entry on the third candle to be sure, or the second if you're willing to risk it.
On lower volume moves, prices will retest alligator, can be an entry if the retest fails.
Feedbacks are appreciated.
Carl's BOTTOM DETECTOR: Williams %R + normalized ATRThis script is based on Williams %r and normalized ATR.
When William%R indicates extreme oversold conditions
and the ATR indicates extreme volatility at the same time,
then it prints an arrow below the candle.
It is based on the concept that swing lows and market bottoms
are characterized by extreme oversold momentum and
extreme volatility.
The highest tf's like the daily, show you perfect market bottoms for btc.
If you zoom in it's still good to find swing highs and lows, if necessary
you can tweak the settings.
Next to that I added grey, red, and green vertical bands to the chart.
This is based on the VIX, the SPX volatility index.
Whenever the volatility of the S&P500 crosses above a specific level
it prints a colored background band behind the candle.
Grey means high volatility, red extreme volatility (like in the covid
crisis and 2008 crisis), and green means the same as grey, but indicates
it came after a red zone and could mean strong bullish bounce momentum.
You can tweak the thresholds for the grey/green and read areas.