After a couple of years studying the works of Thomas DeMark i put two indicators together.
The first is a trendindicator DeMarker I and the second is the Bressert trading cycles.
This will help to start and stop a long or short position.
When red and green cross each other, that will be the signal to start.
This Pine script is the result after I have read the book of Jason Perl "DeMark Indicators".
There are multiple indicators within this script because the book suggest to use them all together.
The following indicators are present within this script:
Bearisflip, Bullisflip, SellSetup, BuySetup, SellCountdown, BuyCountdown.
Trend lines for support and...
This study Plots Divergences for OBV along with 2 MA's
Choose between standard type of OBV and OBV Accumulation / Distribution thanks to spacetrader which seems to be a truer reading
Divergence Alerts are provided so that you dont have to stare at your screen all day
This is a very simple but quite powerful indicator which looks at the RSI simultaneously over the 4h, Daily and Weekly timeframes, and places bands on the chart when one or more timeframes move into oversold/overbought territory. For further filtering I use the 200 day SMA to determine if we are in a Bull or Bear market, which puts a bias on the RSI (30/80 in a...
This study plots MACD Divergences and has the option of plotting a Top Dog Trading - MOM and DAD Version of the MACD
MACD Histogram and outline change color when increasing or decreasing above or below the zero-line,
Background also changes color according to MACD Line cross of Signal Line and 0 line or The Direction of DAD
Plenty of Alerts so that you dont...
a. RSI does not open an order when it is overbought, until the RSI falls below a certain threshold, and then open a position
b. There are already many positions. If the RSI is overbought, it will be profitable. When the RSI falls below a certain threshold, open a long position again until the moving average crossover signal turns short.
Simple strategy. Price and moving average crossing. There is a choice of type of moving average.
Moving average types
SMA = Simple Moving Average
EMA = Exponential Moving Average
VWMA = Volume-Weighted Moving Average
DEMA = Double Exponential Moving Average
TEMA = Triple Exponential Moving Average
KAMA = Kaufman's Adaptive Moving Average
PCMA = Central line of...
This isn't my own work, hence giving it in Open Source library for others to benefit from it too.
I have tried to refin the output of trendlines in this Strategy
The original Code is available at
The script needs some modifications, so I'll be making further updates in future, but for now I'm publishing this because...