5min Williams Fractals scalping (3commas)Another strategy I'm learning Pine Script on. It is inspired by a MoneyZG youtube strategy called "Easy 5 Minute Scalping Strategy (Simple to Follow Scalping Trading Strategy)".
Again this is a one order per trade strategy compatible with the 3commas bot (works also with the free 3commas subscription). This strategy is based on the signals from Williams Fractals, taking the signals in reverse - red triangle indicates a bottom and hence we go long. The green triangle indicates a top so we go short. By default these signals are only accepted if they occur between the two Emas. However, you can also turn this off and when a WF signal comes in, only the current price has to be between the Emas. Stop loss is set to the current Ema slow and the take profit is a multiple of the distance to the slow ema.
Like previously I have added different filters as well as the ability to view essential things like the WF signal and Emas. I hope the script will help you to be more successful and if so it would be great if you could share here your setups, or tips on what would be good to refine to make it an even a more profitable strategy. Kind of a community approach so that we help each other out :).
Instructions for the 3commas connector:
1. First, you need to prepare 3commas Long/Short bots that will only listen to custom TV signals.
2. Inputs for the 3commas bot can be found at the end of the user inputs.
3. Once you have entered the required details into the inputs, turn on 3commas comments. They should appear on the chart (looks messy).
4. Now you can add the alert where you should paste the 3commas Webhook URL: 3commas.io
5. For the alert message text insert the placeholder {{strategy.order.comment}} and delete the rest.
6. Once the alert is saved, you can turn off those 3commas comments to have a clearer chart.
7. With a new alert, the bot and trade should launch.
In the near future I would like to publish more scripts that will carry similar elements as the first two, incl. compatibility with 3commas (I don't have access to another bot system). I will choose some strategies myself, but I will also be glad for some tips on what strategy would be good to do and is still missing here on Tradingview (short youtube videos or brief strategy manuals would be great).
Thanks and keep it up
PS: My screen values starting at Long Target Profit and ending at Pullback NOT greater than: 1.5; 1.5; 0; ON; 1; 2; OFF; 17; 36; ON; 0.05; ON; Chart; 14; 46; 50; 48.5; 51; OFF; 1; ON; 4; 2.
Indicadores de Bill Williams
Fibonacci levels MTFHello All,
I got some requests for a script that shows Fibonacci Levels of Higher Time Frame Candles. so I made/published this script. I hope it would be useful for you.
Options:
You can set Higher Time Frame, by default it's 1 Day.
Optionally it can use Current or Last Candle of higher time frame to calculate/show its Fibonacci Levels.
It can show higher time frame candles at the background optionally. You can change its colors.
You can enable/disable/change each Fibonacci levels and their colors.
You can enable/disable Fibonacci Labels that is shown at the right ride and see only Fibonacci lines/levels
example, Fibonacci levels with higher time frame candles:
P.S. if you have ideas to improve this script, drop a comment under the script please
Enjoy!
[JL] How Many Signals last N barsGot this idea after I found Multiple Indicators Screener from QuantNomad.
This script learnt some codes from QuantNomad's great script. Thanks to him.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This table show how many signals happened during the last N bars.
I only take care Forex, so this table only has 28 symbols. Feel free to change it.
Calculate the following signals:
RSI cross over/under 50
Short Moving average cross over/under long moving average
Stochastic k cross over/under d
MACD hist cross over/under 0
Williams Fractals: Up and Down fractals happened.
The concept is simple: Range period will always happen more cross signals than the trend period.
When the counter is less than median of all symbols, will be set green color. So more green mean more chance to be trend.
Fractal Breakout Strategy [KL]Fractal Breakout Strategy
This strategy will enter into a Long position when (a) bullish fractal is formed, combined with (b) ATR is relatively low. Trailing stop loss is set based on ATR.
Bullish fractal pattern :
A bullish fractal pattern looks like this:
It is formed when lower-low has reached a local minimum followed by higher-lows.
By default, this script plots the pivot point (the local minimum) using green crosses. This line will extend to the right until the next bullish fractal is formed. The local minimum pivot point is considered as key level of support. For long position entry, entry price must be higher or equal to it.
On the other hand, a bearish fractal pattern looks like the exact opposite. Reversing the logic, it is a local maximum indicated by higher-highs followed by lower-highs. This is shown by red crosses.
Why use ATR to confirm entry :
Two reasons to enter when ATR is low:
1) Since trailing stop loss is based on ATR, entering the market when ATR is low means risking less for potentially high reward.
2) Low ATR often signals price consolidation. There are two favorable scenarios, either: (i) period of accumulation, or (ii) bull flag, ideally followed by breakout.
Determining whether ATR is low :
Relative lows are quantified out by using the method in my other script: Modified ATR Indicator
The method involves applying two-tailed hypothesis testing to assess whether ATR (ie. by default lookback period of 5) has greatly deviated from a larger sample size (ie. lookback period of 50). Assuming ATR is normally distributed and variance is known, then test statistic (z) can be used to determine whether ATR5 is within the critical area under Null Hypothesis: ATR5 == ATR50. If z falls below/above the left/right critical values (ie. 1.645 for a 90% confidence interval), then ATR is determined to the relatively low/high respectively. For the purpose of assessing whether ATR is low, the left-tail is the main focus.
Profit taking :
Profits by default are taken over 3 levels based on risk to reward ratio (ie. 1R, 2R, 3R). When a target is met at each level, strategy will close out one third of current position size. Remainders (ie. already taken once at 1R, but not yet reaching 2R or 3R) will eventually be closed at the trailing stop loss price.
%R Trend Exhaustion [upslidedown]I love Williams %R! This indicator mixes two %R periods... a standard %R with a longer period %R. The longer period of 112 has interesting results for trend following strategies in the crypto market through backtesting.
Alone these are fairly ordinary but together they provide a very interesting trend exhaustion/reversal system while filtering out some noise. I have highlighted key areas of interest with filled boxes. An "area of interest" is when there is confluence between the short and long period %R values along with being overbought or oversold. Once there is a break in the overbought or oversold trend, an arrow will print.
This is one of my odder ideas that appears to have some merit and detects interesting tops or bottoms (or confirms a trend reversal) so I'm publicly publishing for the community to find. If you find this useful please reach out and let me know how you use it as it's fairly unique... and thus different than anything I've ever seen or used.
Argo II - (alerts for 3commas composite bots) - publicThis script lets users create BUY/SELL alerts for 3commas composite bots (1 alert = 12 pairs) in a simple way, based on a built in set of indicators that can be tweaked to work together or alone through the study settings.
There is a version of this script for single pair bots, with slightly more features here .
If the user choses to create both BUY and SELL signals from the study settings, the (1) alert created will send both BUY and SELL signals for all 12 pairs selected. At this stage, the script forces the user to select 12 pairs in the study settings. If less pairs are inserted, it will not work. Also, the script will only send alerts for the pairs selected in the study settings, not for the current chart (if different).
How to use:
- Add the script to the current chart
- Open the study settings , insert bot details and select 12 pairs. You should write the pairs manually, using the format BTC , ADA, ETH, etc. They MUST be in capital letters or 3commas will not recognize them.
- Still in the study settings, tweak the deal start/close conditions from various indicators until happy. The study will plot the entry / exit points below the current chart (1 = buy, 2 = sell)
- Make sure your strategy works for all the pairs you have selected, simply by checking each chart with the same study settings
- When happy, right click on the "..." next to the study name, then "Add alert'".
- Under "Condition", on the second line, chose "Any alert () function call". Add the webhook from 3commas, give it a name, and "create".
That's it.
Notes:
- If you insert coins that are not available for the quote currency and exchange of your choosing, the script will not work and return an error.
- Make sure you run tests with paper trading or dummy bots (i.e without actual bot ID) to ensure your alerts trigger as intended on all coins.
- If alerts trigger too much (i.e they all trigger at the same time for all coins), Trading View will stop the alert. So probably not ideal for a scalping bot. It could also be the sign the script doesn't work as intended.
- The script is a bit slow on my side. I am a beginner in pinescript, so if anyone knows how to simplify it, please let me know.
- if anyone knows how to tell the script to function with less than 12 pairs (when not filling the 12 fields in the setting), please also let me know :)
EneX SignalEneX is signal that give recommendation signals for entry and exit on spot market. This indicators not suitable for leverage trading in futures market.
EneX signal consider several indicators and has entry and exit rules.
EneX signal is suitable for investors who believe in trend following strategy (disclaimer on).
This script composed by Yohan Naftali for educational purpose only. Reader who will use this signal must do own research.
Indicator and Plot Involved
1. Williams Fractals with default periods = 2
2. William Alligator Indicators with default simple moving average 8, 13, and 21
3. Exponential Moving Averages with default value EMA 50, 100, and 200
4. Relative Strength Index with default overbought level = 80 and oversold level = 20
5. Williams Fractals are joined to create support and resistance line and fill area between support and resistance lines.
Entry signal conditions
1. Entry on Weakness when bullish fractal appear on n/2 period
2. Entry when price break resistance line
All entry condition must above EMA and alligator signal and not in overbought RSI
Exit signal conditions
1. Lowest price is below Exponential Moving Average
2. Lowest price is below William alligator lines
You can easily find entry and exit points by using Entry (E), Exit(X) signals
How to use
1. Monitor chart and wait until E or X signals
2. Entry if Entry Signal (E) appear (green colored label)
3. Exit if Exit Signal (X) appear (red colored label)
4. Change indicators setting when necessary
Best Practice
1. Entry only when entry signal (E) appear
2. Never entry when price below William alligator signal
3. Exit when exit signal (X) appear
4. Not exit when exit signal appear when you believe or you have information that price will be rebound
5. Exit if you believe that current price meet your target price
6. Always wise when use EneX signals
Disclaimer
Do your own research and consider fundamental price of asset.
The indicators provided on this script is for educational purposes only.
Author does not offer advisory or brokerage services, nor does it recommend or advise users to buy or sell particular stocks or securities.
Please examined script and give feedback for further improvement.
Simple Trader - Swing PivotsSimple Trader - Swing Pivots.
Note: Do not use this indicator as buy/sell signals.
I'm using this indicator to see the visible reversal points in chart.
I use 5 candles preceding and 5 candles following in 3 mins chart to analyze the trend and momentum.
I use 2 candles preceding and 2 candles following in 30 mins chart to analyze the trend and momentum.
Willians Ultimate Oscillator [DM]Hello colleagues
I share the Williams Ultimate Oscillator
You can select betwen:
1.Average signal of 9 lengths (3 X UO).
2. Three independent signals UO.
You can also customize the oversold and oversold bands.
Some alerts were added.
The gradient colors of the background warn us of a squeeze in the movement of the indicator.
If there is something that can be improved (it is certain that it is) please leave it in comments.
OS AO (P-unity MACD)This is both the Awesome Oscillator (AO) as described in New Trading Dimensions ( NTD , book by Bill Williams ), and the Profitunity MACD described in the first edition of Trading Chaos.
The calculation for both is the same. In this case I added the 5 day SMA which is the blue line. The difference between the blue line and the AO is the AC which is also described in NTD and is usually plotted in a different indicator (AC).
This is the base for the following signals:
Zone Bar
2nd Wise Man
The signals are triggered and shown on the main chart screen through the use of OS Alligator . This indicator (AO) provides further insight in analyzing those signals by reading the AO, its current position and evolution directly.
Forex Fractal EMA ScalperThis is a forex scalper designed for very short timeframes 1-5 min max.
At the same time due to the short timeframe, is recommend to re optimize it weekly .
Its components are
Fractals
Triple EMA with different lengths
Rules for entry:
For long : we have an up fractal and all 3 ema are in ascending order
For short: we have a down fractal and all 3 ema are in descending order.
Rules for exit
We exit when we either get a reverse order or when we hit the take profit or stop loss calculated in fixed pips.
Williams Fractals BUY/SELL signals indicatorThis indicator made with using Williams Fractals, 20 50 100 Moving Averages and Relative Strength Index. You can easily find entry points by using Long (L), Short (S) signals.
This is a 15min scalping strategy for BTC:USDT Perpetual pair. For use different pairs or TFs you may need to change settings.
How to use
****************
When flashing Long (L) or Short (S) signal you should wait until the candle closing for the confirmation.
After that candle closed with the signal, you can enter a trade in next candle opening.
Your SL should be 3.1% from etnry and TP should be 0.5% from entry for best results. (You can use Long Position / Short Position tool in Prediction and Measurement Tools in drawing pannel to calculate this. This settings only for BTC:USDT Perp 15 min TF. For other TFs or Pairs settings may vary. You can easily change these settings and backtest your own.)
After entering a trade you can be ignored next signals until close the trade.
To learn more about this strategy, please try the "Williams Fractals Strategy" I coded. Thank you!
Argo I (alerts for 3commas single bots)This script lets users create BUY/SELL alerts for 3commas single bots in a simple way, based on a built in set of indicators that can be tweaked to work together or separately through the study settings. Indicators include Bollinger Bands, Williams %R, RSI, EMA, SMA , Market Cipher, Inverse Fisher Transform.
If the user choses to create both BUY and SELL signals from the study settings, the alert created will send both BUY and SELL signals for the selected pair. Note the script will only send alerts for the pair selected in the study settings, not for the current chart (if different).
How to use:
- Add the script to the current chart
- Open the study settings , insert bot details. Pairs MUST be in capital letters or 3commas will not recognize them.
- Still in the study settings, tweak the deal start/close conditions from various indicators until happy. The study will plot the entry / exit points below the current chart (1 = buy, 2 = sell)
- Ideally, test the settings with a backtesting script. The present script is compatible with the Trading Parrot's backtester.
- When happy, right click on the "..." next to the study name, then "Add alert'".
- Under "Condition", on the second line, chose "Any alert () function call". Add the webhook from 3commas, give it a name, and "create".
Happy tweaking!
Williams Fractals StrategyThis indicator made with using Williams Fractals, 20 50 100 Moving Averages and Relative Strength Index. You can easily find entry points by using Long (L), Short (S) signals.
Note : Settings are optimized for BTC:USDT Perpetual 15min TF. For use different pairs or TFs you may need to change settings.
Hotch v1.02 RSI+Fractals/VWAP Bands/Smoothed Moving Average. In this script the RSI is used the limit number of displayed fractals to only those fractals that are triggered in the RSI Overbought and Oversold areas. This helps keep the chart cleaner looking when combined with other indicators so other icons that are plotted above and below candles are not covered up.
For example if the RSI drops below 30 the next fractal would be displayed.
If the RSI stays below 30 each fractal would be displayed.
If the RSI dips below 30 and returns above 30 before there is a fractal is displayed, the next valid fractal would still be displayed.
With optimization of the RSI values this indicator can be used in confluence with the included VWAP bands and Moving average to find trend reversal entry points for trades. Also recommended is to use a divergence identifying lower indicator as a secondary confirmation of trade entry.
Example of a potential long entry using the displayed chart.
1) RSI under 30
2) Price was recently outside of your chosen VWAP multiple.
3) a fractal was triggered.
Additionaly:
4) Use other indicators or other confluences for a stronger trade signal.
5) Use your preferred method of determining entry price stop loss and take profit.
NOTE: Fractals normally paint two bars behind the current bar. In this code, with the combination of the RSI and Fractal Trigger, the fractal paints an icon on the current bar.
Inverse Fisher Transform on Williams %RInverse Fisher Transform On Williams %R
Since Williams R indicator produces negative values, I preferred to add 50 instead of subtracting 50.
It produces values between 0.5 and -0.5.
Generates clear buy and sell signals.
Williams %R determines overbought and oversold levels.
You can see more softly.
Alma Moving Average Ribbon Reverse Length [DM]Greetings Colleagues
Following some recommendations and ideas I share this moving average, put all of them together
The length calculation is automatic there is only one input.
The length is inverse so it will wrap from the longest reference point, hence using phi
Moving averages will wrap around the price.
I've also added gradient color to plots and fill plots
There is an alert selector in case you are interested in a particular crossing, "remember that the order is reversed".
There is an alert visual plotshapes with offset signal.
Finally, after spending a few hours with the Williams alligator moving averages I found nothing special, but I added the individual offset adjustment for each moving average in case someone comes up with something.
Enjoy”
Some references about alma by "tradingview pinecoders"
What to look for
The Arnaud Legoux Moving Average has three elements to it:
Window: This element is the period. By default, the window is set to 9 periods, but it can be customized to fit any trading style.
Offset: This element is the Gaussian that is applied to the combo line and can be aligned to the current price. It’s default is set to 0.85, but by setting it to 1, you can make it align fully to the current price (similar to how an Exponential Moving Average (EMA) with a setting of 0 is like a Simple Moving Average (SMA)). 0.85 is what is recommended, however, you can customize it like with the window element.
Sigma: This element is a standard deviation that is applied to the combo line in order for it to appear more sharp. The default is set to 6 and it is not recommended to change the setting. The value of 6 is inspired by the Six Sigma process.
www.tradingview.com
RSI Centered PivotsJust a simple RSI central pivot strategy I made for a friend.
Backtested on BYBIT:BTCUSD, 155m.
DISCLAIMER : Please do your own research into anything you use before using it to trade.
Cryptobull | Long / Short IndicatorCryptobull is a indicator based on the Williams R and Bollinger Band to find Long / Short entries (together with your strategy).
!!! The indicator is not working in every market situation -> so i recommend to add the indicator to your existing strategy !!!
Designed for:
->15m Chart
->5m Chart
->Crypto
->(Stocks)
I recommend using this indicator with Price Action or your own strategy to enter trades.
Rainbow Indicator - Polfwack ProThis is a reverse engineered completely free Version of an Indicator that you would normally have to spend huge amounts of money on. I personally believe that no one should pay a fortune for access to an Indicator that contains huge amounts of freely available stuff.
This indicator claims to be even better than Market Cipher. Turns out it uses - just as Market Cipher, freely available Indicators and puts them in a nice looking package. I packed in as much as it made sense, the original Indicator is visually very cluttered with - in my opinion, too much random stuff that I have left out for a cleaner look, for example the truckload of entry signals, MFI and that Autotrendline feature that no one really needs because the human brain is way better at drawing lines.
Was is included? From top to bottom:
1st Bar -> Color coded RSI status. It shows Oversold and Overbought, Bullish, Hidden Bullish, Bearish and Hidden Bearish Divergences.
2nd Bar -> Color coded Market Structure Analyser. It shows if the market is currently ranging, bullish or bearish based on calculated pivots and outbreaks of said pivots. Bullish and Bearish breaks are also being printed.
Main Oscillator -> An Awesome Oscillator (AO) that prints bullish, hidden bullish, bearish and hidden bearish divergences as well as positive and negative Pivot Points.
Bollinger Bands -> They are following the AO and are color coded to the long term trend indicator for less visual clutter.
Secondary Oscillator -> Accelerator Oscillator (AC).
3rd Bar -> Color coded longer term trend indicator, it mirrors the color code on the Bollinger Bands. The original uses an ATR-based calculation, but I found a Kumo cloud to be more simple and more reliable for this kind of thing.
4th Bar -> Color coded mirror of the Accelerator Oscillator.
I tried to make the whole Indicator as adjustable as possible, most of the variables can be edited to your liking.
On the internet you can find all sorts of strategies for every single of the included indicators.
I hope that I have saved you at least some money. Good luck.
ADX + BB %B + AO + EMA [Luca Massuda]This trading strategy combines different indicators:
1) ADX, Average Directional Movement: to spot the trend
2) BB %B Bollinger Band %B: to spost relative price position to Bollinger Bands
3) AO Awesome Oscillator: to spot momentum
4) ema 5,ema21, ema50, ema200: to decide long or short position
You can configure:
Take profit % : at which % gains to take profit from the entry price
Stop loss % : at which % stop loss from the entry price
BB %B Overbought: At which level you consider Overbought respect to Bollinger Bands (values 0 to 100)
BB %B Oversold: At which level you consider Oversold respect to Bollinger Bands (values 0 to 100)
Awesome Oscillator: AO level to consider a long or short position +/- 2
ADX: ADX value to consider a long or short position
Start Date, Month, Year: Starting point for a backtesting strategy
Lenght , Source , Standard Deviation: Bollinger Bands values
ADX smoothing, DI Lenght: ADX values
Green and purple zones indicate when the strategy can go long or short.
Default Long conditions:
ema5>ema21 and ema50>ema200 and bb>75% and ao>2 and adx>15
Default Short conditions:
ema515
Triple Williams Alligator (MTF)This script is simply a Multi time frame version of the built in Williams Alligator script.
Higher time frame Alligators can often produce resistance and support as traders on different timeframes react to them. They can also act as a trend filter.