EMA 200 Price Deviation AlertsThis script is written in Pine Script v5 and is designed to monitor the difference between the current price and its 200-period Exponential Moving Average (EMA). Here’s a quick summary:
200 EMA Calculation: It calculates the 200-period EMA of the closing prices.
Threshold Input: Users can set a threshold (default is 65) that determines when an alert should be triggered.
Price Difference Calculation: The script computes the absolute difference between the current price and the 200 EMA.
Alert Condition: If the price deviates from the 200 EMA by more than the specified threshold, an alert condition is activated.
Visual Aids: The 200 EMA is plotted on the chart for reference, and directional arrows are drawn:
A sell arrow appears above the bar when the price is above the EMA.
A buy arrow appears below the bar when the price is below the EMA.
This setup helps traders visually and programmatically identify significant price movements relative to a key moving average.
Komut dosyalarını "alert" için ara
Hammer and Shooting Star Alerts - FrmRisk2RichesThis custom Pine Script indicator helps traders identify potential reversal signals in the market by detecting the formation of Hammer and Shooting Star candlestick patterns on multiple timeframes. The indicator automatically analyzes the 1-minute, 5-minute, 15-minute, and 30-minute charts, alerting you when a Hammer or Shooting Star candle forms on any of these timeframes.
v01 remindersTrading requires focus, discipline, and sometimes a reminder to stay on track.
Many of us know how to take trades and make money - but sometimes struggle to hold on to the gains. By knowing not only when to trade, but also when NOT to trade, we can begin to build better habits.
I built this indicator for my own needs, but I hope this indicator can help someone save money by reminding them when to step away, size down or stay on track.
Inspired by trading psychologists like Mark Douglas, David Paul and others, I decided to make an indicator that deals with the mental aspect of trading.
Dr. David Paul said that you can be 10-15 trades away from the trader you want to be. All it takes is 10-15 trades of doing only the right thing (erasing bad habits). After that time the resistance to execute the trades properly will improve even more.
Good trading should be boring and repetitive. If the trading is exciting and varied it is likely unprofitable (more akin to impulsive gambling).
Perhaps you know how to trade, yet keep trading impulsively sometimes, getting "the itch" to trade or gambling with your gains? Set some reminders and see if you can build better habits. Over time it could make a difference.
You can enable up to 10 different reminders with each instance of the indicator. You can select days of the week and time of day. The visibility is fully customizable to suit any colour theme you may want. They dont actually alert - its a silent visual reminder, which is less intrusive and stays on screen for as long as you want.
Remind yourself when CPI releases or bond auctions are about to hit.
Don't get caught off guard by FED speakers or FOMC announcements.
Manage your emotions by writing a motivational reminder.
Build better habits and stay disciplined with reminders not to gamble.
Remind yourself to stay away from the markets when there is low liquidity, and trade during your best hours.
Wait for the market to establish balance and let the text show when to either wait or when to start trading.
Some basic inspiration:
"FOMC - No trading!"
"CPI Data - Expect Volatility"
"Markets closed tomorrow - Plan ahead"
"Take it slow, it's a marathon, not a sprint." - Dakota
"Wait for cheap risk" - HOAG
"Don't diddle in the middle!" - Brian Watts
You can of course write anything you want. Maybe you would like to remind yourself of a specific algo in crude oil or gold, or have other motivational reminders that work for you. If you have any good suggestions put them in the comments for others to use.
You can also use the script to watermark or put a web link on your charts. The indicator is empty by default - the image is just an example of the different types of labels it can show.
Customize the reminders for specific days, times, and events. Position them anywhere on your chart to suit your workflow. Whether you're a day trader or a long-term investor, theres always things to improve. This lets you keep those reminders right on your charts. You can go into the object tree settings and drag the indicator to the top if you want it to hide the candlesticks, and size up the text to really make it cover the chart for when to really stay away, as in the "FOMC" example in the image. The sample image shows a couple of different labels - but the script has no texts by default. It is up to you what to write and what colours to use. Please share it with others that may benefit.
You can add the script more than once if you need more than 10 alerts. You can also use it on multiple panels in TradingView, and it will remember the reminders for each panel. You can use spaces when positioning text in the top and bottom left corners of the screen, where there is sometimes a logo or ticker name obscuring the text. If two reminders display in the same location it will default to show the higher number of the two. Use specific times to change the reminders to make sure they dont overlap if they have the same position and put them on multiple charts if needed.
This script is dedicated to Brian Watts, who started something in me when he kept repeating "Don't diddle in the middle!" and "Where is purple?". IYKYK. I would like to thank him for the inspiration to better myself.
As above, so below.
v01
KillZones Hunt + Sessions [TradingFinder] Alert & Volume Ranges🟣 Introduction
🔵 Session
Financial markets are divided into various time segments, each with its own characteristics and activity levels. These segments are called sessions, and they are active at different times of the day.
The most important active sessions in financial markets are :
1. Asian Session
2. European Session
3. New York Session
The timing of these major sessions based on the UTC time zone is as follows :
1. Asian Session: 23:00 to 06:00
2. European Session: 07:00 to 16:30
3. New York Session: 13:00 to 22:00
Note
To avoid overlap between sessions and interference in kill zones, we have adjusted the session timings as follows :
• Asian Session: 23:00 to 06:00
• European Session: 07:00 to 14:25
• New York Session: 14:30 to 22:55
🔵 Kill Zones
Kill zones are parts of a session where trader activity is higher than usual. During these periods, trading volume increases and price fluctuations are more intense.
The timing of the major kill zones based on the UTC time zone is as follows :
• Asian Kill Zone: 23:00 to 03:55
• European Kill Zone: 07:00 to 09:55
• New York Morning Kill Zone: 14:30 to 16:55
• New York Evening Kill Zone: 19:30 to 20:55
This indicator focuses on tracking the kill zone and its range. For example, once a kill zone ends, the high and low formed during it remain unchanged.
If the price reaches the high or low of the kill zone while the session is still active, the corresponding line is not drawn any further. Based on this information, various strategies can be developed, and the most important ones are discussed below.
🟣 How to Use
There are three main ways to trade based on the kill zone :
• Kill Zone Hunt
• Breakout and Pullback to Kill Zone
• Trading in the Trend of the Kill Zone
🔵 Kill Zone Hunt
According to this strategy, once the kill zone ends and its high and low lines no longer change, if the price reaches one of these lines within the same session and is strongly rejected, a trade can be entered.
🔵 Breakout and Pullback to Kill Zone
According to this strategy, once the kill zone ends and its high and low lines no longer change, if the price breaks one of these lines strongly within the same session, a trade can be entered on the pullback to that level.
Trading in the Trend of the Kill Zone
We know that kill zones are areas where high-volume trading occurs and powerful trends form. Therefore, trades can be made in the direction of the trend. For example, when an upward trend dominates this area, you can enter a buy trade when the price reaches a demand order block.
🟣 Features
🔵 Alerts
You can set alerts to be notified when the price hits the high or low lines of the kill zone.
🔵 More Information
By enabling this feature, you can view information such as the time and trading volume within the kill zone. This allows you to compare the trading volume with the same period on the previous day or other kill zones.
🟣 Settings
Through the settings, you have access to the following options :
• Show or hide additional information
• Enable or disable alerts
• Show or hide sessions
• Show or hide kill zones
• Set preferred colors for displaying sessions
• Customize the time range of sessions
• Customize the time range of kill zones
Contrarian Donchian Channel Indicator with Alerts and VisualsTitle: Contrarian Donchian Channel Indicator with Alerts and Visuals
Description:
The Contrarian Donchian Channel Indicator is designed for traders who seek to implement a contrarian approach using the time-tested Donchian Channel method. This indicator not only signals potential entry points but also enhances trading visualization by marking hypothetical stop loss and take profit levels.
Key Features:
Donchian Channel Signals: Utilizes the Donchian Channel to identify potential reversal points in the market. The indicator generates buy signals when the price touches or breaches the lower band, suggesting a potential upward reversal. Conversely, sell signals are generated when the price touches or exceeds the upper band, indicating a possible downward reversal.
Pause After Stop Loss: Incorporates a unique feature that pauses signal generation for a user-defined number of candles after a stop loss is hit. This helps in avoiding immediate re-entries in volatile market conditions.
Stop Loss and Take Profit Visualization: For each signal, the indicator draws dashed lines on the chart to represent the hypothetical stop loss (red) and take profit (green) levels. These levels are calculated based on user-input percentages for stop loss and the risk-reward ratio.
Alerts for Entry Signals: Traders can set up alerts for buy and sell signals, allowing them to stay informed of potential trading opportunities.
How to Use:
Entry Signal: A triangle symbol (green for buy, red for sell) accompanied by an alert (if set) indicates a potential entry point.
Stop Loss and Take Profit Lines: Use the drawn lines as a guide for setting stop loss and take profit levels if the signal aligns with your trading strategy.
Pause Feature: After a stop loss is triggered, observe the pause period before considering new signals to avoid overtrading in choppy markets.
Suitable For:
Traders who prefer a contrarian approach.
Those who use Donchian Channels as part of their trading strategy.
Traders who appreciate visual aids for better decision-making.
Customization Options:
Length of the Donchian Channel.
Risk/Reward Ratio.
Stop Loss Percentage.
Pause duration after a stop loss is hit.
DISCLAIMER:
This indicator is intended for educational and informational purposes only and should not be construed as financial advice. Trade responsibly and always consider your risk tolerance and investment objectives.
BDL Range AlertAs soon as you call this indicator, it asks you to define the range. Select the bottom and the top of the range. Next, set your alarm. There are 3 alarm options:
1: Bottom of the range breakout
2: Top of the range breakout
3: Bottom or top of the range breakout
As soon as you close a candle outside the selected range, only then will the alarm be triggered.
Cold heart reversal with alertsThis will help you find reversal point pinpoint to its candle actually crossed the lowest or highest in the overbought and oversold zone (stochastic 9,3,3)
Various input parameters are defined . These inputs allow the user to customize the lookback period which is the number of candle before the low or high, Stochastic length.
User can also define their own high and low values that will plot on the chart.
It will be super convenient for traders who want confirmed price closed that is actually its significant point.
I used barstate confirmed in this code so you don't have to worry about repaint
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.
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
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.
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
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
Triple-CandleStick-Strategy (AKA : TCS)Triple Candlestick Strategy
An indicator that helps us to evaluate current and future possible price direction through the background colors. Green for bullish and Red for a bearish market. This indicator shoots signals either long or short depending on which direction the triple candlestick pattern is formed. Three candles up will fire a long signal while three candles down a short signal. The light-dark shaded background color with arrows (either up or down) is the new entry at the certain direction of the market for the chosen symbol (in our case AUDUSD). Useful for glance view of overall market sentiment and one can use alert features for getting aware of the situation.
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
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.
MACD Divergence [ALERTSETUP]A request I thought would be useful to code.
Very simple script that allows to create alerts on MACD divergences, based on @wanliyu script.
I also removed the security function to avoid repainting.
Red background is bearish divergence and green background is bullish divergence.
Enjoy !
Buy & Sell - BTCUSDT:BINANCE 2H by CyatophilumWith this script you can create Buy and Sell alerts to automate your trading.
Configured for BINANCE:BTCUSDT in 2H timeframe.
> > > READ HOW IT WORKS < < <
> > > HOW TO USE < < <
Get the indicator today !