Bollinger Band Alert with RSI Filter IndicatorThis code is for a technical analysis indicator called Bollinger Band Alert with RSI Filter. It uses two tools: Bollinger Bands and Relative Strength Index (RSI) to identify potential trading signals in the market.
Bollinger Bands are lines plotted two standard deviations away from a simple moving average of the price of a stock or asset. They help traders determine whether prices are high or low on a relative basis.
The RSI is a momentum indicator that measures the strength of recent price changes to evaluate whether an asset is overbought or oversold.
The code has some input parameters that a user can change, such as length and multiplier, which are used to calculate the Bollinger Bands, and upper and lower RSI levels to define the overbought and oversold zones.
The code then uses if statements to generate alerts if certain conditions are met. The alert condition is triggered if the close price of an asset crosses above or below the upper or lower Bollinger Bands, and if the RSI is either above or below the overbought or oversold threshold levels.
Finally, the code generates plots to visualize the Bollinger Bands and displays triangles above or below the bars indicating when to enter a long or short position based on the strategy's criteria.
Cari dalam skrip untuk "alert"
Squeeze Momentum Strategy [LazyBear] Buy Sell TP SL Alerts-Modified version of Squeeze Momentum Indicator by @LazyBear.
-Converted to version 5,
-Taken inspiration from @KivancOzbilgic for its buy sell calculations,
-Used @Bunghole strategy template with Take Profit, Stop Loss and Enable/Disable Toggles
-Added Custom Date Backtesting Module
------------------------------------------------------------------------------------------------------------------------
All credit goes to above
Problem with original version:
The original Squeeze Momentum Strategy did not have buy sell signals and there was alot of confusion as to when to enter and exit.
There was no proper strategy that would allow backtesting on which further analysis could be carried out.
There are 3 aspects this strategy:
1 ) Strategy Logic (easily toggleable from the dropdown menu from strategy settings)
- LazyBear (I have made this simple by using Kivanc technique of Momentums Moving Average Crossover, BUY when MA cross above signal line, SELL when crossdown signal line)
- Zero Crossover Line (BUY signal when crossover zero line, and SELL crossdown zero line)
2) Long Short TP and SL
- In strategies there is usually only 1 SL and 1 TP, and it is assumed that if a 2% SL giving a good profit %, then it would be best for both long and short. However this is not the case for many. Many markets/pairs, go down with much more speed then they go up with. Hence once we have a profitable backtesting setting, then we should start optimizing Long and Short SL's seperately. Once that is done, we should start optimizing for Long and Short TP's separately, starting with Longs first in both cases.
3) Enable and Disable Toggles of Long and Short Trades
- Many markets dont allow short trades, or are not suitable for short trades. In this case it would be much more feasible to disable "Short" Trading and see results of Long Only as a built in graphic view of backtestor provides a more easy to understand data feed as compared to the performance summary in which you have to review long and short profitability separately.
4) Custom Data Backtesting
- One of most crucial aspects while optimizing for backtesting is to check a strategies performance on uptrends, downtrend and sideways markets seperately as to understand the weak points of strategy.
- Once you enable custom date backtesting, you will see lines on the chart which can be dragged left right based on where you want to start and end the backtesting from and to.
Note:
- Not a financial advise
- Open to feedback, questions, improvements, errors etc.
- More info on how the squeeze momentum works visit LazyBear indicator link:
Happy Trading!
Cheers
M Tahreem Alam @mtahreemalam
Multiple Indicator 50EMA Cross AlertsHere’s a screener including Symbol, Price, TSI, and 50 ema cross in a table output.
The 50 Exponential Moving Average is a trend indicator
You can find bullish momentum when the 50 ema crossed over or a bearish momentum when the 50 ema crossed under we are looking to take advantage by trading the reversion of these trends.
True strength index (TSI) is a trend momentum indicator
Readings are bullish when the True Strength Index shows positive values
Readings are bearish when the indicator displays negative values.
When a value is above 20, we look for selling overbought opportunity and when the value is under 20, we look for buying oversold opportunity.
You can select the pair of your choice in the settings.
Make sure to create an alert and choose any alerts then an alert will trigger when a price cross under or cross over the 50 ema for every pair separately.
This allow the user to verify if there is a trade set up or not.
Disclaimer
This post and the script don’t provide any financial advice.
3MA Proximity AlertScript for alerting when:
A) Price
B) 20 SMA
C) 200 SMA
D) 1 Support or Resistance line
Are all in proximity to each other at the same time.
SPY Monthly EMA % Alert/TrackerThis simple FREE indicator is used on the SPY chart to alert/notify when the Monthly 10 EMA moves above the alert threshold.
TP suggest that when setting up Credit Spreads the Trader should be careful when the SPY moves too far from the 10 EMA.
This indicator provides a visual indication of the current % away and also the ability to create alerts on preferred thresholds.
This indicator is provided as is without warranty.
Smoothed Wave ScalperThis one is a little different.
Instead of layering lots of indicators to filter noise, I'm instead using two different kinds of price averaging to smooth the candles and better define the direction. Just select a smoothing value that fits your chart and timeframe. In theory, this should remove a fair bit of noise (although nothing's perfect)
I've managed to determine when the candles change colour, signifying a potential new trend. When the candle colours do change, an alert is fired. It's as simple as that! Wyckoff wave volume analysis is then applied to each alert to validate the move. Further filtering can be achieved using heikin ashi candles if this is your preference.
Alerts are built in for both the candle colour change and the wave filtered signals (long/short). Use long/short for entries and the colour changes for exits.
I'm currently trading with linear regression to help indentify obvious channels and areas of support/resistance. The candles bouncing down off of the upper band can confirm a downward trend, and bouncing off of the lower band can signify an up trend. It's much easier to see with smoothed candles like these and can give you confidence when trading manually. These bands are rendered automatically, but aren't essential to taking a trade.
TWP Next Bar Close Countdown█ OVERVIEW
This script displays the time remaining for your charts current timeframe.period or a higher timeframe with the ability to create alerts that ping on the opening of the new bar that you have selected. It can be very easy to get bogged down in the charts when day trading on smaller timeframes and forgetting that it is the wave of longer timeframe traders that are setting the tone. This script was born out of this pitfall that I was noticing in my own trading.
█ CONCEPTS
The script uses a series of functions to get produce the time remaining and texts for the top and bottom rows within the table display.
█ FEATURES
1 — Resolution
• Auto / Manual selection
• There is tooltip explains how the automatic time selection operates (see below)
AUTO_TIMEFRAME_TOOLTIP = "When the Auto option is selected, the timeframe of the indicator is chosen automatically based on the chart timeframe. The Timeframe dropdown is ignored. The automated timeframes are: \n
'10 minutes' for any chart timeframes below '1 minute' \n
'1 hour' for any chart timeframes starting from '1 minute' up to '5 minutes'
'4 hours' for any chart timeframes starting from '5 minutes' up to '60 minutes' \n
'1 day' for any chart timeframes starting from '1 hour' up to '4 hours' \n
'1 week' for any chart timeframes starting from '4 hours' up to '1 day' \n
'1 month' for any timeframes starting from '1 day' up to '1 week' \n
'3 months' for any timeframes starting from '1 week' up to '1 month' \n
'12 months' for any timeframes above '1 month'"
2 — Text
• Size selection
• Color selection
3 — Display
• Frame color selection
• Display position selection
4 — Alerts
• Market session selection
█ HOW TO USE
• Add it to your chart, select your timeframe, change up your colors, and enjoy yourself
█ NOTES
• We have no control over when realtime updates occur. A realtime bar can open, and then no realtime updates can occur until the open of the next realtime bar. The time between updates can vary considerably. For more please check out Pine's execution model and bar states.
• As a reminder, I did make this script for myself so if you find that you are using a 2-hour alert or countdown the formatting for the words may not be succinct as they should be. We will write that loss off to my growing pine skills
█ LIMITATIONS
• You will not be able to retrieve the time from a timeframe smaller than what is currently selected for the chart.
Carpe Diem 2.0 [Alerts]Carpe Diem 2.0 Alerts, Still automating the original Carpe Diem scripts, now the V2 uses heavy Volume based filtering to help only trade in bullish markets,
Search for Carpe diem 2.0 to see backtest results
This Alerts script has been created to help with bot Automation allowing you to create custom alerts
This script has 10 variations built within it which are fitted for the coins differnt coinditions
The coins included are
DOGE/USDT 4H
XRP/USDT 4H
LINK/USDT 4H
MATIC/USDT 2H
SRM /USDT 6H
COTI/USDT 4H
DOT/USDT 3H
TRX /USDT 4H
RSR/USDT 4H
ATOM/USDT 4H
How to use the Indicator
You can change what plots are shown in the settings Cog, I toggle all plots off apart from the coin I am trading
When the Volume Average line is green, the market is up trending and will be looking for a trade whereas when they are red, the market is in a sideways or downtrend.
You can ignore the color of the line and just base the bullish / bearish bias based of the Volume line being above/below 0
The script is written in version 4
When you go to create an alert with this script you will see 20 options, 10 for opening longs on certain conis and then 10 to close them
This strategy performs best on the Binance listings
Bollinger Bands + RSI Alerts for 3commas/DCA botHey Folks !
This is in indicator that generates buy alerts combining Bollinger Bands and RSI.
RSI validates the BB signal by confirming we are not in an oversold area.
Interval: 3m to 15m
Recommended settings for 3commas DCA bot
- TP/TTP: 0.3%/0.1%,
- Base Order: Your choice ,
- Safety Order: 1.2 * Your choice of base order
- Safety Order Volume Scale: 1.2,
- Safety Order Step Scale: 1.5,
- Price Deviation to Open Safety Order (% from initial order): 0.25%,
- Max Safety Trades Count: 7
- DO NOT USE STOP LOSS
> Create Alert with Buy Alert and link it to "Message for deal start signal"
Ichimoku Basic AlertsStarted with Ichimoku Kinko Hyo by Mizuki32. Converted to study and added alerting and cloud confirmation.
RSI-VWAP Indicator %█ OVERALL
Simple and effective script that, as you already know, uses vwap as source of the rsi, and with good results as long as the market has no long-term downtrend.
RsiVwap = rsi (vwap (close), Length)
The default settings are for BTC in a 30 minute time frame. For other pairs and time frames you just have to play with the settings.
█ FEATURES
• The option to start trading from a certain date has been added.
• To make the profit more progressive, a percentage of your equity is used for entries and a percentage of your position is used for closings.
• The option to trade in Spot mode has been added, since, for the TradingView backtest, the money is infinite and if you do not limit it somehow,
it would offer you much better profits than the live trading.
QuantityOnLong = Spot ? (EquityPercent / 100) * ((strategy.equity / close) - strategy.position_size) : (EquityPercent / 100) * (strategy.equity / close)
• The option to stop the system when the drawdown exceeds the fixed limit has been added.
Drawdown, as you already know, is a very important measure of risk in trading systems.
The maximum drawdown will tell us what the maximum loss of a trading system has been during a period. This maximum loss is determined by:
strategy.risk.max_drawdown(Risk, strategy.percent_of_equity)
• Leverage plotted on labels added.
█ ALERTS
To enjoy the benefits of automatic trading, TradingView alerts can be used as direct buy-sell orders on spot, or long-close orders with leverage.
Currently there are Chrome extensions that act as a bridge between TradingView and your Exchange or Broker.
This is an example of syntax for this type of extensions. Copy and paste a message like this into the alert window:
{{strategy.order.action}} @ {{strategy.order.price}} | e = {{exchange}} a = account s = {{ticker}} b = {{strategy.order.action}} {{strategy.order.alert_message}}
█ NOTE
Certain Risks of Live Algorithmic Trading You Should Know:
• Backtesting cannot assure actual results.
• The relevant market might fail or behave unexpectedly.
• Your broker may experience failures in its infrastructure, fail to execute your orders in a correct or timely fashion or reject your orders.
• The system you use for generating trading orders, communicating those orders to your broker, and receiving queries and trading results from your broker may fail.
• Time lag at various point in live trading might cause unexpected behavior.
• The systems of third parties in addition to those of the provider from which we obtain various services, your broker, and the applicable securities market may fail or malfunction.
█ THANKS
Thanks to TradingView, its Pine code, its community and especially those Pine wizards who post their ideas that helps us to learn.
If the world is heading toward a equitable new world economic order, let's get rich first ...
Happy trading!
Hammer Long strategy with filtered and enforced alertsA Hammer Long strategy is a price pattern in candlestick charting that occurs when a security trades significantly lower than its opening, but rallies within the period to close near opening price. This pattern forms a hammer-shaped candlestick , in which the lower shadow is at least twice the size of the real body. The body of the candlestick represents the difference between the open and closing prices, while the shadow shows the high and low prices for the period.
Key takeaways:
Hammers have a small real body and a long lower shadow.
Hammers occur after a price decline.
The hammer candlestick shows sellers came into the market during the period but by the close the selling had been absorbed and buyers had pushed the price back to near the open.
The close can be above or below the open, although the close should be near the open in order for the real body to remain small.
The lower shadow should be at least two times the height of the real body.
Hammer candlesticks indicate a potential price reversal to the upside.
The strategy enhances standard Hammer pattern accuracy by clearing out market noises and manipulations from the indicator's triggers. Combination of Volume oscillator filter and Directional Movement Index (DMI) components values adjustments allows to detect only strong signals. The strategy is developed to forecast Long positions entries and exits. The strategy supports spot, futures, options and marginal trading exchanges. It works accurately with BTC, USD, USDT, ETH and BNB quote currencies. Best to use with 30 and 60 minutes timeframe charts. The strategy can be and should be configured for each particular asset. You can change filters and risk management settings to receive the most advanced accurate alerts
Advantages of this script:
1. Weak signals and market noises are filtered. This allows to receive only strong and confirmed alerts
2. Strategy can be easily configured in user interface for each particular asset
3. High performance. At the chart you can see examples of strategy entries and exits, you also can check strategy backtest for RENUSDT position:
Net profit: 26.95%
Percent profitable: 90%
Profit factor: 7.418
Duration of trade: 16 hours
How to use?
1. Apply indicator to the trading pair your are interested in at 30m or 60m timeframe chart
2. Configure the strategy: change filters values and risk management settings until Strategy tester shows good results according to mathematical expectation
3. Set up a TradingView alert to trigger when Hammer strategy conditions are met
4. Strategy will send alerts when to enter and when to exit positions
If you want to obtain access to the indicator please send us a personal message
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. :-)
HFT The Ultimate Trend BacktesterThis is a trend following based strategy developed by HFT Research.
It works on Stocks, Forex and Cryptocurrency markets
This indicator comes fine tuned out of the box. It works on best on 15min, 1 hour and 4 hour time frames. It provides 3 separate entries for each of the time frames, providing you 12 different entry options.
Each time frame has the following options to choose from
You can use 1 hour settings on 15min chart however, it may not work the best.
Moderate entry will give you the modest amount of trades with modest amount of risk
Aggressive entry will give you wild entries and lots of action, if you are willing to babysit the trades, it might be an option for you
Conservative entry are best for those who want to automate the strategy or for those that don't have the time to trade the alerts actively
The backtester assumes the following;
- 1000$ capital
- 0.06% commission based on binance
- 1% risk meaning 100% equity on cross leverage
- Backtest results are starting from 2020
MA Pull [VK] - alert version of vkscalperThis is the alert version of vkscalper
you will need to change the settings for different TF also try changing MA types
Ability to choose MA types
Ability to plot stop loss / take profit lines
simply select buy alert or sell alert for alerts
RSI Divergence Indicator (with alerts)Many have requested me for indicator version with alerts for the RSI Divergence strategy. Here is the one ...
Please note alert triggers in delay by number of bars defined in the settings. (same as strategy) ...
Bar color also changes when alert triggers ...
Yellow Bar shows BUY
Purple Bar shows EXIT ( Exit the Long position ... NO SHORTing )
On each Yellow Bar can be added to existing position
On each Purple Bar , exit partial position OR exit the whole position
Appreciate your feedback.
Warning
Use for education purpose only ...
UO CrossThis particular UO Cross is evolved into far more flexible and visually intuitive oscillator than previous versions.
After thorough experiments with the code of indicator, I came to new deductions on how to use it properly for random TF and made it simpler.
How to read a chart using UOX:
Before uptrend takes place, we see the both indicator levels moving towards green dotted line (40).
When green UO index passes below 40, it's an alert that the market is about to interact to new demand levels, coloring it blue for a potential reversal.
Once green UO index is moving up and crossing above green dotted line - the second signal of uptrend established.
Another strong sign of uptrend is when green UO index passes above red UO index, coloring the space in between 2 indicators greenish.
At this point of time, we can be more confident that the general movement of the price is headed upwards, although we might see some small corrections there.
During uptrend Green UO index will fluctuate above red UO index.
Both indices will rise, getting closer and closer to red dotted line, which psychologically would be the first signs of the reversal of the uptrend.
When you see green UO index passing above red dotted line 60, coloring orangish, that's a serious alert for upcoming reversal.
I'll once more remind you that at this point of time both UO indices are at overbought levels, def above 50.
You know the situation is serious when you witness red UO index being very close to red dotted line!
To confirm the signals for downtrend, you must see green UO index go down and passing below red dotted line.
Second confirmation of downtrend is when green UO index crosses below red UO index, and colors the space in between indices red.
With this indicator we can understand:
Condition of the market
Early signs and alerts for reversal
Signals of entry
Confirmations of those signals
Visualized mass psychology behind domination of bulls / bears
It would be much better if you combine it with volume-based indicators.
Good luck!
Multi Timeframe ADX and DI w/ AlertsThis script is based off the public DMI code and used to get a quick visual of trend and direction across 3 different timeframes. Alert conditions have been setup for trend changes to bull/bear for all 3 timeframes. This script is meant to pull together the concepts of multi-time frame indicators, custom functions, and custom alert conditions.
The primary instructions for this script was to find a version of the ADX Indicator and give it the same treatment as we did with the Heiken Ashi demo (displaying green/red/gray circles to indicate trend and direction) over a configurable time frame. Display a matrix of each timeframe and the corresponding directional color (green=bull, red=bear, gray=non-trending). Have it produce an alert when the state of indicator changes to either bull or bear.
G POINT OF TRADING ALERTSThis is an ALERT indicator to use with G POINT OF TRADING STRATEGY.
Click on alerts and you will see the name of the indicator and create a long and short condition alerts for the strategy.
Cyatophilum Bands Pro Trader V3 [ALERTSETUP]An Original Automated Strategy that can be used for Manual or Bot Trading, on any timeframe and market.
>> Presentation <<
This script comes with a Backtest Version
How it works
No, these are NOT Bollinger Bands..
The Cyatophilum Bands are an original formula that I created. You will probably never find it anywhere else.
Their behavior is the following:
When they are horizontal it means the trend is going sideways and they represent supports (lower band) and resistances (upper band).
When they are climbing or falling it means the trend is either bullish or bearish and they represent Trend Lines.
The strategy enters Long on a Bull Breakout and enters Short on a Bear Breakout.
The exits are triggered either on a Trend Reversal, a Stop Loss or a Take Profit.
FEATURES
Take Profit System
Stop Loss System
Show Net profit Line
More features here
Finding a profitable configuration is GUARANTEED
0. Choose your symbol and timeframe. Then add the Backtest version to your chart. If at any time you decide to change your timeframe, go back to step 1.
1. Open the strategy tester and look at the buy & hold line.
If it is mostly climbing (last value greater than 0) then it means we are in a bull market. You should then opt or a long only strategy.
If it is mostly dropping (last value lower than 0) then it means we are in a bear market. You should then opt or a short only strategy.
Note : This first step is really important. Trading against the market has very little chances to succeed.
2. Go into the Strategy Input Parameters:
check "Enable Long Results" and uncheck "Enable Short Results" if you are in a long only strategy.
check "Enable Short Results" and uncheck "Enable Long Results" if you are in a short only strategy.
3. Open the Strategy Tester and open the Strategy Properties.
We are going to find the base parameters for the Bands.
The "Bands Lookback" is the main parameter to configure for any strategy. It corresponds to how strong of a support and resistance the bands will behave. The lower the timeframe, the higher lookback you will need. It can move from 10 to 60. For example 60 is a good value for a 3 minute timeframe. Try different values, and look at the "net profit" value in the Overview tab of the Strategy Tester. Keep the Lookback value that shows the best net profit value.
Then play with the "Bands Smoothing" from 2 to 20 and keep the best net profit value.
The "Band Smoothing" is used to reduce noise.
Usually, the default value (10) is what gives the best results.
From this point you should already be able to have a profitable strategy (net profit>0), but we can improve it using the Stop Loss and the Take Profit feature.
4. To activate the Stop Loss feature, click on the "SECURITY" checkbox
You should see horizontal red lines appear.
A Long/short exit alert will be triggered if the price were to cross this line. (A red Xcross will appear)
Choose the Stop Loss percentage.
On top of that, you can enable the feature "Trailing Stop". It will make the red line follow the price, at a speed that you can configure with the "Trailing Speed" parameter.
Now, sometimes a stop is triggered and it was just a fakeout. You can enable "Re-entries after a stop" to avoid missing additional opportunities.
5. To activate the Take Profit feature, click on the "TAKE PROFIT" checkbox
You should see horizontal green lines appear.
A Long/short exit alert will be triggered if the price were to cross this line. (A flag will appear)
Choose the Take Profit percentage.
A low takeprofit will provide a safer strategy but can reduce potential profits.
A higher takeprofit will increase risk but can provide higher potential profits.
6. Money Management
You can configure the backtest according to your own money management.
Let's say you have 10 000 $ as initial capital and want to trade only 5%, set the Order Size to 5% of Equity.
You can increase net profit by increasing the order size but this is at your own risk.
How to create alerts explained here
Sample Uses Cases
Use it literally anywhere
This indicator can be used on any timeframe and market (not only cryptocurrencies).
About the Backtest below
The Net Profit (Gross profit - Gross loss) is calculated with a commission of 0.05% on each order.
No leverage used. This is a long strategy.
Each trade is made with 10 % of equity from an inital capital of 10 000$. The net profit can be bigger by increasing the % of equity but this a trader's rule to minimise the risk.
I am selling access to all my indicators on my website : blockchainfiesta.com
To get a 2 days free trial, just leave a comment , thanks !
Join my Discord for help, configurations, requests, etc. discord.gg
turtle indiok, so i got alerts to work with the indi.
- add the indi to a chart
- create a new alert, using the little red triangle next to the indi on the chart
- on condition, and on right drop menu, choose "alert"
- you'll see several options, play with them
TB! -=Old Fasion=- [ALERT]Good Old Fasion sma/rma trading done as it should be done!
Great for hedging
- Bitfinex
- Poloniex
- Bitmex
- Deribit
No repaint, no false alerts or any other kind of nonsense.
This the Alert version.
You can use it to send alerts to GunBot, Haasbot, Dragonbot, Trexen, Autoview or whatever makes you happy.
ASX300 Golden Cross stock alerts (A2M-ANZ)Golden Cross happens when the SMA50 crossover the SMA200, which usually signals profitable bullish trend and good buy entry. For example, for Aurelia Metals the Golden Cross buy signal had 250% buy and hold profit in about a year.
This indicator hunts for the Golden Cross of the first 20 stocks in the ASX300 (A2M to ANZ), once it it happens the indicator plots the name of the stock that had Golden cross which could be use as entry for that stock. As you can see various stocks were plotted in the chart, those had crossedover at the time of plotting.
Due to TradingView Pinescript limitations, only 20 stocks can be watched in one indicator. Therefore 15 Golden Cross indicators are required to watch the entire ASX300.
This can also be applied to crypto coins with some adjustments in the script, so you can be alerted of the Golden Cross in crypto coins and buy bullish coins.