Key EMAsSimple trade helper script that plots:
- 10 & 20 EMA crosses for fast moves
- 10 & 200 EMA crosses for trends
- 50 & 200 EMA golden and death crosses
Alerts built in.
Alerts
Pump AlertsMy very first indicator in Pine Script with two alert conditions for trading bots.
It's based on " Pump Catcher " by @ joepegler
I modified some parts, hopefully improved the usability and enabled alerts, so you can use it to trigger bots like 3commas via webhooks.
Pump Alerts 🚀 attempts to "detect moments of abnormal and accelerating increase in volume" AKA "pumps". Small and big pumps.
I recommend using it on small timeframes like 1 to 15 min and tinkering with the lookback period as well as threshold values.
Other than that it's pretty self-explanatory and beginner-friendly.
Free and Open Source. Let me know how you use it!
Parabolic SAR Alerts (on close) [QuantNomad]This is study with alerts for my previously published strategy:
Use "Once Per Bar Close" alerts.
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
Support Resistance - DynamicThis is Dynamic Support / Resistance script.
How it Works?
It finds Pivot Points and creates channels for each Pivot Point. Channel size is calculated by (Highest - Lowest) * %Channel_size in Loopback Period. After creating channels it calculates that how many Pivot Points in the channels. more Pivot Points in channel means stronger Support/Resistance. in the option menu there is S/R Strength, this is the minimum number of Pivot Points that each channel must contain to be S/R. calculation starts from last pivot point and go back for "loopback period" which is 300 by default. so last Pivot Points have more priority. Finally after calculating Support/Resistance it draws lines.
Number of Support/Resistance line is Dynamic and up to 20 lines, that means number of lines changes dynamically. you can see how the script puts Suppport/Resistance lines dynamically by "Replay" button. (if I have time I will try to put a video)
Currently the scripts checks up to 40 pivot points in loopback period. it shows up to 20 S/Rs only for visible area in the chart.
There is option to Show S/R lines as Solid, Dotted or Dashed.
Enjoy!
BEST USA Bank Holidays HelperHello traders
This is a quick helper displaying the US bank holidays labels 1 day before the actual bank holiday date
Useful to be reminded when it's better to not trade as the big "whales" aren't trading either - and are probably drinking cocktails on their yachts in the Caribbeans island
This is my way of saying that, the days where the USA are off, the derivatives like indices aren't likely to give big opportunities
Of course, big move might happen but statistically, we're better off going to the Caribbeans islands as well (or preparing for the next trading day)
Bonus
The indicator displays in fuschia (never knew how to write that word properly without checking google first...) the 2019 US bank holidays
Best regards and enjoy your cocktails today :)
Dave
Renko Chart Alerts with PivotsAdd alerts to renko charts to be notified when:
new brick
brick up
brick down
direction change
direction change up
direction change down
Also shows pivots based on brick reversals. Alerts also available for:
pivot breakout
pivot high breakout
pivot low breakout
You can hide the plots for pivot high/low and breakouts in the style tab of the settings for the indicator.
To add the alerts:
add the indicator to your renko chart
click add alert
click the condition dropdown and choose Renko Alerts
you should see all the alerts there and you can add any one or more to your chart
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 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
QQE signalsConverted the QQE oscillator to in-chart long and short signals with built in alerts. This is multi-timeframe and quite robust.
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
Slow Heiken Ashi and Exponential Moving average Strategy 2.2Strategy using Slow Heiken Ashi by Glaz and Exponential moving averages. Looking for someone to help me turn the strategy into non-reoccuring alerts as I am having trouble doing so.
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
Linear Regression - Auto Adjust To Ideal Pearson's R (Min & Max)This is meant as a partner to my linear regression strategy script. This one however is just the indicator only so you can overlay the technique over other strategies.
To use this script you need to understand what Pearson's R is; which is how correlated a set of data is to a line within a given deviation (+ or -).
If the Pearson's R is negative (-) then the trend is going upwards. If the value is positive (+) then the trend is going downwards.
There is a lot of debate as to what the ideal negative and positive values are for the Pearson's R, so you can change these in the settings. What the script will do is attempt to automatically find (and draw the trend lines) based on a given minimum period and a maximum period (both set in the settings) that match the ideal Pearson's R settings selected.
Ideally the data is MOST correlated the closest it is to -1 or 1. This means the pattern is very reliable.
This script was designed and works very well with the bar replay mode. You may need a more professional version of TradingView to use this correctly. This mode allows you to see the script in action as it mutates and changes according to the new data being introduced.
I've pre-set the Pearson's R (+) and (-) ranges to what I think is ideal.
Simple Reversal PointThis indicator finds possible points of reversion, you can use it to stack positions and get a good average price for when the price changes direction, it is the trader responsibility to manage the position and make a profit.
-Added alerts
Trailing Stop Loss ATR + AlertI share this TSL indicator with alert (I use it only for Stocks), the configuration is very simple, you must select if it is a Short or Long operation, time at which the operation was opened,% of the daily ATR for TSL. It also contains:
- Alert
- Panel Info
Study for Squeeze Momentum Indicator [LazyBear]This study is based on LazyBear Squeeze Momentum Indicator and my strategy developed using it.
I added some custom feature and filters.
Main improvements are:
1- study is updated to version 4 of pine script;
2- I added alerts for entry rules and exit rules.
3- Alert syntax can be customized for webhooks: I added one example only for long entry.
You can customize a lot of features to get a profitable strategy.
Here is a link to original study.
Please use comment section for any feedback.
Simple EMA CrossQuick script I put together to complete the following:
---
- Simple EMA with the option to either display both or consolidate them as one
- Single EMA will change color based on a cross of the two EMA values entered
- Programmed alerts for bullish/bearish crossover
Enjoy!
Keltner Channel Alerts [QuantNomad]This is a script with alerts for standard Keltner Channer Strategy you can find in TradingView.
Use "Once Per Bar" option when creating alerts.
Ichimoku Kinko Hyo Cloud - no offset - no repaint - strategyIchimoku Kinko Hyo Cloud - no offset - no repaint - RSI filter - strategy
The indicator contains both the standard Ichimoku Cloud , as well as the one without the visual offset.
The Strategy Tester indicates good backtest results when the Ichimoku Cloud is paired with the RSI .
However, it seems it likes to work more as a standalone system.
The indicator can be easily converted to the study() mode by commenting/uncommenting a few lines,
then the alarms can be configured.
There are entry and exit signals ready to be used by the alert system.
The coloring of the cloud without offset contains all 3 conditions: Uptrend , Downtrend , Transition .
BEST Long Term Levels Breakout ScreenerHello traders
Continuing deeper and stronger with the screeners' educational serie one more time (#daft #punk #private #joke)
We don't have to wait for TradingView to allow screener based on custom indicator - we can build our own ^^
I - Long Terms concept
I had the idea from @scarff.
I think it's genius and I use this long terms level in my trading across all assets.
The screener, in particular, analyzes whenever the price breaks out a weekly/monthly/quarterly/yearly level on candle close .
Triggering events on candle close = we get rid of the REPAINTING = we remove the fake signals (in that case the fake breakouts).
The candle close is based on the close of the current chart => if the chart displays candlesticks on the weekly timeframe, then the considered close will be the weekly close.
If in daily timeframe, the close will be .............................. 4h (#wrong)..... kidding :) .............. DAILY obviously
II - How did I set the screener
The visual signals are as follow:
- square: breakout of a high/low weekly level
- circle: breakout of a high/low monthly level
- diamond: breakout of a high/low quarterly level
- flag: breakout of a high/low yearly level
- dash: none of the above
Then the colors are:
- green when bullish
- red when bearish
- orange/dash when none of the above
Cool Hacks
"But sir... what can we do with only 3 instruments for a screener?" I agree not much but...
As said previously... you can add multiple times the same indicator on a chart :)
Wishing you all the BEST trading and.... wait for it... BEST weekend
Dave
BEST Cloud ALL MAHello traders
Hope you're all doing well
This script is a generic cloud generator using a pre-selected set of moving averages (I probably forgot a lot but listed all the ones I used at least once).
A cloud is a visual representation of the gap between two moving averages - it shows right away how big in that gap (=how far they are from each other)
The challenge is to find a cloud such as the price often stay stuck between those 2 MA - and when it's getting finally out (up or down), it would be strong enough to signal a beginning of a trend.
This is a cool intellectual challenge for all aspiring traders
For that script, I defined a trend according to how the 2 MAs are located relative to each other (MA1 > MA2 or MA1 < MA2) and if the price gets out of the cloud.
You'll get :
- the option to color the candles based on a trend
- cool triangles entry signals
- and alerts on those triangles
All the BEST
Dave