Cari dalam skrip untuk "alert"
Two Bar Break Line Alerts R1.0 by JustUncleLThis indicator with default settings is designed for BINARY OPTIONS trading. The indicator can also be used for Forex trading with some setting changes. The script shows Two Bar Pullback Break lines and alerts when those Break lines are Touched (broken) creating a short term momentum entry condition.
For a Bullish Break (Green Up Arrow) to occur: first must have two (or three) consecutive bear (red) candles which is followed by a bull (green) candle creating a pivot point. The breakout occurs then the High of the current Bull (green) exceeds the highest point of the previous two (or three) pivotal bear candles. The green channel Line shows where the current Bullish BreakOut occurs.
For a Bearish Break (Red Down Arrow) to occur: first must have two (or three) consecutive bull (green) candles which is followed by a bear (red) candle creating a pivot point. The breakout occurs when the Low of the current Bear (red) drops below the lowest point of the previous two (or three) pivotal Bull candles. The red channel Line shows where the current Bearish BreakOut occurs.
The break Line Arrows can optionally be filtered by the Coloured MA (enabled by default), a longer term directional MA (disabled by default) and/or a MACD condition (enabled by default) as a momentum filter.
You can optionally select three Bar break lines instead of two. The three bar break lines are actually equivalent to Guppy's Three Bar Count Back Line method for trade entries (see Guppy's video reference below).
Included in this indicator is an ability to display some basic Binary Option statistics, when enabled (enabled by default) it shows Successful Bars in Yellow and failed Bars in Black and the last Nine numbers on the script title line represent the Binary option Statistics in order:
%ITM rate
Total orders
Successful Orders
Failed Orders
Total candles tested
Candles per Day
Trades per Day
Max Consecutive Wins
Max Consecutive Losses
You can start the Binary Option statistics from a specific Date, which is handy for checking more recent history.
HINTS:
BINARY OPTIONS trading: use 5min, 15m, 1hr or even Daily charts. Trade after the price touches one of the Breakout lines and the Arrow first appears. Wait for the price to come back from Break Line by 1 or 2 pips, the alert arrow must stay on and candle change to black, then take Binary trade expiry End of Candle. If price pull back and arrow turns off, don't trade this candle, move on you probably don't have momentum, there will be plenty of other trigger events. The backtesting results are good with ITM rates 65% to 72% on many currency pairs, commodities and indices. Realtime trading has confirmed the backtesting results and they could even be bettered, provided you are selective on which signals to trade (strong MACD support etc), that you are patient and disciplined to this trading method.
FOREX trading: the default settings should work with scalping. For longer term trades try with settings change to a more standard MACD filter or slower to catch the longer term momentum swings and the idea would be to trade the first Break Line alert that occurs after a decent Pullback in the direction of the trend. Setting the SL to just above/below the Pivot High/Low and set target to two or three times SL.
References:
"Fundamentals of Price Action Trading for Forex, Stocks, Options and Futures" video:
www.youtube.com
Other videos by "basecamptrading" on Naked Trading.
"Taking Profits in Today's Market by Daryl Guppy" video:
www.youtube.com
Ultimate Smoothed MA Turning PointsCompanion script to "Ultimate Smoothed MA" , details in that description.
Adapted from Chris Moody's "Ultimate Moving Average-Multi-TimeFrame-7 MA Types"
If you'd like to receive alerts on turning points, the conditions in line 96 and 97 can be used for alertcondition.
Heiken Ashi zero lag EMA v1.1 by JustUncleLI originally wrote this script earlier this year for my own use. This released version is an updated version of my original idea based on more recent script ideas. As always with my Alert scripts please do not trade the CALL/PUT indicators blindly, always analyse each position carefully. Always test indicator in DEMO mode first to see if it profitable for your trading style.
DESCRIPTION:
This Alert indicator utilizes the Heiken Ashi with non lag EMA was a scalping and intraday trading system
that has been adapted also for trading with binary options high/low. There is also included
filtering on MACD direction and trend direction as indicated by two MA: smoothed MA(11) and EMA(89).
The the Heiken Ashi candles are great as price action trending indicator, they shows smooth strong
and clear price fluctuations.
Financial Markets: any.
Optimsed settings for 1 min, 5 min and 15 min Time Frame;
Expiry time for Binary options High/Low 3-6 candles.
Indicators used in calculations:
- Exponential moving average, period 89
- Smoothed moving average, period 11
- Non lag EMA, period 20
- MACD 2 colour (13,26,9)
Generate Alerts use the following Trading Rules
Heiken Ashi with non lag dot
Trade only in direction of the trend.
UP trend moving average 11 period is above Exponential moving average 89 period,
Doun trend moving average 11 period is below Exponential moving average 89 period,
CALL Arrow appears when:
Trend UP SMA11>EMA89 (optionally disabled),
Non lag MA blue dot and blue background.
Heike ashi green color.
MACD 2 Colour histogram green bars (optional disabled).
PUT Arrow appears when:
Trend UP SMA11<EMA89 (optionally disabled),
Heike ashi red color.
Non lag MA red dot and red background.
MACD 2 colour histogram red bars (optionally disabled).
HINTS:
- Good positions occur when MACD crosses the Zero line.
- Switch between Heikin Ashi and Normal candles as part of your analysis of the price action.
- Large Heikin Ashi candles with small wicks in direction of trend are good strong trends.
Price Action Candles v0.3 by JustUncleLThis requested release includes an Alert condition, so an alarm can be created on selected Price Action bars. Also this version modifies the Doji calculation to be similar to an Harami, so now the description of the Doji's are:
- Bearish Doji (aka Bearish Harami) (Fuchsia Highlight above Bar):
A large body Bull (green) candle followed by a small or no body candle
with wicks top and bottom that are at least 60% of candle.
- Bullish Doji (aka Bullish Harami) (Fuchsia Highlight below Bar):
A large body Bear (red) candle followed by a small or no body candle
with wicks top and bottom that are at least 60% of candle.
The % wick size (default 60%) of the Doji and the size of previous candle (default 15 pips) can be modified in the script Format parameters.
This modified Doji is particularly useful when combined with Heikin Ashi candles.
When Alerts are selected, an alert dot is also displayed along the bottom of the chart.
Price Action Trading System v0.3 by JustUncleLThis is an updated and improved version of my "Price Action Trading strategy". I have added two extra optional filters, one is a trend direction filter based on the MACD slow EMA(17), blue line, and the other is a RSI(7) filter which works similarly to CCI(14) but slightly different dynamics (thank you to gianfranco60 for the suggestion). Also made a couple of corrections:
- input for lenLower minval=1 should be maxval=-1
- one bar pullback did not reset trigger, missing some alerts
Some Notes about usage:
- this is an alert indicator not a signal generator, each alert is a strong trend continuance candidate,
but should be treated on it's own merits by looking at chart dynamics and market conditions.
- will work well on trending markets only.
- works best on the first alert after MACD cross over.
- don't take trades when MACD and signal are close together.
- don't trade when channel and slow MA are flat or close together or
chopper (yellow and blue MA cross over quickly over short period).
IDKFAIDKFA - Advanced Order Blocks & Volume Profile with Market Structure Analysis
Why IDKFA?
Named after the legendary DOOM cheat code that gives players "all weapons and full ammo," IDKFA provides traders with a comprehensive arsenal of market analysis tools. Just as the cheat code arms players with everything needed for combat, this indicator equips traders with essential market structure tools: Order Blocks, Volume Profile, LVN/HVN areas, Fibonacci retracements, and intelligent buy/sell signals - all in one unified system.
Core Features
Order Blocks Detection
Automatically identifies institutional order blocks using pivot high/low analysis
Extends blocks dynamically until price interaction occurs
Bullish blocks (demand zones) and bearish blocks (supply zones)
Customizable opacity and extend functionality
Advanced Volume Profile
Real-time volume profile calculation for multiple session types
Point of Control (POC), Value Area High (VAH), and Value Area Low (VAL)
Mode 1: Side-by-side bull/bear volume display
Mode 2: Overlapped volume display with percentage analysis
Shows buying vs selling pressure at each price level
LVN/HVN Area Detection
Low Volume Nodes (LVN): Areas below VAL where price moves quickly
High Volume Nodes (HVN): Areas above VAH with strong resistance
NPOC (Naked Point of Control): Single print areas within Value Area
Volume-based gradient coloring shows relative activity levels
Smart Fibonacci Retracements
Auto-detects trend direction for proper fibonacci orientation
Dynamic color coding: Red levels in uptrends, Gold in downtrends
Special 88.6% level turns lime green in downtrends
Key levels: 23.6%, 38.2%, 50%, 61.8%, 65%, 78.6%, 88.6%
Intelligent Signal System
Works best on higher timeframes
Identifies high-probability reversal setups at key levels
Buy signals: Large bearish rejection followed by bullish reclaim
Sell signals: Large bullish rejection followed by bearish breakdown
Signals only trigger near significant support/resistance areas
Signal Analysis & Usage Guidelines
Buy Signal Mechanics
The buy signal triggers when:
Previous candle shows significant bearish movement (minimum ATR multiplier)
Current candle reclaims a configurable percentage of the previous candle's range
Price is near a key support level (order blocks, fibonacci, volume levels)
Sell Signal Mechanics
The sell signal triggers when:
Previous candle shows significant bullish movement (minimum ATR multiplier)
Current candle rejects below a configurable percentage of the previous candle's range
Price is near a key resistance level (order blocks, fibonacci, volume levels)
When to TAKE Signals
High Probability Buy Signals:
Signal appears AT or BELOW the VAL (Value Area Low)
Signal occurs at bullish order block confluence
Price is in LVN area below VAL (momentum acceleration zone)
Signal aligns with fibonacci 61.8% or 78.6% support
Multiple session POC levels provide support confluence
Previous session's VAL acting as current support
High Probability Sell Signals:
Signal appears AT or ABOVE the VAH (Value Area High)
Signal occurs at bearish order block confluence
Price is in HVN area above VAH (heavy resistance zone)
Signal aligns with fibonacci 61.8% or 78.6% resistance
Multiple session POC levels provide resistance confluence
Previous session's VAH acting as current resistance
When to AVOID Signals
Avoid Buy Signals When:
Signal appears ABOVE the VAH (buying into resistance)
Price is in HVN red zones (high volume resistance areas)
No clear support structure below current price
Volume profile shows heavy selling pressure (high bear percentages)
Signal occurs during low-volume periods between major sessions
Multiple bearish order blocks exist below current price
Avoid Sell Signals When:
Signal appears BELOW the VAL (selling into support)
Price is in LVN green zones (momentum could continue)
No clear resistance structure above current price
Volume profile shows heavy buying pressure (high bull percentages)
Signal occurs during Asian session ranges without clear direction
Multiple bullish order blocks exist above current price
Volume Profile Context for Signals
Understanding Bull/Bear Percentages:
70%+ Bull dominance at a level = Strong support expected
70%+ Bear dominance at a level = Strong resistance expected
50/50 Split = Neutral zone, less predictable
Use percentages to gauge conviction behind moves
POC (Point of Control) Interactions:
Signals above POC in uptrend = Higher probability
Signals below POC in downtrend = Higher probability
Signals against POC bias require extra confirmation
POC often acts as magnetic level for price return
Trading Strategies
Strategy 1: VAL/VAH Bounce Strategy
Wait for price to approach VAL (support) or VAH (resistance)
Look for signal confirmation at these critical levels
Enter with tight stops beyond the Value Area
Target opposite boundary or next session's levels
Strategy 2: Order Block + Volume Confluence
Identify order block alignment with VAL/VAH
Wait for signal within the confluence zone
Enter on signal with stop beyond order block
Use LVN areas as acceleration zones for targets
Strategy 3: LVN/HVN Strategy
LVN (Green) Areas: "Go Zones" - expect quick price movement through low volume
HVN (Red) Areas: "Stop Zones" - expect resistance and potential reversals
NPOC Areas: "Fill Zones" - price often returns to fill single print gaps
Strategy 4: Multi-Session Analysis
Use Daily/Weekly for major structure context
Use 4H for intermediate levels
Use 1H for precise entry timing
Ensure all timeframes align before taking signals
Strategy 5: Fibonacci + Volume Profile
Buy signals at 61.8% or 78.6% fibonacci near VAL
Sell signals at 61.8% or 78.6% fibonacci near VAH
Use 88.6% level as final support/resistance before major moves
50% level often aligns with POC for confluence
Signal Quality Assessment
Grade A Signals (Highest Probability):
Signal at VAL/VAH with order block confluence
Fibonacci level alignment (61.8%, 78.6%)
Volume profile shows 70%+ dominance in signal direction
Multiple timeframe structure alignment
Signal occurs during high-volume sessions (London/NY)
Grade B Signals (Moderate Probability):
Signal near POC with some confluence
Fibonacci 50% or 38.2% alignment
Mixed volume profile readings (50-70% dominance)
Some timeframe alignment present
Signal during overlap sessions
Grade C Signals (Lower Probability):
Signal with minimal confluence
Weak fibonacci alignment or none
Volume profile neutral or against signal
Conflicting timeframe signals
Signal during low-volume periods
Risk Management Guidelines
Position Sizing Based on Signal Quality:
Grade A: Standard position size
Grade B: Reduced position size (50-75%)
Grade C: Minimal position size (25%) or skip entirely
Stop Loss Placement:
Beyond order block boundaries
Outside Value Area (VAL/VAH)
Below/above fibonacci confluence levels
Account for session volatility ranges
Profit Targets:
First target: Opposite VAL/VAH boundary
Second target: Next session's key levels
Final target: Major order blocks or fibonacci extensions
Credits & Attribution
Original components derived from:
Market Sessions & Volume Profile by © Leviathan (Mozilla Public License 2.0)
Volume Profile elements inspired by @LonesomeTheBlue's volume profile script
Pivot Order Blocks by TradingWolf / © MensaTrader (Mozilla Public License 2.0)
Auto Fibonacci Retracement code (public domain)
Significant enhancements and modifications include:
Advanced LVN/HVN detection and visualization
Bull/Bear percentage analysis for Mode 2/3
Comprehensive alert system with market context
Integrated buy/sell signals at key levels
Performance optimizations and extended session support
Enhanced Mode 2/3 with percentage pressure analysis
Important Disclaimers
This indicator is a technical analysis tool designed for educational purposes. It does not provide financial advice, investment recommendations, or trading signals that guarantee profits. All trading involves substantial risk of loss, and past performance does not guarantee future results. Users should conduct their own research, understand the risks involved, and consider consulting with qualified financial advisors before making trading decisions. The signals and analysis provided are based on historical price patterns and volume data, which may not predict future market movements accurately.
Best Practices
Never trade signals blindly - always consider volume profile context
Wait for confluence between multiple tools before entering
Respect the Value Area - avoid buying above VAH or selling below VAL
Use session context - Asian ranges vs London/NY breakouts
Practice proper risk management - position size based on signal quality
Understand the bigger picture - use multiple timeframes for context
Remember: Like the IDKFA cheat code, having all the tools doesn't guarantee success. The key is learning to use them together effectively and understanding when NOT to take a signal is often more important than knowing when to take one.
Elliott Wave + Fib Levels w/Alerts [Enhanced]Elliott Wave + Fibonacci Levels with Alerts
This powerful TradingView indicator combines Elliott Wave detection with customizable Fibonacci retracement levels to help identify key price zones and potential trade opportunities. It automatically detects bullish and bearish waves based on recent highs and lows, with an optional EMA filter to improve trend accuracy.
Key features include:
Dynamic detection of Elliott Waves based on configurable wave length.
Visualization of Fibonacci retracement levels on detected waves, with customizable percentage levels and optional labels for clarity.
ATR-based automatic calculation of stop loss and take profit levels with adjustable multipliers.
Real-time alerts triggered on new wave formations, indicating bullish or bearish setups with precise entry price details.
Clean plotting of entry signals, stop loss, and take profit zones directly on the chart.
User-friendly input controls to tailor the indicator to your trading style, including options to toggle EMA filtering, Fibonacci level display, and alert activation.
Ideal for traders looking to combine classic wave analysis with Fibonacci support/resistance levels and actionable trade alerts, this indicator streamlines technical analysis and trade management in one easy-to-use tool.
Air Gap MTF with alert settingsWhat it shows:
This indicator will show a horizontal line at a price where each EMAs are on on different time frames, which will remove the effort of having to flick through different time frames or look at different chart.
The lines itself will move in real time as price moves and therefore as the EMA values changes so no need to manually adjustment the lines.
How to use it:
The price gap between each of the lines are known as "air gaps", which are essentially zones price can move with less resistance. Therefore bigger the airgap there is more likely more movement in price.
In other words, where lines are can be a resistance (or support) and can expect price stagnation or rejection.
On the chart it is clear to see lines are acting as resistances/supports.
Key settings:
The time frame are fixed to: 30min, 1hr and 4hr. This cannot be changed as of now.
EMA values for each time frame are user changeable in the settings, and up to 4 different values can be chosen for each time frame. Default is 5,12,34 and 50 for each timeframe.
Line colour, thickness and style can be user adjusted. Start point for where line will be drawn can be changed in the settings, either: start of day, user defined start or across the chart. In case of user defined scenario user can input a number that specifies a offset from current candle.
Label colour, font, alignment, text size and text itself can be user adjusted in the settings. Price can be also displayed if user chooses to do so. Position of label (offset from current candle) is user specified and can be adjusted by the user.
Both the lines and labels can be turned off (both and individually), for each lines.
Alert Settings:
Manually, user can set alerts for when price crosses a specific line.
This can be done by:
right click on any of line
choose first option (add alert on...)
On the second option under condition, use the dropdown menu to choose the desired EMA/timeframe to set alert for.
Hit "create" at bottom right of option
----------------------------------------------------------------------
If anything is not clear please let me know!
Volume Candle(alerts)This indicator highlights candles with unusually high trading volume by comparing the current volume to an EMA-based threshold. It helps identify significant volume spikes, which may indicate strong market movements.
Big Volume Detection
Compares the current volume to an EMA of past volume.
A candle is marked as "Big Volume" if the current volume exceeds the EMA by a specified multiple.
Color-Coded Candles
Big Volume & Bullish → Lime Green
Big Volume & Bearish → Red
Regular Bullish → Faded Lime (80% transparent)
Regular Bearish → Faded Red (80% transparent)
Alert System
Big Up or Down Volume → Triggers an alert when high volume occurs.
Big Up Volume → Triggers an alert for high-volume bullish candles.
Big Down Volume → Triggers an alert for high-volume bearish candles.
Customizable Settings
Period → EMA period for volume comparison (Default: 30)
Big Volume Multiple → Volume multiplier threshold for detection (Default: 3)
Use Cases
Spot unusual volume surges before major price moves
Confirm strong buying or selling pressure
Identify potential breakout zones
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.
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.
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.
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!
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. :-)
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.