BEST RSI Divergences Screener (Regular and Hidden)Hello traders
My way to fight this situation is to stay productive.
Hope some of my scripts will help you out as most of us are locked-down at home, hence have more time for trading - and preparing ourselves when the sun will shine on us again
I - Concept
This is an upgrade of this script which captured only the regular divergences
This screener detects whether the regular RSI divergences based on the TradingView Divergence built-in indicator (made by the gentleman @everget I believe)
With this screener, you can see in 1 view which of your favorite cryptos/stocks/forex pairs/etc. showing strong regular and hidden divergences
The gentlemen (and demoiselles) traders can play with the lookback/ranges inputs to adjust the divergences based on what they think is best of their trading/timeframe/instrument/life
On that script screenshot, I'm showing the BYBIT:BTCUSD part of the screener matching with the divergences on the chart
II - How did I set the screener
The visual signals are as follow:
- square: whenever a regular or hidden divergence is detected
Then the colors are:
- green when there is bullish divergence
- red when there is bearish divergence
🔔🔔 I also added the alerts for capturing those bullish/bearish divergences
III - Does it repaint?
It should not :)
Best regards
Dave
Autoview
BEST Risk to Reward UtilityHello Traders
This is a proof of concept and a cool pinescript utility
It displays a risk to reward division as a fractional value.
For example
Risk: 300
Reward: 600
This will be displayed as 1/2 as we can earn 2 units for a potential loss of 1 unit
(600/300 = 2) for those wondering the NASA level mathematics behind :)
Best regards
Dave
inwCoin Specific Buy/Sell Price Alert for AutoviewJust simple script to act as conditional stop loss
Problem : Traditional Market Stop or Limit Stop, you have to set it with specific price and wait for the price to drop/pump to your stop then it will trigger. But sometime ( so many times ) the price will leave a very long wick up or down to hunt the stoploss that already set in the exchanges.. then it turn back to the opposite side after stop our position from existent!!
Thank to Autoview, with this simple script, you can setup your "stop level" without put "stop market" in the order.
Just stop when price close below or above specific level in the script, then you can just setup alert to fire the TP/Stop order to exchange via autoview after alert fire.
Example;
You need to stop loss / TP your position when price "close below 9500" in daily BTC chart
- Just set "sell price" to 9500
- and set "Cross down" option
When daily chart close below 9500, the script will trigger alert for you to catch and send to any exchange via Autoview.
Note;
1) When setting alert in tradingview, make sure to use..
- Crossing Down + 0.8 in alert trigger condition
- Set to "Once per bar" ( If you set "once per bar close", it will fire alert in next 2nd candle! )
2) You need to subscribe to autoview to use the bot. And it's not for everyone. Just do your own research before using! ( try to test with small amount of money first! )
Cheers!
Variable Alert Box Examplejust publishing to share to novice pine coders like myself
any feedback on layout/structure/shortcuts will always be appreciated, not that this is a long script with much that can go wrong
short little what ever to show variable alert message
needs to draw the number from a plotted number like line 18 and 19, and cant be gettin the numbers from line 14 and 16
Best Volatility Calculator (Multi Instruments)Hello traders
A bit of context
Definition: Volatility is defined as the close of current candle - close of the previous N candle
This is an alternative version of my Best Volatility Calculator
The other version is displayed on a panel below. This one overlays on the chart using the "overlay=true" setting
This indicator shows the average volatility, of last N Periods, for the selected time frames and for 2 selected instruments.
You can select up to 2 timeframes with this version
Presented as Currency, Pip, percentage labels in a panel below.
Will calculate in real-time only for the current instrument on the chart.
The indicator is coded to not be repainting
Example
In the indicator screenshot, I used a lookback period of 1.
That compares the current candle close versus the previous one for the daily and weekly timeframe
Showing how the results look like using FOREX instruments (where using the PIPS labels make more sense than with cryptocurrency assets)
Best regards
Dave
Best Volatility CalculatorHello traders,
This indicator shows the average volatility, of last N Periods, for the selected time frames.
You can select up to 2 timeframes with this version
Volatility is defined as the close of current candle - close of the previous N candle
Presented as Currency, Pip, percentage labels in a panel below.
Will calculate in real-time only for the current instrument on the chart.
The indicator is coded to not be repainting
Example
In the indicator screenshot, I used a lookback period of 1.
That compares the current candle close versus the previous one for the daily and weekly timeframe
Showing how the results are calculated for the weekly calculations
Enjoy :)
Best regards
Dave
Best Ichimoku ScreenerHello traders
Continuing deeper and stronger with the screeners' educational series one more time
I - Concept
This screener detects whether the price goes above, below or stays in between the Ichimoku cloud
II - How did I set the screener
The visual signals are as follow:
- square: Above or Below
Then the colors are:
- green when above the cloud
- red when below the cloud
- orange when in the cloud
Best regards,
Dave
BEST Dollar Cost AverageHello traders
This is an upgraded version of my Dollar Cost Average (Data Window) script
1 - What is Dollar-Cost Averaging ( DCA )?
Dollar-Cost Averaging is a strategy that allows an investor to buy the same dollar amount of investment at regular intervals. The purchases occur regardless of the asset's price.
I hope you're hungry because that one is a biggie and gave me a few headaches. Happy that it's getting out of my way finally and I can offer it
🔸 This indicator will analyze for the defined date range, how a dollar-cost average ( DCA ) method would have performed (green panel) versus investing all the hard earnt money at the beginning (orange panel)
=> green versus orange
2- What's on the menu today?
My indicator works with all asset classes and with the daily/weekly/monthly inputs.
⚠️⚠️⚠️ However, results are only visible on the DAILY timeframe chart
As always, let's review quickly the different fields so that you'll understand how to use it (and I won't get spammed with questions in DM ^^)
🔸 Use current resolution: if checked will use the resolution of the chart
🔸 The timeframe used for DCA: different timeframe to be used if Use current resolution is unchecked
🔸 Amount invested in your local currency: The amount in Fiat money that will be invested at each period selected above
🔸 Starting Date
🔸 Ending Date
🔹 The script screenshot shows a DCA with 100 USD invested daily from 01.01.2017 to 01.28.2020
3- Bonus (DATA WINDOW)
🔸 Please check this screenshot to understand what you're supposed to see: Data window
And a quick video that I did months ago explaining how we can use this data window effectively
4 - Specifications used
I got the idea from this website dcabtc.com and the result shown by this website and my indicator are very interesting in general and for your own trading
The formula used for the DCA calculation is the one from the Investopedia website.
Best regards and best of luck
Dave
BEST ABCD Pattern ScreenerHello ladies and gentlemen traders
Continuing deeper and stronger with the screeners' educational series one more time.
This one is heavy crazy mega cool (pardon my french).
I - Concept
I present to you, ladies and gentlemen, the first screener for harmonic patterns.
Starting with an ACBD pattern screener this time!!
I used the calculations from Ricardo Santo's script
In short, he's using fractals (regular or Bill Williams ) for the pattern calculations. A masterpiece !!!
The screener will show in 1 consolidated chart the ABCD patterns for 5 selected assets. Could be stocks, forex, crypto, whatever you feel like making money with
II - Definitions
The ABCD pattern ( AB=CD ) is one of the classic chart patterns which is repeated over and over again.
The ABCD pattern shows perfect harmony between price and time.
More info here
The Williams Fractal is an indicator, developed by Bill Williams, that aims to detect reversal points (highs and lows) and marks them with arrows.
Up fractals and down fractals have specific shapes. The Williams Fractal indicator helps users determine in which direction price will develop
Source: www.tradingview.com
III - How did I set the screener
The visual signals are as follow:
- square: whenever there is an ABCD pattern detected
Then the colors are:
- green when a bullish pattern is detected
- red when a bearish pattern is detected
🔸 The script screenshot shows two red squares matching two ABCD bearish pattern from the above panel. As the chart is showing APPL, I highlighted where the screener mentioned the fruit stock ( APPLE, pun, bad joke, Dave out...)
🔸 I tried to make it as clear as I could with red arrows
Once again, we pushed together the limits of pine script beyond of what we thought was possible, beyond the realm of this world, reaching finally the dreamt pine script heaven (am I going too far? feel free to tell me)
Best regards,
Dave
BEST Supertrend CCIHello traders
Today I present you a Supertrend not based on candle close but based on a CCI (Commodity Channel Index)
How does it work?
Bull event: CCI crossing over the 0 line
Bear event: CCI crossing below the 0 line
When the event is triggered, the script will plot the Supertrend as follow
UP Trend = High + ATR * Factor
DOWN Trend = Low - ATR * Factor
This is an alternative of the classical Supertrend based on candle close being above/beyond the previous Supertrend level.
Hope you'll enjoy it and it will improve your trading making you a better trader
Dave
Customizable Trend Direction (Open-Source)Hello everyone
I received a ton of requests for this script so I decided to share it
I did it for a client who didn't want to pay (you can all blame... or even thank him for this script) in the end and I don't want to sell it on my website.
Not because it's not interesting but because my website will be a place to showcase and rent the Algorithm Builders mostly
What is it about?
Basically, it shows how you could convert a plotshape into a label.new object. Very interesting if you want someday to convert your V3 script into V4
With this script, it shows that you can in V4 ( but couldn't do in V3 ) do the followings :
- change dynamically the size (from tiny to huge) of any object
- change dynamically the text (from whatever to whatever) of any object
Screenshot of the user interface
imgur.com
Other use cases
I did it with the Trend Direction but could work with anything really.
- Any indicator with a visual signal. You can know personalized from a user interface the text, size and also the vertical shift. I didn't do it for that one but label.new takes a (x,y) coordinates so playing with y is fairly easy to achieve a dynamic vertical shift
- Even with this script Plotchar-How-to-draw-external-symbols-on-a-chart/ but would require to be updated with a label.new object and with a shape.none parameter so that we'll only see the icon/symbol displayed
- The colors also can be change dynamically using presets Presets-Selector-FRIDAY-NIGHT-CHALLENGE/ . If you have an indicator showing a BULLISH and a BEARISH signal, then you could, for instance, configure colors presets according to the timeframe of the chart or the indicator input, etc (sky is the limit ^^)
Be sure to hit the thumbs up at it motivates me to research what Pinescript can offer and share with the community
Dave
____________________________________________________________
- I'm an officially approved PineEditor/LUA/MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
- You can also hire for a custom dev of your indicator/strategy/bot/chrome extension/python
Turtles Modified AlertsAlerts for famous Turtle Trading Rules. Based on work from tmr0 and ossettia . It can be used with Autoview.
If you have any advice on how to further improve the script, please let me know by PM or comment below. Thanks!
Please hit on "Like" if you find this script useful so that others can find it easier. Thanks!
*** The information and script provided here are no recommendation to buy or sell. They are just an idea for educational and discussion purposes. ***
Eds Bot Signaler on Basis of RSI Stoch StochRSIEDS AWESOME BOT SIGNALER
Specially for use with e.g. 3commas or autoview
But can also be used just in normal manual (visual) mode
This Script is very early Beta. Works for visual manual use....
and also for 3Commas Bot as "Signaler" (how to connect with Bot, see the docu on 3commas).
... but can use as Signaler for any Bot who is able to get Tradingview sms-mails. (e.g. autoview)
It combines RSI, Stoch and Stoch-RSI.
You can choose normal RSI, or " returning RSI " (signals when leaving the sell/buy-zone. much higher profits with this)
You can choose how many of the indicators are needed to "fire".
You can choose if one of the indicators is a "must"
For Stoch & Stoch-RSI you can Choose sma or ema calculations of the moving average.
All the Values speak for themselves, if you are used to technical analyses (stay away in the moment, if you dont know, what rsi, stoch etc is used.
The Signals are also shown in the chart, the single ones, but also the combined which fires the Bot-Signal (shown as green and red column-candle at bottom)
Enjoy !! Free use in the moment.
More detailled Explanation in the future. Just play around!
If you wanna give something back:
BTC: 15buigKjh4JYnuVwcEWiYMpYvP3Lbp4ypL
[ALERTS] Range Filter"This is an experimental study designed to filter out minor price action for a clearer view of trends.
Inspired by the QQE's volatility filter, this filter applies the process directly to price rather than to a smoothed RSI .
First, a smooth average price range is calculated for the basis of the filter and multiplied by a specified amount.
Next, the filter is calculated by gating price movements that do not exceed the specified range.
Lastly the target ranges are plotted to display the prices that will trigger filter movement.
Custom bar colors are included. The color scheme is based on the filtered price trend."
Thanks to Donovan Wall...
Enjoy!
[ALERTS] ADX and DIThe average directional index (ADX) is a technical analysis metric. Analysts use it to determine the relative strength of a trend, with the direction of the trend either upwards or downwards.
The Average Directional Index (ADX) along with the Negative Directional Indicator (-DI) and the Positive Directional Indicator (+DI) are momentum strength indicators that evolved for use in stock trading. Commodities trader J. Welles Wilder pioneered their use. Technical traders who use charting techniques want to know when first spotting a shifting trend how strong that trend is and how likely it is to sustain itself over time. The ADX helps investors determine trend strength as they plan their investment strategies.
Confirmation on a chart and other momentum indicators help investors spot trend reversals. But some trends are more potent than others and investors want to better understand the strength of a trend. The ADX identifies a strong positive trend when the ADX is over 25 and a weak trend when the ADX is below 20. Investors can determine directional movement by analyzing the difference between two consecutive low prices and their correlated highs. The movement is +DM when the current high price, less the previous high price, is greater than the previous low price less the current low. The opposite applies in determining the negative or –DI.
When analyzing charts, stock price is the single most important variable to follow. ADX and other indicators are supplementary to price movements in providing additional directional information and support. For example, some of the best trends come about from price range consolidation. It is those tugs of war between buying and selling volumes that lead to breakouts and other trading opportunities.
The Inventor of the Average Directional Index
J. Welles Wilder, Jr. is a former American engineer and real estate developer who went on to revolutionize trading analysis by applying mathematical systems to the world of investing. In addition to developing the ADX, Wilder is also responsible for several other commonly used technical analysis tools including the Average True Range (ATR), the Relative Strength Index (RSI) and the Parabolic SAR.
www.investopedia.com
This script has alerts and includes the filter for markets with no trend defined.
Green Alert --> Long
Red Alert --> Short
Yellow Area --> Weak trend. ADX below threshold
Green candles --> Bullish Market
Red Candles --> Bearish Market
Orange candles --> No defined trend
Enjoy!
MG - Range trader - 1.0This one is a bit of an experiment..
The theory is, if you have an asset that you firmly believe will rise in the future for fundamental reasons and are happy to hold until that happens i.e. a be a position trader, you can take advantage of market volatility at the same time in a relatively safe way, so theoretically, you profit when the price goes up or down
E.g. You have $1000, an asset in which you want to become a position trader and you are happy to either make more money or more of the asset as you believe that will make you more money in the future, you could wait until a decent retracement, maybe around a good support level, then buy $500 of the asset and simply sell if it goes up by X, buy if it goes down by X. If you keep doing this, you will end up with either with more of the asset or more money. You have a sure gain either way (if you are happy to have either money or asset)
There are some considerations:
The higher the trade size, the faster profit compounds and the faster you exhaust your available buys and sells
- E.g. If asset is $100, you have $500 and you plan to buy / sell every $10 change, if the asset drops straight to $40, your last buy will be at $50, at which point, the asset is still dropping. But it you only plan to buy / sell $5 every $10 price, you will be able to buy right down to 0.
In times of strong trend, it may be better to avoid this approach altogether as there may not be so much oscillation or at least to use a small if not minimum order size.
Application:
The buy and sell triggers can be connected using autoview to convert this indicator into a range trading bot
[STUDY]HullMA OCC & SL/TP V3Another Open Close Cross. Now with Hull Moving Average: Alerts, SL TP, ...
Best results at 4h.
Enjoy!
[ALERTS] lamBOTghiniIt is a script based on changes in trend of EMAs.
You can copy it, modify it to your liking and maybe even buy a lambo.
Try it and if you can think of how to improve it please comment.
Enjoy!!!
Ehlers-Smoothed Stochastic RSI AlertES Stoch RSI Alert for use with AutoView using script by fskrypt.
Sell Alert <=20.0
Buy Alert >=80.0
[STUDY]Kagi Emulator OCC & SL/TP V3This is the script with alerts for the previous backtest.
Modify "reversal" according to the pair
It has take profit and stop loss too.
Thanks and Enjoy...
[Autoview][Alerts]Blank R0.13BThis is a fork of JustUncleL's
Dual MA Ribbons R0.13
It is now a blank template for making new strategies / alerts for autoview
The changes are as follows:
Removed actual algo
Establish functions for long Signal, long Close Signal and short Signal, short Close Signal to minimize the places code must be edited to update / replace algos
Make allow Long and allow short and invert trade directions independent options
Added support for alternate candle types
Added autoset backtest period feature, and optional coloring
Moved strategy calls in to functions so they can all be commented out or activated / disabled in a single block at the top of the script
[Autoview][Alerts]Dual MA Ribbons R0.12 by JustUncleLSorry I have had trouble getting the TradingView to point to the "Alerts" script instead of the "Backtest".
This is the Alerts part of this pair of Scripts. This part creates alerts to be picked up by the Chrome Add-on.