lordpepe

LordPepe Stochastic Signals

This is the Lord Pepe. Howdy. Basic buy/sell indicator to accumulate along a downtrend and release your stack during the uptrend and oversold levels of the stochastic . The buys should be used to stack, and sells indicate levels of profit taking, they do not signal a long term reversal, only < 25% of stack should be released on "OB" signals.

OB - overbought (sell)
OS - oversold (buy)
Release Notes: What's crackin', so this will be a revised version of the stochastic signals I recently posted. This update includes better options for buy/sell shapes and a new function you can use to identify potential uptrends. The correlation coefficient is taken from John F Ehlers and a link to the paper can be found at the bottom of this post.

A trend is identified with the correlation factor when the line is showing +/- 0.5 - 20 bar history is found to work the best for any time-frame.
Signals for stochastic buy and sells should be used for accumulation and distribution of a trading position. They are not signals for long term reversals and they should be used in tandum with the time-frame they were given on.
Ex. Time Frame Trade Periods: 1hr (BUY) - 5hr hold (estimate) - 1hr (SELL)

Stochastic settings work best as (8, 3, 3) or (14, 3, 3).

To use correlation feature, remove the comments in the source code. Although, I would read the paper or look at how the signal is produced.

John F Ehlers (I cannot post links yet): Google John F Ehlers Correlation as a Trend Indicator
Release Notes: Just cleaned up some code I haven't figured out how to use and updooted the selling signal.

The signals are quite easy but have, imo, proven to show strong sings of volume/reversal (buying/selling) zones. The settings for stochastic should not be changed as the (8, 3, 3) intervals are perfect and are used quite largely in banking. I'll be updating this more as to test strategies and give more clear alerts for automation.
Release Notes: Small update for fractional selling signal verse whole position.

The whole position flag should just be used as a tool along with any other confirmations you have as its only indicating extremely overbought or oversold levels and these conditions may persist for another bar or two.

Use 4hr time frames from what I've seen works best. These signals can be used in the complete opposite way during downtrends, meaning you would short the sells and buy, obviously.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Comments

Thank you!
+1 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out