What's the probability of the next bar being red? How about green? Well, there are many ways to quantify the probability but I am presenting just one stupidly simple (but generally accurate) way to measure it.
Strangely... no one has done this before that I can find. I try to check if someone else has done it first (Pro Tip: Plz do this. We honestly don't...
The importance of counting HH&LL is to find the possible extreme of the current leg and the potential reversal.
This script helps you count the number of bars which are constantly higher or lower than the previous ones.
I set the script to count from the first one, but only display the number from the third, in order to eliminate too much noise.
Note : I have...
Example how to limit the number of round trips per day. If entry condition is never met logic will force a round trip at end of day. Set chart to a timeframe that is lower than 1 Day period.
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and...
This is an experimental variation of Paul L. Dysart's Positive Volume Index and Negative Volume Index that tracks the divergences between the PVI and its EMA, and the NVI and its EMA, then plots both together for comparison.
This tool can be used to identify trending price activity.
Hello ladies and gentlemen
I'm back in my (almost daily) publishing challenge - to educate/show pinescript not commonly known tips
↑ Trend Direction ↓
Remember that script ?
I often use it to detect higher highs or lower lows. When an oblique/diagonal breaks, it indicates that a trend may move in the opposite direction.
Combining this along with other...
This study is an experiment designed to identify market phases using changes in an approximate Hurst Exponent.
The exponent in this script is approximated using a simplified Rescaled Range method.
First, deviations are calculated for the specified period, then the specified period divided by 2, 4, 8, and 16.
Next, sums are taken of the deviations of each period,...
This indicator was written in order to apply bar limit in strategies and it was published as open code so that everyone can use it. When backtesting with stock market api data, we determine how many bars should be, not from which date the data will be drawn. For example, we can draw 1000 bar data from stock exchange and perform the backtest on this data. You can...
This script shows via the oscillator window, how much red and green candles where shown - looking back a given number of candles.
The number of candles to look back is 10 by default, but can be changed in the indicator settings.
The red line indicates the number of red candles, while the green line shows the number of green candles.
Very simple strategy based on consecutive candle count. Simple but can be very profitable if you know how to execute.
- Buy when consecutive up closes exceeds 3
- Sell when consecutive down closes exceeds 3
For a buy signal, if price closes higher within 5 candles, it is defined as a win.
For a sell signal, if price closes lower within 5 candles, it...
A new approach to trend/time analysis. This indicator counts up/down price moves using fuzzy logic in two time frames. Counts reaching Fibonacci numbers are often significant to trend momentum: either reversal or stronger continuation. See the script’s beginning comments for details.
I’m amazed with DeMark and all his indicators. But after coding a TD_Sequential...
an adaptation of td count that removes the cap on 9, but instead updates the shoulder when we go past 9. that way it's sort of like a tweaked shoulder in strong mo, hopefully it gives more meaningful s/r levels.
This indicator is intended to complement the Synergy indicator. It provides the following statistics:
A percentage showing how often the two assets move in the opposite direction over a given lookback period.
Similarly, another percentage showing how often the two assets move in the same direction over the same lookback period.