Green to Red Gradient for Dynamic / Color Changing IndicatorsI have evenly divided every color between green and red.
This gradient is useful for pine coders who are creating color changing, dynamic, or gradient indicators.
RED
Highlighter Strategy V2// Based on Normalized Smoothed MACD by Dreadblitz
Old one was just an oscillator, I changed a few things
1) It now paints the line green/orange
2) The trigger (green/red) is now based on a signal
3) The signal is basically isUp, but with some additional controls, e.g.
4) (new) There is an embedded stoploss. This is a growth/decay function that decays slower than it grows.
5) Signal is filtered additionally by the stoploss (no green under the decaying line)
Improved On balance volume with BB channel and double MAThis is an improved version of the on balance volume indicator.
I made it inside a bollinger band channel, so we can define better the zones. At the same time I applied 2 moving averages on OBV, to get a better idea of the trend and at same time that change direction of the trend.
Green - > uptrend - > we look for buy positions
Red - > downtrend -> we look for sell positions.
At the same time we have to be aware of crosses on bollinger bands, which can indicate a change in the trend .
Candles - Cheat SheetWhat is up y'all ? (french trying to sound American)
I found that in my script archives, way back in an old cave. I think this might be useful as a few really asked me how to define a green/red candle, how to capture the wick value, the body, etc..
This is not a fancy script as usual and I'm sure they're plenty of candles pattern scripts out there but I saw no one sharing a simple candle cheat sheet for pinescript coding
Being able to define candles using codes is an essential skill to have for any Pinescripter
Still on the train so won't write a roman as usual... Kidding... I actually did it here What-is-an-Hard-Exit-and-a-few-notes-on-trading-management/
It won't bring me as many likes as any magic p**p cannon accounts promising the moon at each trade but if I can help at least 1 trader a day not losing his/her money, I'll be happy and my daily goal will be fulfilled
All the best
Dave
____________________________________________________________
Be sure to hit the thumbs up
- I'm an officially approved PineEditor/LUA/MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
- You can also hire for a custom dev of your indicator/strategy/bot/chrome extension/python
Supertrend Grid 1.0See the current pair's Supertrend direction on 4 different timeframes at once, so you won't get caught with your pants down trading against the trend. Handy for quickly space-barring through a watchlist.
Default settings are (from top to bottom) Daily, 4H, 1H and 15M but these can be changed. Any suggestions, let me know.
DownAfterLowProba// The script is useful to inspect probability:
// If previous day closed at lowest price for several days
// how often next day would be red bar
// As one can see gray lines indicate bars with lowest close. If next bar is green, increment diff_hi, overwise increment diff_lo
// Probability is counted as diff_lo / (diff_hi+diff_lo)
// One can copy script and change conditions to count other interesting probabilities
Directional Movement Index 4 colors (DMI 4c)It is a normal Directional Movement Index, but instead of using lines for +DI and -DI it uses histogram and 4 colors. It also contains an horizontal line (default value @20) to indicate when a trend is confirmed or not.
RSI DivergenceRSI DIVERGENCE is a difference between a fast and a slow RSI. Default values are 5 for the fast one and 14 for the slow one.
You can use this indicator in 2 different ways:
normal RSI : check double or triple top/bottom on a chart meanwhile RSI is descending/ascending (check the example on chart)
signal line : when RSI Divergence cross zero line from bottom to top you get a buy signal (the line become green), vice versa when the RSI Divergence cross zero line in the opposite way you get a sell signal (the line become red)
Golden Cross KAMAThe usage is very easy. When the line is green you can open long position, when the line is red you can open short position and when it's black just check by yourself.
Usually I use it with RSI and Bollinger Bands , in order to determine when the signal is strong or weak.
Just play with fastest and slowest SC to adjust the smoothness.