Multimarket Direction indicatorTrendline trading with resistant and support made by me.
Im bad coder and just jump into the tradingview pine script 1 days before so please don't hates me
- I don't know why my script is ded before lol
Signals to trade up
1. The big candles up cross the ema200 (last 5 candles for confirmation)
2. Wait for showing the up triangle.
3. Lookup the resistant/support line. If near the resistant please consider to wait if it break then join the trade
4. Only out trade when it has a down triagle or the candles has big down candles at the resistant/support line.
That it...
Candlestick analysis
HDBhagat multi time frame box analysis
Title: Multi-Timeframe Box Analysis Indicator
Description:
The Multi-Timeframe Box Analysis Indicator is a powerful tool designed for use on the TradingView platform. It provides a visual representation of price movements across multiple timeframes, allowing traders to gain insights into potential trend changes and key support/resistance levels.
Key Features:
Multi-Timeframe Analysis: The indicator analyzes price data across different timeframes (1W, 1D, 4H, and 1H) simultaneously, providing a comprehensive view of market trends.
Box Visualization: The indicator represents price movements within each timeframe as colored boxes. Green boxes indicate bullish price action, while red boxes represent bearish movements.
Customizable Settings: Traders can easily adjust the input parameters to suit their specific trading preferences, including timeframe selection and box appearance settings.
Historical and Real-Time Updates: The indicator updates in real-time, ensuring that traders have access to the latest information. It also accounts for historical data to provide context for past price movements.
How to Use:
Apply the Multi-Timeframe Box Analysis Indicator to your TradingView chart.
Customize the indicator settings according to your preferred timeframes and visual preferences.
Observe the boxes on the chart to identify trends, potential reversals, and key support/resistance levels.
Use the information provided by the indicator to make informed trading decisions.
Disclaimer:
This indicator is a visual representation of historical and real-time price movements and is intended for informational purposes only. It does not guarantee future performance or trading success. Traders should conduct their own analysis and consider additional factors before making any trading decisions.
Note: Past performance is not indicative of future results. Always use proper risk management and consider consulting a financial advisor before making any trading decisions.
Entry Assistant & News AlertIntention Of This Indicator
This indicator is intended to be used as an assistant in combination with a technical strategy.
This indicator has several functions intended to assist you at entering positions.
This indicator is intended to be used with strategies that place Stop Losses above / below candles, and entries at the BOC ( Break Of The Previous Candle , For Longs it is when price goes above the previous candles high, For Shorts it is when price goes below the previous candles low)
This indicator allows you to enter daily news release times, and it will warn you before and after that news release time ( to help you stay out of trading news )
This indicator Draw / Displays the following
A line below ( for Longs ) / above ( for Shorts ) the current candle, with an additional pip value for extra space ( this displays where to place your Stop Loss )
A label displaying the price of the Stop Loss line, to assist in placing the Stop Loss
A line displaying where the BOC is ( based off of going Long or going Short )
A box that appears when the BOC has occurred ( entry signal )
A line displaying where the news release is going to happen ( only according to your time input settings )
A box that surrounds the news release ( only according to your time input settings )
A table in the bottom right corner that shows you when there is Active News ( only according to your time input settings )
Inputs
Inputs to change the aesthetics ( colours etc. )
Numeric inputs to modify the placement / spacing of the Stop Loss / Entry signal / News
Toggles to activate or deactivate features
Disclaimer
This indicator does not guaranteed to work for every instrument ( always test before use! )
It is not at all intended to be a signal indicator on its own, but rather only to give a signal when used with specific technical strategies that us BOC entries.
This indicator is not guaranteed to be accurate, or error free.
This indicator is not signalling winning entries or high probability entries.
You must manually enter the news time inputs, this indicator does not automatically show you when there is a news release
This is a combination indicator of my Entry Assistant and my News Alert indicator, both can be found and used separately.
[dharmatech] : Toggle Monthly CandlesThis indicator allows you to only show specific monthly candles.
It's designed to be used with the monthly interval.
The settings allow you specify which months to show.
By default, it only shows January.
In this example screenshot, Nov and Dec are shown.
Top/Bottom DetectorThis indicator tries to detect tops and bottoms based on time and price. It counts candles using a simple criteria in both bullish and bearish directions. The count is added by 1 for each consecutive candle that matches this criteria. When a candle doesn't match the criteria the count is broken and will start over. A top or bottom is detected when the count reaches its maximum and is plotted on the chart as a red arrow (top) or a green arrow (bottom). Be aware that a top or bottom can be extended for several time periods and is broken only when the criteria no longer matches. Depending on your trading strategy, it can be advised to wait for the top/bottom to be broken before entering the trade.
How it works
The bullish count compares current candle with a candle X periods in the past. If the current candle price is higher than the past candle it matches and the count is added by 1. The bearish count works in the same way as the bullish count except that it matches if the current candle price is lower than the past candle instead of higher. The default parameters is to compare current candle close with the candle close 4 periods in the past, using a count of 9 as the maximum that detects a top or bottom. These values can all be adjusted in the settings.
Multi Timeframe Table
The multi timeframe table is visible by default in the top right corner. It gives some insight in what the count is for the current ticker in different timeframes. A bullish count will color the cell green and a bearish count red. Note that only timeframes higher or equal to what is used on the chart can be displayed. Any lower timeframes in the table will be grayed out and show the text N/A.
Alerts
Alerts can be setup when a bottom or top is detected. Using the "Any alert() function call" condition will alert both bottoms and tops.
Consecutive Higher/Lower ClosingsThe Consecutive Higher/Lower Closings indicator is a powerful tool designed to assist traders in identifying potential buy and sell signals based on consecutive higher or lower closing prices. This indicator provides users with the flexibility to specify the number of consecutive higher or lower closings required to trigger a signal, allowing for a customizable trading strategy.
Key Features:
Customizable Parameters: Users can define the number of consecutive higher and lower closings needed to generate buy and sell signals, providing a tailored approach to trading.
Clear Buy and Sell Signals: The indicator plots clear buy and sell signals directly on the chart, making it easy for traders to identify potential entry and exit points.
Usage:
Consecutive Higher Closings (Buy Signal): When the current closing price is higher than the previous closing price for the specified number of consecutive periods (as defined by the user), a buy signal will be generated.
Consecutive Lower Closings (Sell Signal): When the current closing price is lower than the previous closing price for the specified number of consecutive periods (as defined by the user), a sell signal will be generated.
How to Use:
Apply the Consecutive Higher/Lower Closings indicator to your chart.
Adjust the input parameters, consecutiveHigherClosings and consecutiveLowerClosings, to match your preferred trading strategy. These parameters determine the number of consecutive higher and lower closings needed to trigger signals.
Interpret the buy and sell signals generated by the indicator. When a buy signal is displayed (green triangle up), it suggests a potential entry point. Conversely, a sell signal (red triangle down) indicates a potential exit point.
Important Note:
This indicator is designed to assist traders in making informed decisions, but it should be used in conjunction with other technical analysis tools and risk management strategies for a comprehensive trading approach.
Kindly be aware that this strategy is most effective with Monster stocks with smooth price action, particularly when analyzing in weekly and/or daily timeframe.
Disclaimer:
Trading involves risk, and past performance does not guarantee future results. Always conduct thorough research and consider your risk tolerance before making trading decisions.
The Ultimate Buy and Sell IndicatorThis indicator should be used in conjunction with a solid risk management strategy that does not over-leverage positions and uses stop-losses. You can not rely 100% on the signals provided by this indicator (or any other for that matter).
With that said, this indicator can provide some excellent signals.
It has been designed with a large number of customization options intended for advanced traders, but you do not HAVE to be an advanced user to simply use the indicator. I have tried to make it easy to understand, and this section will provide you with a better understanding of how to use it.
NOTE:
While NOT REQUIRED, I would recommend also finding my indicator called, "Ultimate RSI", which is designed to work together with this indicator (visually). They both contain the same settings and allow you to visualize changes made in this indicator that can not be displayed on the main chart.
This indicator creates it's own candles(bars), so you have to go into your main settings and turn off the "body, border and wick" color settings. Using a dark background is also recommended.
How does it work?
The indicator mainly relies on the RSI indicator with Bollinger Bands for signals. (Though not entirely)
First, there are something that I call "Watch Signals", which are various Bollinger Band crossing events. This could be the price crossing Bollinger Bands or the RSI crossing Bollinger Bands.
There are separate watch signals for buys and sells. Buy watch signals are colored orange to match the BUY signal candle color and Fuchsia (kind of a bright purple) to match SELL signal candles.
In order for most buy or sell signals to be created, there must first be a watch signal. There is a lookback period (or length) for watch signals to be used, and after that many candles (bars) have passed, they will be ignored. You can set a length to look back as well as a time to wait before creating any.
What this means is that if there has previously been (for instance) a sell signal. You can tell it to wait 10 bars before creating any buy watch signals. You can then also tell it that it should look back 10 bars from the current one in order to find any buy watch signals. This means that if you had it set up that way 10 to wait and 10 to validate, it would start allowing buy watch signals 11 bars after a sell, and then once you hit 20 bars, it will start leaving a gap (invisible to you) as the 10 bar lookback period starts moving forward with each new bar. This is useful in order to keep signals more spaced apart as some bad signals come quickly after another one.
Example: You may get a sell signal where the Bollinger bands are tight, then the price easily drops down into the lower band creating a buy watch signal, then you get a "fake" or short pump up and it says buy, but then drops dramatically afterwards. The wait period can ensure that the sell stays in effect longer before a buy is considered by blocking any buy watch signals for a period of time.
After you get a watch signal, the system then looks for various other things to happen to create buy or sell signals. This could be the RSI crossing the (slow) RSI Basis line (from its Bollinger bands), it could be the price crossing its basis line, it could be MACD crosses, it could even be RSI crossing certain levels. All of these are options. If you like the MACD strategy and want it to give you buy and sell signals from just MACD crosses, simply select that option for signals.
It is also able to use the first of any of the options that takes place.
I included an option to force alternating buy and sell signals, rather than showing groups of, or subsequent buy, buy, buy signals, for instance.
Moving on....
You can change the moving average that is used to calculate the RSI. The standard moving average for RSI is the RMA (aka SWMA). Changes to this can dramatically change your signals. You also have the option to change the moving average type used in the Bollinger bands calculation. You can change the length of these as well. The same goes for the Bollinger bands over the Price chart. I added an ATR option for the RSI Bollinger bands to play with, as well. You are able to adjust the standard deviation (multiplier) of the bands as well, which will of course affect the signals.
The ways you can play with signals are nearly infinite, so have fun figuring it out.
The indicator allows for moving averages to be shown as well, with a variety of types to choose from. The standard numbers are 5, 10, 20, 50, 100 and 200, with the addition of a custom moving average of your choice. You can also change the color of this one. You can choose to show them all or any of them you want to show, in any combination, although the TYPE of moving average (SMA, EMA, WMA, etc.) will apply to all of them.
You may also notice the Bollinger Bands over the Price are colored, and become more or less transparent.
The color is derived from the trend of the RSI or the RSI basis (your choice). It looks back at the value however many bars you want and compares the values and that's how it determines if it is trending up or down. Since RSI is a directional momentum indicator, this can be quite useful. If you see the bands are getting darker, this will explain why.
The indicator has a lookback period for determining the widest the bands (which measure volatility) have been over that period of time. This is the baseline. It then will make the bands disappear (by making them more transparent) if the volatility is low. This indicates that a change in volatility is coming and that price isn't really changing much compared to the past (default 500) bars. If they become bright, this is because price has started trending in a direction and volatility is increasing.
I should also note that the candles are colored based on RSI levels.
If you use the Ultimate Companion indicator, you will be able to see the RSI levels (zones) that the colors are based on. As RSI moves into a new range, the candle color will change.
I have created a yellow zone where the candles turn yellow. This is when RSI is between (default) 45 and 55, indicating there is basically no momentum and price is going sideways. This is a good place to get trapped in bad trades, and there is a Yellow RSI Filter to block signals in this area to keep you from entering bad trades.
Green candles indicate values over 55 (getting brighter as RSI rises) and red candles are RSI values under 45 (getting brighter as RSI values get lower). If you see white, this means RSI is either over 80 or under 20. A sharp reversal is almost always imminent at this stage.
When we talk about Buy and Sell Signals, they draw a green or red triangle and it literally says BUY or SELL. There is an option to color the background for added visibility. These signals do not "repaint", what this means is that they can be late. To account for this, I have included a background color that will flash as a warning that a buy or sell could be imminent, although it may fail to break through and set a buy or sell signal. This is simply an advanced warning. The reason is that sometimes a candle may be very large and you won't be told to buy or sell during the candle until the move is completely over and now you're getting in on the next one. That's not a great feeling, so I made it repaint the background color and not repaint the completed signal. You get the best of both worlds.
This indicator also uses complex logic to handle things.
When there is a buy signal, it enters into a state of having been bought, or a "bought state". The same for sells. If Force alternating signals is off, you could have more than one buy in a bought state, or more than one sell in a sell state. There is an option to color the background green during the full duration of a bought state, or red during the full duration of a sold state.
I have added divergence.
This shows that the lows or highs of RSI and PRICE are different. If RSI is making higher highs but the price is not, then the price is likely to follow this bullish divergence, if the opposite happens, it's bearish. It will draw a line on the chart connecting the highs and lows and call it bearish or bullish. You can adjust this as well.
I have an RSI High/Low filter. If the RSI basis (or average) is very high or low, you can block signal from this area since the price is likely to continue in that direction before actually reversing.
You can change the settings of the MACD if you choose to use it for signals, and if you want to see it, you'll have to run that indicator below the chart and match the settings to see what is going on, just like the RSI.
Going back to Watch Signals. You can also choose to require more than one watch signal if you choose. You can skip watch signals, so it will ignore the first or second one, whatever you want to do. You can color the background to show you where watch signals have been skipped.
Regarding the wait period for creating watch signals after a sell or after a buy, you can also color the background to see where these were blocked by the wait period.
Lastly you can choose which type of watch signals to use, or keep them from being shown on the chart. This allows you to study the history of how the asset you are trading behaves and customize the behavior of signals based on your study of it.
Everything in the settings area has tooltips, which will explain what that thing does to help you along this journey.
I hope this indicator (and perhaps Ultimate RSI alongside this) will help you take your trading to the next level.
Volume SentimentIn 1994 Tushar Chande and Stanley Kroll published a epic book of modern trading indicators called "The New Technical Trader". I highly recommend it. Two indicators that stood out was the Market Thrust and Thrust Oscillator. They suggested these as alternatives to the Arms Index. Rather than using the Advancing Stocks and their associated volume, I applied their logic to individual bars.
Bar Sentiment can be defined and the difference between the low and the close relative to the bar width. Smaller values are bearish and larger one are bullish. A bullish candle would close above its mid-point. Conversely, a close below the candle mid-point is considered bearish.
With that, this script sums the bullish or bearish (as defined above) volume over a user defined number of bars. It gives a unique indication of the volume compared to typical volume indicators. It also gives the user the option to set a "High Volume" alert when the total volume is greater than the moving average. This is helpful for identify increasing activity in your security.
Enjoy and happy trading!
WP_MMThis indicator is set with 3 EMA's:
- EMA9
- EMA20
- EMA50
When EMA9 is up to EMA20 and:
- the distance between them is up to 30 ticks
- both is directional ( diff between current ema and last ema is up to 15 ticks )
the range will be painted in green. And if the EMA 9 is below EMA20 and
the same rules above is true, rthe range will be painted in red
Strengh Candle:
- Candle without huge shadow
- If is bearish minium down shadow
- if is bullish minimum up shadow
OBS: More info inside code comments
TICK Extreme Zones Indicator OverlayOverview :
The TICK Extreme Zones Indicator Overlay is designed to gauge the overall market trend using the TICK index. By determining the number of bullish (values above 0) and bearish (values below 0) TICK closes within a user-specified lookback period, it provides an insight into the prevailing market sentiment. This insight can be beneficial for traders looking to identify potential entry or exit points based on the market's strength or weakness.
Key Features :
Lookback Period : This is a user-defined time frame in minutes. The indicator counts the number of bullish and bearish TICK closes within this period.
Market Trend Label : Based on the TICK values, the indicator determines if the market is:
Uptrending: Majority of TICK values are positive.
Downtrending: Majority are negative.
Neutral/Rangebound: Equal positive and negative closes.
Zones : These represent certain threshold levels in the TICK values.
Positive Zones:
Dark Blue: 1000
Light Blue: 800 & 600
Negative Zones:
Red: -1000
Yellow: -800 & -600
Touch Detection Method : Detects intraday touches and can be toggled on/off based on the user's preference.
Usage Guidelines :
Trending Market :
In a trending market, the TICK index can remain consistently above or below zero.
For a market moving upwards, it's advisable to consider entering a trade when the indicator returns to zero instead of waiting for it to return to -1000.
Using Exponential Moving Averages (EMAs) can provide additional confirmation of the trend.
Rangebound Market :
For sideways markets, consider initiating a long position when the TICK index goes below -1000 and exit the position when the index reaches +1000.
It's beneficial to pair these readings with significant support and resistance levels to make more informed trading decisions.
Divergence :
Divergence between the TICK index and price can be a good measure of the underlying market strength.
If a stock's price is making lower lows, but the TICK index is making higher lows, it might indicate weakening selling momentum.
Notes:
- Always use this indicator in conjunction with other technical analysis tools.
- Proper risk management practices are crucial when using any trading tool or strategy.
Candle volume analysis The indicator is designed for traders who are more interested in market structures and price action using volumes. Volume analysis can help traders build a clearer understanding of zones of buyer and seller interest, as well as places to capture liquidity (traders' stop levels).
Key Features:
The indicator highlights candle volumes in selected colors, where the volume is greater individually than the volumes of the trader's chosen number of preceding candles. Or the volume that is greater than the sum of volumes of the trader's chosen number of preceding candles.
Trend Pinbar PT49 by CuancuanIdea Behind:
Buying the short-term trend that shows a pin-bar candlestick pattern. Meant to be traded on a daily chart / higher timeframe.
To determine the short-term trend we use short EMA such as 8-16-30 and check the slope of each one, and definitely, the shorter one must be above the longer one for an uptrend. Vice versa for a downtrend.
To determine a pin-bar candlestick, I calculate that the body size (open to close) is at maximum a-third of the candle size (high to low). Besides that, I ensure that the close of the candle is above the shortest MA for bullish and below it for bearish.
As extra filters to reduce trade numbers:
1. Longer MA Filter = You can turn it off if you think the higher timeframe filter is unnecessary.
2. Slope Filter = To ensure the slope of the shorter MA is steeper rather than the mid-MA.
3. Size Filter = To check whether the overall candle size (high to low) is bigger than the ATR number. When the size filter is turned on, it removes small insignificant candles.
PS: Don't trade anything live unless you find it comfortable after backtesting it by yourself .
Previous Day High and Low + Separators Daily/WeeklyPrevious Day High and Low + Separators Daily/Weekly is an indicator based on separators of days and weeks and at the same time points out the previous highs and lows, everything is marked by lines, it consists of creating a clean graph and separated by the different trading days, referring to the extreme points created the previous day.
USEAGE
Point to each day of the week at the top of the chart to get a time location in your trading week and day sparation determined by 00:00 of any timezone.
The reference of the previous day's higs and LOWS is vitally important to understand which direction is most likely for the next day, either continuation or reversal.
DETAILS
As you can see you will be able to adapt these lines according to your chart design and with the desired intensity of appearance.
SETTINGS
UTC OFFSET: Determine your TIMEZONE in this section.
DAILY SEPARATOR: You have the option to change the color, style, width and text color.
WEEKLY SEPARATOR: You have the option to change the color, style, width and text color.
PREVIOUS HIGS & LOWS: You have the option to change the color, style, width and text color.
2Rsi buy & sell & candlesticks patterns in rsi[Trader's Journal]An Ingenious Trading Indicator: RSI, Japanese Candlesticks, and Buy/Sell Signals
The world of trading is a subtle game of analysis, where the smallest piece of information can make the difference between success and failure. In this perpetual quest to anticipate market movements, one indicator stands out: the Relative Strength Index (RSI), a powerful tool that measures the strength of price movements. However, RSI alone may not always suffice for informed trading decisions.
This is where our indicator comes into play, adding a new dimension to your analysis. The indicator skillfully combines RSI with Japanese candlesticks, those small candles rich in market movement information. The goal is clear: to generate buy and sell signals during trend reversals while keeping a keen eye on overbought and oversold zones.
RSI: Guardian of Extremes
The RSI is a basic tool that measures buying and selling pressure on an asset. It oscillates between 0 and 100, signaling overbought levels when the RSI exceeds 70 and oversold levels below 30. These extreme zones are often the stage for trend reversals, but timing is crucial.
Japanese Candlesticks: Messengers of the Market
Japanese candlesticks are more than just candles on a chart. They depict market emotions, reflecting the ongoing struggle between buyers and sellers. Trend reversals are typically heralded by specific candlestick patterns such as the Bearish Engulfing, Evening Star, or Inverted Hammer. These candlesticks act as powerful visual signals.
The Indicator in Action: Timing and Confirmation
When the RSI reaches the overbought zone (above 70) or oversold zone (below 30), our indicator is on alert. This is when vigilance is at its peak. However, buy and sell signals don't occur automatically. They await confirmation from Japanese candlesticks.
For a sell signal, the indicator awaits an exit from the overbought zone, followed by a bearish reversal candlestick. When these conditions are met, the sell signal is triggered. For a buy signal, the process is similar, but upon exiting the oversold zone and in the presence of a bullish candlestick.
The Elegance of the Combination
The beauty of this indicator lies in its ability to combine RSI analysis with the power of Japanese candlesticks. It doesn't just predict trend reversals, it does so elegantly, demanding visual confirmation, thus avoiding false signals.
As the market moves relentlessly, this indicator is your ally for making informed decisions. It reminds you that the wisdom of trading lies in combining different analytical tools to decipher the mysteries of the financial market. Envelop your trading strategies with this indicator, and witness how it can illuminate your path to success.
Confluence Buy-Sell Indicator with Fibonacci The script is a "Confluence Indicator with Fibonacci" designed to work on the TradingView platform. This indicator combines multiple technical analysis strategies to generate buy and sell signals based on user-defined confluence criteria. Here's a breakdown of its features:
Confluence Criteria: Users can enable or disable various strategies like MACD, RSI, Bollinger Bands, Divergence, Fibonacci, and Moving Average. The number of strategies that need to align for a signal to be generated can be set by the user.
Strategies Included:
MACD Strategy: Uses the Moving Average Convergence Divergence method to identify buy/sell opportunities.
RSI Strategy: Utilizes the Relative Strength Index to detect overbought or oversold conditions.
Bollinger Bands Strategy: Incorporates Bollinger Bands to identify volatility and potential buy/sell signals.
Divergence Strategy: A basic implementation that detects bullish and bearish divergences using the RSI.
Fibonacci Strategy: Uses Fibonacci retracement levels to determine potential support and resistance levels.
Moving Average Strategy: Employs a crossover system between the 50-period and 200-period simple moving averages.
Additional Features:
Support & Resistance: Identifies major support and resistance levels from the last 50 bars.
Pivot Points: Calculates pivot points to determine potential turning points.
Stop Loss Levels: Automatically calculates and plots stop-loss levels for buy and sell signals.
NYC Midnight Level: Option to display the New York City midnight price level.
Visualization: Plots buy and sell signals on the chart with green and red markers respectively.
Adequate Category:
"Technical Analysis Indicators & Overlays" or "Strategy & Scripting Tools".
Renko StrategyRENKO STRATEGY
CAUTION : This strategy must be applied to a candlestick chart (not a Renko chart).
INTRODUCTION :
The Traditional Renko chart has been reproduced and is plotted according to the evolution of the price. It will enable us to receive buy or sell signals and follow major trends. This is a medium/long term strategy and depends a lot on the box size chosen in the parameters. There's also a money management method allowing us to reinvest part of the profits or reduce the size of orders in the event of substantial losses.
RENKO CHART :
Renko chart construction methodology :
The user must first choose the box size. The minimum is 0.00001 and there is no maximum. The default is 10. The user must then choose the source that will define the data on which the calculations will be based (high, low, open, close). By default, close is selected. The first candle on the chart is used to draw the first box with its high and low.
Each time the price changes by the amount of the box size relative to the high or low of the last box, a new box is added above or below the previous one. If price variations are less than the box size, the same box is added next to the previous one. If price variations are N (integer number) times greater than box size, N boxes are added above or below the previous one. Each box added above the previous one is a green box, while each box added below the previous one is a red box.
Conditions for drawing a green box above the previous one :
(source - high_of_the_last_box) / box_size > 1
Condition for drawing a red box below the previous one :
(low_of_the_last_box - source) / box_size > 1
If neither condition is triggered, the same box is drawn next to the previous one.
Example :
The last candle has drawn a box with low 12 and high 14. The box size is therefore 2. The strategy will look at the value of the close each time a candle ends. The current candle closes with a close equal to 15.5. As the variation from the previous high is only 1.5 (which is less than the box size), the same box is added next to the previous one. The next candle closes at 16.2. The price variation is therefore 2.2 compared with the previous high. We can now add a new green box just above the previous one, with a low of 14 and a high of 16. The same process applies if the candle's close is at least one box size below the low of the last box. In this case, a new red box is placed below the previous one.
PARAMETERS :
Source : Allows you to specify which data will be taken into account by the strategy when performing calculations. The default is close.
Box size : Size of Renko graph boxes. This is a very important parameter to choose carefully, as it has a strong impact on the strategy's performance. Defaults to 10.
Fixed Ratio : This is the amount of gain or loss at which the order quantity is changed. The default is 400, meaning that for each $400 gain or loss, the order size is increased or decreased by a user-selected amount.
Increasing Order Amount : This is the amount to be added to or subtracted from orders when the fixed ratio is reached. The default is $200, which means that for every $400 gain, $200 is reinvested in the strategy. On the other hand, for every $400 loss, the order size is reduced by $200.
Initial capital : $1000
Fees : Interactive Broker fees apply to this strategy. They are set at 0.18% of the trade value.
Slippage : 3 ticks or $0.03 per trade. Corresponds to the latency time between the moment the signal is received and the moment the order is executed by the broker.
Important : A bot has been used to test all possible box sizes to find out which one generates the highest return on BITSTAMP:LTCUSD while limiting the drawdown. This strategy is the most optimal with a box size equal to 5.08 in 8h timeframe.
BUY AND SHORT SIGNALS :
As the aim of this strategy is to follow major trends based on price movements, we need to be on the right side of price fluctuation. We trade every box reversal, i.e. we are LONG when the boxes are green indicating an uptrend and SHORT when they are red indicating a downtrend.
RISK MANAGEMENT :
This strategy can incur losses. The size of the box is decisive, as it is used to plot the RENKO chart and thus trigger buy or sell signals. It's also what allows us to manage risk. For every trade, we risk a maximum amount equal to 2 times the size of the box, i.e. :(5.08*2*nb_contract)/trade_value.
MONEY MANAGEMENT :
The fixed ratio method has been used to manage our gains and losses. For each gain of an amount equal to the value of the fixed ratio, we increase the order size by a value defined by the user in the "Increasing order amount" parameter. Similarly, each time we lose an amount equal to the value of the fixed ratio, we decrease the order size by the same user-defined value. This strategy not only increases our performance, but also our drawdown.
Enjoy the strategy and don't forget to take the trade :)
Choose Symbol, candle and Trend modeThis Pine Script code is designed for technical analysis and visualization of price movements on the TradingView platform. It serves as a tool for traders and investors to:
Price Chart Analysis: The code plots the price chart of a selected symbol and utilizes Heikin-Ashi candlesticks to visualize price movements. This aids in better understanding price trends, support and resistance levels, retracements, and other price actions.
Trend Identification: The code also employs the Exponential Moving Average (EMA) to identify the price trend. EMA is commonly used to determine the strength and direction of a trend. Traders and investors can use this information to track trends and develop trading strategies.
Buy and Sell Signals: The code generates buy and sell signals based on EMA. These signals provide information on when to consider buying or selling a specific symbol. This is particularly useful for traders when making trading decisions.
Timeframe Customization: Users can adapt the code to different timeframes. This flexibility is valuable for those looking to develop strategies for both short-term and long-term trading.
Customization: The code allows users to customize various parameters, including the symbol, timeframe, Heikin-Ashi mode, and others. This enables it to be tailored to different assets and trading styles.
Please note that this code is provided for educational and informational purposes only. It does not constitute financial advice or recommendations for specific trading actions. Any trading decisions made using this code should be based on individual research, analysis, and a clear understanding of the associated risks.
Entry Assistant by IvanIntention Of This Indicator
This indicator is intended to be used as an assistant in combination with a technical strategy.
This indicator has several functions intended to assist you at entering positions.
This indicator is intended to be used with strategies that place Stop Losses above / below candles, and entries at the BOC ( Break Of The Previous Candle , For Longs it is when price goes above the previous candles high, For Shorts it is when price goes below the previous candles low)
This indicator Draw / Displays the following
A line below ( for Longs ) / above ( for Shorts ) the current candle, with an additional pip value for extra space ( this displays where to place your Stop Loss )
A label displaying the price of the Stop Loss line, to assist in placing the Stop Loss
A line displaying where the BOC is ( based off of going Long or going Short )
A box that appears when the BOC has occurred ( entry signal )
Inputs
Inputs to change the aesthetics ( colours etc. )
Numeric inputs to modify the placement / spacing of the Stop Loss / Entry signal
Toggles to activate or deactivate features
Disclaimer
This indicator does not currently work for every instrument ( it only works for most Forex pairs and some Indices )
It is not at all intended to be a signal indicator on its own, but rather only to give a signal when used with specific technical strategies that us BOC entries.
This indicator is not guaranteed to be accurate, or error free.
This indicator is not signalling winning entries or high probability entries.
ADX Trend Confirmer [Honestcowboy]The ADX Trend Confirmer aims to give traders or algorithms a way to confirm a trend before entering a trade.
While the default for ADX is a smoothing factor of 14 and a length of 14 to measure directional strength. In my experience this is a lagging indicator and not the best for confirming if the market is trending.
🟢 What are the methods used for confirming trend in this indicator?
ADX above x number : By default we use an ADX length of 3 and it's value needs to be above 50.
ADX sloping up ? This will check if the ADX value is higher than that of previous bar, this to confirm that trend is getting momentum and not slowing down.
close>open / close<open : This is to check in which direction the trend is going.
Mid Point : We use a mid-point between highest high and lowest low in a given period by default of 3 bars. Price needs to close above/below this point to confirm direction. We use previous bar mid-point so there is no repainting of the line.
Min bar ratio: How many percent of the bar is the body? A high amount of wicks but not a lot of body can mean indecision (no trend). This to ensure entries are only after a convincing bar.
🟢 Extra Info:
Thanks to ZenAndTheArtOfTrading for publishing ZenLibrary which we use in this script.
This is not a strategy on it's own but a building block to add to your analysis.
Gap Statistics (Zeiierman)█ Overview
The Gap Statistics (Zeiierman) indicator is crafted to monitor, analyze, and visually present price gaps on a trading chart. Price gaps are areas on a chart where the price jumps up or down from the previous close to the next open, creating a "gap" in the normal price pattern. This script delivers an extensive range of statistics related to these gaps, encompassing their size, direction (whether bullish or bearish), frequency of getting filled, as well as the average number of bars it takes for a gap to be filled. The indicator also visually represents the gaps, making it easier for traders to spot and analyze them.
█ How It Works
Gap Identification: The script identifies gaps by comparing the open price of a bar to the close price of the previous bar. If there is a discrepancy between the two, it is recognized as a gap.
Gap Classification: Once a gap is identified, it is classified based on its size (as a percentage of the previous close price) and direction (bullish or bearish). The gap is then added to a specific category based on its size.
Gap Tracking: The script keeps track of all identified gaps using arrays and user-defined types, storing details like their size, direction, and whether they have been filled.
Gap Filling: The script continuously monitors the price to check if any previously identified gaps get filled. A gap is considered filled if the price moves back into the gap area.
Statistics and Alerts: The script calculates various statistics like the total number of gaps, the number of filled gaps, the average number of bars it takes for a gap to fill, and the percentage of gaps that get filled. It also generates alerts when a new gap is identified or an existing gap gets filled.
█ How to Use
Gaps are often classified into four main types:
Common Gaps: These are not associated with any major news and are likely to get filled quickly.
Breakaway Gaps: These occur at the end of a price pattern and signal the beginning of a new trend.
Runaway Gaps: Also known as continuation gaps, these occur in the middle of a trend and signal a surge in interest in the stock.
Exhaustion Gaps: These occur near the end of a price pattern and signal a final attempt to hit new highs or lows.
The Gap Statistics (Zeiierman) indicator enhances a trader's ability to use gaps in their trading strategy in several ways:
Statistical Analysis: Traders get comprehensive statistics on gaps, such as their size, direction, and how often they get filled.
Performance Tracking: The indicator tracks how many bars it typically takes for a gap to fill, providing traders with an average timeframe for gap closure.
█ Settings
Display Gaps: Choose to display "All Gaps," "Active Gaps," or "None."
Show Gap Size: Toggle on/off the display of the gap size.
-----------------
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!
Asiri Colored CandleNote: To use this code, you must choose Hollow candle
This code color the candle based the relationship current volume to previous volume, according these features:
1- White candle when the current volume greater than the previous one, and all of them greater than moving average for 20 periods of volume
2- Green candle color when the current volume greater than the previous one, and all of them lower than moving average for 20 periods of volume
3- Blue candle it means (Bullish Candle) purchasing candles, with change 3% or higher
4- Yellow candle it means (Bearish Candle) with change 3% or higher
5- The number upper the candle means how much does the volume represent relative to the volume moving average
6- The number lower candle means value of MFI indicator value
كود برمجي يقوم بإعطاء لون للشموع بناء على الحجم
لطي تتمكن من استخدام هذا الكود يجب أن يكون نمط الشموع الذي على الشارت شموع مفرغة
من خصائصه التالي
1- إذا الحجم السفلي الحالي أكبر من الحجم السابق وكلاهما فوق متوسط 20 للحجم والسعر الحالي ارتفع عن السعر السابق يقوم بتلوين الشمعة بيضاء
2- إذا الحجم السفلي الحالي أكبر من الحجم السابق وكلاهما أسفل متوسط 20 للحجم والسعر الحالي ارتفع عن السعر السابق يقوم بتلوين الشمعة خضراء
3- إذا الحجم الحالي أقل من السابق ولكن تكونت شمعة شرائية ارتفعت الشمعة بـ 3% أو تغيرها كان 3% فأعلى يكون لونها أزرق
4- إذا تكونت شمعة بيعية انخفاضها أو تغيرها كان 3% بأعلى يكون لونها أصفر
5- الأرقام أعلى الشموع تبين كم أن الحجم المقابل للشمعة ضعف الحجم لمتوسط حجم 20 فترة سابقة للحجم يعني إذا كان أعلى الشمعة 3 فهذا يعني أن الحجم لهذه الشمعة ارتفع بـ 3 أضعاف متوسط 20 فترة سابقة للحجم ، كما أن هذا الرقم يظهر أعلى شمعة الدوجي التي إغلاقها مساوي لافتتاحها
6- الرقم أسفل الشمعة يبين قيمة مؤشر التدفق النقدي MFI
أخيرا تستطيع التعديل على الكود حسب ما تراه و إخفاء الأرقام أعلى أو أسفل الشموع
لا تنسوني من دعائكم
SpiceIn the chart photo is a description for each shape and letter, saying what each one is.
BB, Reversals are off by default.
BB + Reversals + Next bar confirmation - The way this should be used is by waiting for a 1 or 2 bar confirmation closed above/below the high/low of the Reversal candle. So if its a Top R, a yellow box will print as a confirmed 1 bar if it closed below the top R's low, then you can wait for the second bar to close also below the Top R's low. Vice versa with the Bot R.
RSI arrows - Essentially showing you when the multi time frame RSIs are coming back up above 30, or below 70. Respective to what time frames you have selected.
Three Line Strike - A trend continuation candlestick pattern consisting of four candles
Leledc Exhaustion suggest the trend may be reversing. Combined with the moving average as a trend filter, the indicator can signal the end of a pull back and the continuation of the trend.
EMAs - Help measuring the trend direction over a period of time.
Credit to all these amazing creators -
Multi Timeframe RSI (LTF) by @millerrh
3 Line Strike by @Lij_MC 'MarketVision A'
Leledc Exhaustion by @glaz, used updated version by @Joy_Bangla
If anyone uses the BB reversals source code to put into their own indicator/strategy, you are free to do so. Just send me a message I'd love to see your work with it! :)
Thanks to Lij_MC's MarketVision A indicator for inspiring me to add more features. At first it was just the RSI Arrows and the BB reversals candles + Condition but then I found MarketVision A and loved the extra Leledc and 3 Line Strike features.
Hope you enjoy this Spice!
No Signal is 100% correct at what it's trying to do. Use caution when trading!
Practice Risk Management.
3 TIMEFRAMES BOXES3 boxes, with their recent high/low and their respective open/close, and the 50% line of the high/low. All adjustable for preferred timeframes, colour and thickness.
My personal preference is previous week 00:00 to 00:00, yesterday 00:00 to 00:00, and the day before 00:00 to 00:00 (NY timezone). Another could be the London, NY, and Asian sessions (which you have to manually place the timeframes for). As said, you can adjust it completely to your own liking. Enjoy!