[Mubeen] True Bar VolumeTrue Bar Volume, or TB Volume, is an indicator that measures the volume against the price action that has occurred.
Volume can sometimes be miss leading as it does not necessary show whether it had an impact on the price of the underlying, as one individual (represented as one volume) who has put $100 into the underlying can impact the underlying the same as hundred individuals (represented as hundred volume) putting $1 into the underlying: but the volume will widely differ and can cause confusion for outsiders. With the True Bar indicator, it aims to show abnormal behaviour in the price change against the amount of volume that was stated. It visualises the effect of the volume on the underlying by colour coding the different levels of True Bar results, divided into Red, Yellow, Green, Purple.
Red indicates that the price has changed way out of portion compared with the volume that was seen. It is compared against the highest TB Volume values through selected periods and once the volume as broken out of the high, it is considered an anomaly.
Yellow indicates that the TB Volume values are representing the mean values so it is considered as normal trading activity. Spikes in yellow values can also be seen as rise in high interest in the underlying.
Green indicates that the TB Volume values are under performing in market activity.
Purple indicates that is it a null result as investors might be looking for a better entry into a market, or seen as interest is low in the market.
TB Volume should not be used on it's own as it only gives a reporting measurement of the volume performance, which may be meaningless without the supplementation of other indicators.
Cari dalam skrip untuk "bar"
Current bar predicted volumeDrag this indicator in the same panel with the volume in the object tree, then right click on the scale bar and set "merge all scale into one" for a correct visualization.
This indicator multiply the current traded volume of a candle with the total time of that candle. This offer a prediction of where, in case the volumes would keep trading at a comparable magnitude, the volume bar would close when the candle will close.
The predicted volume is indicated with a blue short line above the current volume bar, and updates in real time.
I find this indicator extremely useful to offer at a glance an idea of an ascending or descending volume pattern, that can serve as confirmation for a reversal or breakout for example.
Very suitable for short time frames, where decisions have to be taken fast.
Enjoy,
Luca.
TrendStrength Turbo Bars - Directional TrendsMy interpretation of Danielle Shay's popular SimplerTrading TrendStrength Turbo indicator.
The TrendStrength indicator is based on a Fibonacci-based stacked EMA arrangement using the 5, 8, 13, 21 and 34 EMAs:
-> Green bars indicate an uptrend i.e. when the EMAs are positively stacked - there is more upward pressure than downward pressure in the price;
-> Red bars indicate a downtrend i.e. i.e. when the EMAs are negatively stacked - there is more downward pressure on the price; and
-> Yellow bars indicate no strong directional trend and potential for a reversal.
Volume spikes 50% above average volume are then flagged as dots at the bottom of the chart further confirming price momentum.
This indicator should compliment other popular indicators, as confirmation whether to stay in a position or not.
1St Bar GAP+BkOut Screener v2 by RMFirst Bar Gap and subsequent conditions are used as one of the several strategies for Day traders.
This script runs on first bar and checks if the stocks has an initial Gap (up or down), then checks for next bars to be inside the boundaries of the first candle
you can customize this screener according to your requirement. There are a number of very clever people I have taken bits of code and ideas, thanks to you all :)
Used part of this code as published by @PineCoders and Public Libraries. Also add some power query code to help you create the symbols input in the script
Disclaimer: This is not a Financial advisory tool. For education purposes only. * Use at your own risk *
Outline:
gap up/ gap down on 1 min first candle -> good
2nd candle inside 1st candle -> good
3rd to nth candle to break out from first candle range -> good /alert/ Plot flag
//M (Excel power query) code to load and format watchlist from txt file format
//Input: , Output:
let
// replace and for the correspondign values in your computer
Source = Csv.Document(File.Contents("C:\ \ "), ),
#"Transposed Table" = Table.Transpose(Source),
#"Sorted Rows" = Table.Sort(#"Transposed Table",{{"Column1", Order.Ascending}}),
#"Added Index" = Table.AddIndexColumn(#"Sorted Rows", "Index", 1, 1, Int64.Type),
#"Changed Type1" = Table.TransformColumnTypes(#"Added Index",{{"Index", type text}}),
#"Inserted Merged Column1" = Table.AddColumn(#"Changed Type1", "Merged", each Text.Combine({"0", }), type text),
#"Inserted First Characters" = Table.AddColumn(#"Inserted Merged Column1", "Two Characters", each Text.End( , 2), type text),
#"Removed Columns" = Table.RemoveColumns(#"Inserted First Characters",{"Index", "Merged"}),
#"Inserted Merged Column" = Table.AddColumn(#"Removed Columns", "Merged", each Text.Combine({"s", , " = input( '", , "' , type=input.string)"}), type text)
in
#"Inserted Merged Column"
//--> once input string is created Copy&Paste in this code after // Symbols _ Use Power Query in Excel
// end of M code to load watchlist from txt format
Price-Action-BarsThis script came as a discussion in our community forum.
It paints
1. Pin Bars (Bottom or Top)
2. inside/outside Bar
3. Bullish Bottom bar
It also has the ability to add alerts on your favorite stocks
B3_HH_LL_Break Bar PainterThis is a simple Highest High or Lowest Low Breakout Painter.
Defaults in the order that they may color bars - checks top color first:
where n = your input length
BLACK = Outside Bar HHLL(n)
RED = Lower Low LL(n)
GREEN = Higher High HH(n)
BLUE = Inside Bar HHLL(n)
You may customize the colors in the indicator's settings-cogwheel on the chart.
Enjoy!
d^.^b
Difference over barsDescription:
One of my followers asked about an indicator that shows the difference between the open and a previous close and didn't find one so I wrote this one. This is similar to a momentum indicator except it offers more flexibility. While the standard momentum indicator calculates a difference between current close and a previous close (sometimes customizable to work on open, high or lows instead of close), this allows to mix and match between open, high, low and close. It also offers multiple kinds of moving averages.
Settings:
Current point of reference
Previous point of reference
Difference over how many bars?
How it works:
The indicator calculates the difference between the current point of reference and a previous (n-bars back) point of reference (where n is given by the "Difference over how many bars?").
How to use it:
find historical support lines like the 0.68 line in the cart above where in the past the indicator tends to bounce back; similarly find resistance lines like the -0.75 line in the chart (which servers as a resistance line both for the main indicator line and its moving average )
look for convergence between the price and the indicator; for example, if the price is going up and the indicator is going down a change in the price direction may be coming soon
look for the indicator crossing its moving average: moving up will signify an up trend and vice-versa
since the difference between the open and previous close (which is what the blue line in the chart shows) since to go up to 0.68 (the upper horizontal line) and down to -0.75 (the lower horizontal line) most of the time, one strategy, using options, is to to buy, right before the close of a trading day, a "long iron butterfly": buy-to-open (BTO) both a call and a put at the strike price and sell-to-open (STO) a call at a strike of around $0.68 more and sell to open a put at a strike of around $0.75 less. The STO legs should be for the next expiration and the BTO legs for the next expiration after that. This way the STO will decrease their time value faster than the BTO legs if the price stays flat (which plays to your advantage) and the BTO legs may make profit if the next day it opens away from the price at which the ticker closed the previous day (when the position was opened). The most profit is when it moves right up to one of the STO legs. This position would normally be closed next day at opening. The percentage of profit it makes is low compared to other strategies but also the percentage of the total cost at risk is also low which could potentially allow a trader to increase the lot and thus, in the end, the total profit amount may be comparable to other strategies.
Notes:
The indicator in the chart above comes with the standard options. For a more standard momentum indicator set both the current and previous reference point to the same OHLC value (such as "close").
The 0.68 and -0.75 levels are for open/close (current/previous point of reference) for ticker INTC. Obviously, other tickers will likely have other levels and you will have to find those yourself. If you use INTC but use other combination of current and previous reference points, they will have different levels as well.
angle bar colors [LM]Hello guys,
I would like to introduce you angle bar colors indicator. It colors bars depending the angle of the bar x length back and current one
lime angle > 70 degrees
green 20 < angle < 70 degrees
orange 0 > angle <= 20 degrees
purple 0 > angle >= -20 degrees
red -20 > angle > -70 degrees
maroon angle < -70 degrees
Any suggestions are welcome
Trading margin, inside bars and outside barsThe indicator shows the trading range and the average trading range over a freely selectable period. Inside bars and outside bars are color-coded in the chart.
Der Indikator zeigt die Handelspanne und die durchschnittliche Handelspanne über eine frei wählbare Periode. Im Chart werden Innenstäbe und Außenstäbe farblich gekennzeichnet.
Paint 1 & 3 Bars (The Strat)Based on 'The Strat' methodology by Rob Smith.
This script will paint 1 & 3 bars per 'The Strat'.
N.B. Per 'The Strat' a bar is seen as a 1 (inside) when the bar's high or low is an equal tick to the previous bar.
Volume Color Bars with SMA MACD & Linear RegressionVolume Bars colored to make it easy to read with Volume Spread Analysis Indicator.
1. Red - Volume less than Simple Moving Average
2. Blue - Volume higher than Simple Moving Average
3. Black - Maximum volume of last Max_Count bar (default = 40 bars)
Additionally, you can plot Moving Average, Linear Regression and MACD of volume.
RSI & Volume Coloured BarsCandles get darker when volume is high, and brighter when volume is low. They are red or green depending on whether the RSI is above or below a threshold value, or alternatively you can pick a more vanilla coloring based on current close vs last close or last open.
For personal use as I enjoy the aesthetics of it. The more solid RSI coloring helps highlight the brightness variations from changing volume and makes trends crystal clear.
Inspired by "Volume Based Coloured Bars" by KivancOzbilgic:
and by and by RSI bars chart by taskman9:
Hide Active BarWe are not supposed to make trading decisions based on active bars (bars that have not closed), right? Well sometimes my trigger finger gets a little twitchy when I'm awaiting an entry and an active candle starts to pull away or I'm in a trade and an active candle pushes against me.
Therefore, I made a VERY simple indicator that ghosts the active bar. You can see the outline but the body is transparent to emphasize that you should await its close before deciding what to do...
Very simple script but hopefully it will help me (and others) to remain a little calmer in the moment.
In case the bar recolour does not show in the main image - here it is below.
Two Bars IndexThe Two Bars Index compares the current bar to a bar n periods back.
This indicator is incredibly simple, yet so effective.
Hide extended hours/non-intraday barsEspecially for future users, such as ES/NQ/RTY/YM, etc., this script can hide the extended hours/non-intraday bars and leave the intraday bars only.
With this script , you can find the intraday support/resistance quite easily!
Example, if you are a ES investor, you can easily find the intraday support/resistance level ,which is almost equal to SPY, with this script, and no need to check SPY separately again , saving your time a lot.
Note: Please couple this script with American Bars. If you use candle charts, the upper/lower pins of the candle can't be hidden with the bars together, which is restricted by the code editor itself...
NR4 / NR7 + Inside BarIndicator Script for identifying Narrow Range 4 / 7 + Inside Bar
It also helps to check whether NR4 / NR7 breakout trading has been profitable or not in the past in a particular instrument.
It has helped me to select profitable scripts and avoid losing ones. Can be used for anytime frame.
SIGNAL
NR4 == Narrowest range of 4 periods + signal day is an inside bar
NR4 & NR7 == Narrowest range of 7 periods + signal day is an inside bar
SIGNAL "PROFIT" -
Prior day was NR4 / NR7 and next day price broke out of prior day range in 1 direction and closed in the direction of breakout away from breakout price, resulting in a profit trade.
SIGNAL "LOSS" -
Prior day was NR4 / NR7 and next day price broke out of prior day range and returned back to close inside the narrow zone OR went in opposite direction after the initial breakout, resulting in a loss trade.
BossHouse - Price ChangeBossHouse - Price Change
What it is:
In the stock market, a price change is the difference in trading prices from one period to the next or the difference between the daily opening and closing prices of a share of stock.
Here you have a timeline with a bar price change. In seconds you can see if the selected market has good and high price changes or not.
The values are in percentage and you have a limiter in the settings, so you can show only bar/values above a value. Ex. 2.4%.
Why it Matters:
Price changes are a core component of financial analysis, and predicting price changes can be as, if not more, important than an actual price change.
It is important to remember, however, that percent-based price changes are useful only in the context of the number of dollars involved.
A 75% change in the price of a company X, for example, may only involve a few dollars while a 75% change in the price of company Y may involve thousands of dollars.
Settings:
Show the SMA 21 line
Minimum Limit - Set the minimum value to show a bar
Calculation:
For example, let's say Company XYZ shares opened at $25 this morning and closed at $24.
The price change is -$1, or -$1/$25 = -4%.
Any help and suggestions will be appreciated.
Marcos Issler @ Isslerman
Volume Profile: Intra-bar VolumeThis indicator was developed as part of a free blog post tutorial on the Backtest-Rookies website for detailed code commentary, head over there.
Scope
The indicator shall attempt to do the following:
Look at a lower time-frame. E.g 5 minutes when on a 1-hour chart.
Create a function to loop through through candles and make an assessment.
If the candle it closed up, the volume will be categorized as buying volume. Conversely, if it closed down, the volume will be categorized as selling volume
The function will then be passed to the security() function to run on a lower timeframe.
All buying volume and selling volume from the lower time-frame shall be summed and displayed on the main chart.
Important Note
This indicator will not give you genuine buying or selling volume. It simply follows the assumption that if price closed up, there must have been more buyers than sellers and if it closed down we assume the opposite.
Usage
In order to use this indicator, users will need to calculate how many lower time-frame bars are contained in the time-frame on the main chart. So for example, the default settings are configured for the indicator to be run on the 1H chart. As a result, we need to set the "Bars on Lower Timeframe" input to 12. This is because there are 12 x 5-minute bars in 60 minutes.
draw line at bar on condition, up to 40 bars in lengthDraws line at bar on condition, up to 40 bars in length.
Well, that's not a line, but a set of `—` characters. But it looks like a line, so it is line.
Green BarsA simple script to count the number of up days, or intraday bars, (Green Bars) for a given Look Back period.
Inputs are: Look Back Period and Increment.
Use 0 for the Increment to count only the up days, or bars.
Use -1 to include the down days, or bars, in the sum.
Trend Setter Max BarsThis script allows you to visualize trends. It counts continuous bars in the same direction, then makes an average of the maximum count in the look back period. If Green is above Red, its strength is upward and vice versa. This doesn't use returns or measure price moves.
*Positive Gray is current up bars count. Negative Gray down current down bars count
*Green and Red are average max counts.
This info could possibly be used to gauge trends or momentum.
Note: I finally figured out how to use loops and mutable variables in V3.
[RS]Dollar Basket - Bar by Bar Percent ChangeDisplays a horizontal selection of instruments Vs the dollar, value is percent change from bar to bar with option to smooth the data with a simple average.