OHMLC Lines - Present- Current OHMLC candles
- Show current Open, High, Mid, Low, Close candles levels
Candlestick analysis
KeitoFX Dynamic Indicator Free vers.This script represents a versatile dynamic indicator called "KeitoFX Dynamic Indicator Free version." It is developed by the author "KeitoFX" and operates as a custom indicator overlaying on financial charts. The indicator utilizes a unique algorithm to dynamically identify bullish and bearish candlestick patterns with specific criteria.
Key Features:
- The indicator visually marks bullish and bearish candlestick patterns using triangle shapes, providing quick visual cues to traders.
- Bullish patterns are detected when the closing price is higher than the opening price and the high and low prices of the candlestick form a narrow range.
- Bearish patterns are identified when the closing price is lower than the opening price, and the high and low prices also form a narrow range.
The indicator incorporates flexible settings that users can customize to fit their trading preferences:
- Users can choose the table's placement, either at the "Top Right," "Middle Right," or "Bottom Right" of the chart.
- Customizable dimensions for the width and height of the table are available.
- Adjustable text size settings ranging from "Auto" to "Huge" are provided for the displayed text.
- A descriptive table containing trading rules and conditions is optionally displayed below the price chart.
Additional Information:
- The indicator's color scheme is harmonious, with shades of purple and neutral tones.
- The "Require FVG" setting influences the pattern detection's sensitivity.
- A dynamic standard deviation is calculated based on the selected displacement settings and historical candle ranges.
- A "FVG" condition enhances pattern accuracy.
- Bullish and bearish pattern detection includes overlapping with other predefined arrays to increase pattern significance.
Note:
This indicator is provided under the Mozilla Public License 2.0, as indicated by the source code comment at the beginning of the script. Users are encouraged to review and comply with the license terms when using this indicator in their trading activities.
Piano Candle SetupPiano Candle Setup is a 3 and 4 Candle Combination Candle Setup.
It is a combination of the following 4 candle patterns:
1. The first set is a Green-Red-Green Setup
- Closing of the 3rd candle should be above the closing of the other 2 candles.
- The low of the first candle should not be breached by either candles
2. The second set is a Green-Red-Red-Green Setup
- Closing of the 4th candle should be above the closing of the other 3 candles
- 2nd and 3rd candles are red candles
- The low of the first candle should not be breached.
3. The third set is a Red-Green-Red Setup
- Closing of the 3rd candle should be below the closing of the other 2 candles
- The high of the first candle should not be breached by the other two candles
4. The fourth set is a Red-Green-Green-Red setup
- Closing of the 4th candle should be below the closing of the other 3 candles
- 2nd and 3rd candle are green candles
- The high of the first candle should not be breached.
The First two patterns help identify a strong bullish strength where the last candle indicates a strong buying bias by closing above it's previous candles. The Last two patterns help identify a strong bearish strength where the last candle indicates a strong selling bias by closing below it's previous candles. In live market the candlestick patterns tend to become white noise therefore this indicator helps overcome that problem.
The pattern works best in 5 minutes and above timeframes
HighLowBox+220MAs[libHTF]HighLowBox+220MAs
This is a sample script of libHTF to use HTF values without request.security().
import nazomobile/libHTFwoRS/1
HTF candles are calculated internally using 'GMT+3' from current TF candles by libHTF .
To calcurate Higher TF candles, please display many past bars at first.
The advantage and disadvantage is that the data can be generated at the current TF granularity.
Although the signal can be displayed more sensitively, plots such as MAs are not smooth.
In this script, assigned ➊,➋,➌,➍ for htf1,htf2,htf3,htf4.
HTF candles
Draw candles for HTF1-4 on the right edge of the chart. 2 candles for each HTF.
They are updated with every current TF bar update.
Left edge of HTF candles is located at the x-postion latest bar_index + offset.
DMI HTF
ADX/+DI/DI arrows(8lines) are shown each timeframes range.
Current TF's is located at left side of the HighLowBox.
HTF's are located at HighLowBox of HTF candles.
The top of HighLowBox is 100, The bottom of HighLowBox is 0.
HighLowBox HTF
Enclose in a square high and low range in each timeframe.
Shows price range and duration of each box.
In current timeframe, shows Fibonacci Scale inside(23.6%, 38.2%, 50.0%, 61.8%, 76.4%)/outside of each box.
Outside(161.8%,261.8,361.8%) would be shown as next target, if break top/bottom of each box.
In HTF, shows Fibonacci Level of the current price at latest box only.
Boxes:
1 for current timeframe.
4 for higher timeframes.(Steps of timeframe: 5, 15, 60, 240, D, W, M, 3M, 6M, Y)
HighLowBox TrendLine
Draw TrendLine for each HighLow Range. TrendLine is drawn between high and return high(or low and return low) of each HighLowBox.
Style of TrendLine is same as each HighLowBox.
HighLowBox RSI
RSI Signals are shown at the bottom(RSI<=30) or the top(RSI>=70) of HighLowBox in each timeframe.
RSI Signal is color coded by RSI9 and RSI14 in each timeframe.(current TF: ●, HTF1-4: ➊➋➌➍)
In case of RSI<=30, Location: bottom of the HighLowBox
white: only RSI9 is <=30
aqua: RSI9&RSI14; <=30 and RSI9RSI14
green: only RSI14 <=30
In case of RSI>=70, Location: top of the HighLowBox
white: only RSI9 is >=70
yellow: RSI9&RSI14; >=70 and RSI9>RSI14
orange: RSI9&RSI14; >=70 and RSI9=70
blue/green and orange/red could be a oversold/overbought sign.
20/200 MAs
Shows 20 and 200 MAs in each TFs(tfChart and 4 Higher).
TFs:
current TF
HTF1-4
MAs:
20SMA
20EMA
200SMA
200EMA
Trade size calculatorThis script will calculate recommended Trade Size based on your Risk appetite, Trading style and Current market volatility. Once you input “ RiskPerTrade ” amount, It automatically adjusts recommended Trade Size for changes in markets behavior. You have an option to select “ Long Term ”, “ Short Term ” & “ Intraday ” as your Trade Type. Your Rec Size (Trade Size) will be calculated and printed on you chart.
How it works:
It calculates recommended trade size using your accepted risk ( RiskPerTrade input) and instruments current average price range.
It uses different multipliers to adjust the trade size based on your Trade Type .
Intraday trades are assumed to be closed within the same trading session and therefore will have the highest recommended size.
Short Term trades assume the overnight risk added to the positions and recommend a lower size.
Long Term trades assume overnight & weekend risk added to the position and therefore recommend the smallest size.
Your Trade Size is the key to Risk Management. This Indicator is simple but powerful when used with a good Portfolio Management Strategy. Just add the indicator to your chart and configure its inputs as per your trade plan.
How to configure the Indicator
Input 1 - Add RiskPerTrade amount
Input 2 - Select your Trade Type
Input 3 - Add a negative number in BarsRight to position the label in the desired location of your screen.
Important Display Setting - “ BarsRight ” Input - If you CAN'T SEE the Yellow Label on the chart after you added the indicator, set this number to a large negative no. for example -200 and then adjust the number to get the label positioned where you would like. This happens due to various screen formats and resolutions.
Please note: This indicator is designed for Equities, Stocks or ETFs only. For users in markets not priced in US dollar, make sure your instrument’s price and your RiskPerTrade amount are in the same currency.
Inverse FVG with Rejections [TFO]This indicator is made to look for Inverse Fair Value Gaps (IFVGs) and show rejections from relevant areas. Fair Value Gaps (FVGs) are created when there is an energetic move that leaves a gap between the preceding and following candle's wicks. When that area is violated, we may consider that area as an Inverse FVG, treating it along the lines of a "support turned resistance" type setup with proper context.
Once a Fair Value Gap (FVG) is found with sufficient user-defined displacement, it is saved until price fully closes through that area, at which point it becomes an IFVG, which is also saved until price once again closes through that area.
Users can select a specific time period from which to look for and save FVGs, such as during the New York trading session in the following example.
Lastly, users can enable rejections that look for swing lows in bullish FVGs/IFVGs and swing highs in bearish FVGs/IFVGs. The following picture shows an instance of rejections from both regular and inverse FVGs, meaning the pivots were formed in a mutually shared area between a FVG and IFVG.
Custom EMA from X Days AgoThis is an indicator to plot the selected EMA value from X days ago on today's candle.
Or it will helps to plot the previous candle's EMA value on current candle.
Merovinh - Mean Reversion Lowest lowThe "Merovinh - Mean Reversion Lowest Low" strategy is a mean reversion trading approach that aims to identify potential reversal points based on the updated lowest low of the specified number of bars. This strategy focuses on the detection of bullish price movements. Works well on Tech giant's shares.
Strategy Overview:
The strategy detects the lowest low and highest high over a specified number of bars.
It uses a mean reversion concept where it expects the price to revert back towards the updated lowest low.
The strategy enters a long position when the current lowest low breaks the previous lowest low (based on the specified number of broken lows).
It closes the long position when the highest high breaks the previous highest high.
The strategy aims to capitalize on potential reversals in the market by buying at lower price levels and selling at higher price levels.
Strategy Parameters:
Minimum number of bars: Specifies the minimum number of bars considered for calculating the lowest low and highest high.
Number of broken lows: Determines the number of previous lows that need to be broken for entering a long position.
How It Works:
The strategy calculates the lowest low and highest high based on the specified number of bars.
It compares the current lowest low with the previous lowest low.
If the current lowest low breaks the previous lowest low (based on the specified number of broken lows), a long position is entered.
The strategy continuously updates the previous lows and highs.
It closes the long position if the highest high breaks the previous highest high.
MTF Break of Structure(BOS) & Market Structure Shift(MSS)Brief Introduction
Hello fellow traders and coders, let me introduce to you the ultimate multi time-frame market structure indicator to cater to all your market structure needs. The script is extremely customizable with a maximum of 3 time-frames since I love top down analysis as I’m sure you do to, so without wasting any more time here are the available features.
List of Features
A maximum of 3 time-frames that can all be customized independently.
The ability to change individual swing lengths that create the market structure plots, all time-frames will come set at 7, you can however set this to whatever you are comfortable with.
BOS (Break of Structure) and MSS (Market Structure Shift) functionality fo all the individual time-frames.
The option to show market structure in the form of HH (Higher highs), HL (Higher Lows), LL (Lower Lows) and LH(Lower Highs).
The ability to either use (highs and lows) or closes for breaks of structure and market structure shifts, meaning a break of structure will only be valid if either a high or close (depending on your chosen input) crosses above the previous high for a bullish structural break.
The ability to change lines types for BOS and MSS.
The ability to change text sizes for the all the plots.
The ability to change the colors for nearly anything on the chart independently of any other line or plot.
The ability to change any time-frame to the chart’s time-frame.
The ability to prevent lower time frame structure from showing on higher time frames which I don’t advice as it will provide you with an inaccurate perception of the lower time frame structure hence I’ve made the feature available but set it to false.
The script also has a section called general settings that will allow you to hide all the market structure plots as well as all the lines on the chart and on all time-frames using just one input.
General Settings Functionality.
Input 1 if true will hide all market structure if true
Input 2 if true will hide all structural breaks (BOS and MSS)
Input 3 if false will show lower time frame structure on a higher time frame. High advice using it while its true as I work on this feature as it provide an innacurate depiction of structure.
ODSR - Open Driven Support and Resistance LevelsODSR is a support and resistance levels generator indicator which uses Open of the Day, Week or Month (basis time frame selection by user) to calculate support and resistance levels and plot it on chart.
Background:
I have been using various indicators which could generate support and resistance levels using different data points available on chart. After analyzing multiple indicators I felt there is a need of an indicator which uses Open of the day, week or month as base data and then do further calculations and generate support and resistance levels.
Logic
This indicator takes open of day, week or month candle and then compare how far was the high and low from open. It then calculate the range and add it for analysis, it does same for all the candles declared in look back period of the indicator. Once it have all the data it calculates average difference of high and low from open price. It then compare how many times that average range has been exceeded by high or low made on specific day. If high or low has exceeded the average range it then calculate how by how many point new high or low has exceeded the average range. It then use that difference to predict next level of Support and Resistance. It then check if high or low has still exceeded the support or resistance range indicator predicted using points difference it found from when price exceeded initial average range. Indicator repeat the process till 7 levels of support and resistance has been generated by indicator.
Usage
As indicator use Open price data to generate support and resistance levels therefore once it has open price of the Day, Week or Month candle it will plot the levels on charts. Open price is plotted in thin black dot line, anything above it would be considered as resistance levels. Anything below dotted line would be considered as support levels. The far the level from open less possibility it will be tested by the price. Therefore if price breaks one level it may try to test next level or can return back to Open price as well.
Along with support and resistance indicator also calculate VWAP moving average which smoothen the normal VWAP line and allow use to identify long term trend on chart. Points table display the average difference between levels price has exceeded in past.
Please do share comments, feedback or questions if you have any. If you liked the indictor please do share it with others too.
Candles In Row (Expo)█ Overview
The Candles In Row (Expo) indicator is a powerful tool designed to track and visualize sequences of consecutive candlesticks in a price chart. Whether you're looking to gauge momentum or determine the prevailing trend, this indicator offers versatile functionality tailored to the needs of active traders. The Candles In Row indicator can be an integral part of a multi-timeframe trading strategy, allowing traders to understand market momentum, and set trading bias. By recognizing the patterns and likelihood of future price movements, traders can make more informed decisions and align their trades with the overall market direction.
█ How to use
The indicator enhances traders' understanding of the consecutive candle patterns, helping them to uncover trends and momentum. Consecutive candles in the same direction may indicate a strong trend. The Candles In Row indicator can be an essential tool for traders employing a multiple timeframes strategy.
Analyzing a Higher Timeframe:
Understanding Momentum: By analyzing consecutive green or red candles in a higher timeframe, traders can identify the prevailing momentum in the market. A series of green candles would suggest an upward trend, while a series of red candles would indicate a downward trend.
Predicting Next Candle: The indicator's predictive feature calculates the likelihood of the next candle being green or red based on historical patterns. This probability helps traders gauge the potential continuation of the trend.
Setting the Trading Bias: If the likelihood of the next candle being green is high, the trader may decide to focus on long (buy) opportunities. Conversely, if the likelihood of the next candle being red is high, the trader may look for short (sell) opportunities.
In this example, we are using the Heikin Ashi candles.
Moving to a Lower Timeframe:
Finding Entry Points: Once the trading bias is set based on the higher timeframe analysis, traders can switch to a lower timeframe to look for entry points in the direction of the bias. For example, if the higher timeframe suggests a high likelihood of a green candle, traders may look for buy opportunities in the lower timeframe.
Combining Timeframes for a Comprehensive Strategy:
Confirmation and Alignment: By analyzing the higher timeframe and confirming the direction in the lower timeframe, traders can ensure that they are trading in alignment with the broader trend.
Avoiding False Signals: By using a higher timeframe to set the trading bias and a lower timeframe to find entries, traders can avoid false signals and whipsaws that might be present in a single timeframe analysis.
█ Settings
Price Input Selection: Choose between regular open and close prices or Heikin Ashi candles as the basis for calculation.
Data Window Control: Decide between displaying the full data window or only the active data. You can also enable a counter that keeps track of the number of candles.
Alert Configuration: Set the desired number and color of consecutive candles that must occur in a row to trigger an alert.
Table Display Customization: Customize the location and size of the display table according to your preferences.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Boring Candles by BitcoinBailyBoring candlestick is a candlestick whose body is less than 50% of its total candlestick range, this candle is usually small in size.
This indicates that the price range between the open and close of this candle was relatively small, and that there was not a lot of volatility during that time period.
Heikin Ashi MTF Trend [Pt]█ Introduction
The Heikin Ashi MTF Trend indicator takes a simple approach to understand the trend by visualizing Heikin Ashi candle colors across multiple timeframes and representing it in a simple and visual manner. It utilizes the Heikin Ashi (HA) candles across four custom timeframes to detect trend shifts and strength. The indicator also offers alert conditions for potential bullish and bearish trend shifts.
█ Features
► Multiple Timeframes (MTF) Trend Detection: The script fetches HA data from four different timeframes. This multi-timeframe approach gives a holistic view of the market sentiment.
► Weighted Trend Score: The individual trend scores of the four timeframes are multiplied with their respective weights and summed up to provide a cumulative trend score that is used to determine bar colors and trend shifts.
► Visual Trend Depiction : It displays the trend using default green/red squares for each timeframe and a gradient-filled bar to represent the cumulative trend score.
► Trend Change Alerts: Users can set alerts for bullish and bearish trend shifts.
█ Alerts
◊ Bull Trend Signal Alert: Alert when there is a bullish trend shift.
◊ Bear Trend Signal Alert: Alert when there is a bearish trend shift.
█ Usage Tips
◊ The greater the discrepancy in the weights across the timeframes, the more emphasis is placed on the higher weighted timeframe.
◊ While the gradient bar provides a quick trend overview, it's essential to view the trend squares to understand the individual timeframe sentiments.
◊ Always consider using this tool in conjunction with other indicators or methods for confirmation and enhanced trading strategy.
Happy Trading~~
A.I Fibonacci [Paradox]Description:
The A.I fibonacci is a tool designed to assist traders in identifying potential price levels following a retracement. Unlike many other Fibonacci indicators available, this script is tailored to highlight the most crucial levels for entries, take profits, and stop losses.
Key Features:
Automatic Calculation: The script automatically calculates and plots Fibonacci extension levels based on the price movement and the highs and the lows on the chart.
Optimal Levels: It emphasizes the most relevant levels for making informed trading decisions, ensuring traders focus on what specific levels.
Versatility: Suitable for all markets, making it a versatile tool for traders across different asset classes.
User-Friendly: Designed with both novice and experienced traders in mind, the script is easy to use and interpret.
How It Stands Out:
While there are numerous Fibonacci tools available, the A.I Fibonacci is distinct in its approach. It not only calculates potential price reversal areas but also pinpoints possible price levels after a retracement is completed. This dual functionality ensures traders have a comprehensive view of the market.
How to Use:
Apply the script to your desired chart.
Observe the plotted Fibonacci levels.
Use these levels to determine potential entry, exit, and stop-loss points.
Green - Entry levels
Red - Stop Loss Levels
Yellow - Take Profit Levels
Applicability:
A.I Fibonacci is designed for all markets, making it a versatile tool for forex, stocks, commodities, and more.
Conditions for Use:
The script performs optimally under various market conditions. However, as with all technical tools, it's recommended to use it in conjunction with other indicators and analysis methods for best results.
Buy/Sell EMA CandleThis indicator is designed to display various technical indicators, candle patterns, and trend directions on a price chart. Let's break down the code and explain its different sections:
Exponential Moving Averages (EMA):
The code calculates and plots five EMAs of different lengths (13, 21, 55, 90, and 200) on the price chart. These EMAs are used to identify trends and potential crossovers.
Engulfing Candle Patterns:
The code identifies and highlights potential bullish and bearish engulfing candle patterns. It checks if the current candle's body size is larger than the combined body sizes of the previous and subsequent four candles. If this condition is met, it marks the pattern on the chart.
s3.tradingview.com
EMA Crossovers:
The code identifies and highlights points where the shorter EMA (ema1) crosses above or below the longer EMA (ema2). It plots circles to indicate these crossover points.
Candle Direction and RSI Trend:
The code determines the trend direction of the last candle based on whether it closed higher or lower than its open price. It also calculates the RSI (Relative Strength Index) and determines its trend direction (overbought, oversold, or neutral) based on predefined thresholds.
s3.tradingview.com
Table Display:
The code creates a table displaying trend directions for different timeframes (monthly, weekly, daily, 4-hour, and 1-hour) for candle direction and RSI trends. The trends are labeled with "L" for long, "S" for short, and "N/A" for not applicable.
High Volume Bars (HVB):
The code identifies and colors bars with above-average volume as either bullish or bearish based on whether the price closed higher or lower than it opened. The color and conditions for high volume bars can be customized.
s3.tradingview.com
Doji Candle Pattern:
The code identifies and marks doji candle patterns, where the open and close prices are very close to each other within a certain percentage of the candle's high-low range.
RSI-Based Candle Coloring:
The code adjusts the color of the candles based on the RSI value. If the RSI value is above the overbought threshold or below the oversold threshold, the candles are colored yellow.
Usage and Interpretation:
Traders can use this indicator to identify potential trend changes based on EMA crossovers and candle patterns like engulfing and doji.
The RSI trend direction can provide additional insight into potential overbought or oversold conditions.
High volume bars can indicate potential price reversals or continuation patterns.
The table provides an overview of trend directions on different timeframes for both candle direction and RSI trends.
Keep in mind that this is a complex indicator with multiple features. Users should carefully evaluate its performance and consider combining it with other indicators and analysis methods for more accurate trading decisions.
The table is designed to provide a consolidated view of trend directions and other indicators across multiple timeframes. It is displayed on the chart and organized into rows and columns. Each row corresponds to a specific aspect of analysis, and each column corresponds to a different timeframe.
Here's a breakdown of the components of the table:
Row 1: Separation.
Row 2 (Header Row): This row contains the headers for the columns. The headers represent the different timeframes being analyzed, such as Monthly (M), Weekly (W), Daily (D), 4-hour (4h), and 1-hour (1h).
Row 3 (Content Row): This row contains labels indicating the types of information being displayed in the columns. The labels include "T" for Trend, "C" for Current Candle, and "R" for RSI Trend.
Row 4 and Onwards: These rows display the actual data for each aspect of analysis across different timeframes.
For each aspect of analysis (Trend, Current Candle, RSI Trend), the corresponding rows display the following information:
Monthly (M): The trend direction for the given aspect on the monthly timeframe.
Weekly (W): The trend direction for the given aspect on the weekly timeframe.
Daily (D): The trend direction for the given aspect on the daily timeframe.
4-hour (4h): The trend direction for the given aspect on the 4-hour timeframe.
1-hour (1h): The trend direction for the given aspect on the 1-hour timeframe.
The trend directions are represented by labels such as "L" for Long, "S" for Short, or "N/A" for Not Applicable.
The table's purpose is to provide a quick overview of trend directions and related information across multiple timeframes, aiding traders in making informed decisions based on the analysis of trend changes and other indicators.
Market trend based on ema strengthThis script is a trading indicator written in Pine Script, a domain-specific language used for creating custom technical analysis indicators and strategies on the TradingView platform. Let's break down what this script is doing and its potential usage:
Title and Overlay:
The indicator is given a title: "Market trend based on ema strength."
The overlay=true parameter ensures that the indicator is plotted on the price chart itself, overlaying the price data.
EMA Calculations:
Exponential Moving Averages (EMAs) are calculated for different time periods based on the closing prices.
Degree of Change Calculation:
The degree of change is calculated as the percentage difference between the closing price and each respective EMAs.
Trend Identification:
The script attempts to identify uptrends and downtrends based on the comparison of degree of change values across the different EMAs. For an uptrend, each subsequent EMA's degree of change should be greater than the previous one, and for a downtrend, it should be lower.
EMA and RSI Calculation:
Additional EMAs and the Relative Strength Index (RSI) are calculated.
Buy and Sell Signal Generation:
Buy signals are generated when certain conditions are met: an uptrend is detected, the previous close is below the additional EMAs, and the current close is above the additional EMAs.
Sell signals are generated in the opposite scenario: a downtrend is detected, the previous close is above the additional EMAs, and the current close is below the additional EMAs.
Visualization:
The script uses plotshape to visually indicate buy and sell signals on the chart as labels.
The background color of the chart is changed based on the detected trend
Usage:
This indicator is designed to assist traders in identifying potential buy and sell signals based on trends in EMAs, RSI, and price movement. It provides a visual representation of trend changes and generates signals when certain conditions align, helping traders make informed decisions about entering or exiting positions.
It's important to note that while this script provides an automated approach to identifying trends and generating signals, successful trading also requires a deep understanding of the market, risk management, and the application of multiple indicators and strategies. Traders should thoroughly backtest and validate any trading strategy before applying it in real trading scenarios.