OPEN-SOURCE SCRIPT

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)
發行說明
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
發行說明
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.
發行說明
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.
發行說明
What up. I have added a volatility line and Lelec by inSilico. I hope you all enjoy, lmk if you have any recommendations.

- Continue to use stoch (8, 3, 3) with 4hr time frame
- Use the line as a volatility indicator, usually the sell signal will occur before it breaks (ikr) but just to be sure if you're trading watch if it breaks, and reconfirms the line.
發行說明
New features are just being able to adjust which time frame you want signals to print on the screen while having another time frame on.
So,
- You can have 1hr time frame with 2hr signals
- Play around with it to see

I suggest using whatever timeframe to below the signal queues to see how they act as resistances
發行說明
Bug fix
發行說明
Another one
發行說明
Updoot
發行說明
You can change the Signal Type to give you more or less.
發行說明
Fixed some bugs, added Bollinger bands.
- You can turn things off in the settings menu, these additional features are for people without PRO and who like to use more than tradingview allows
發行說明

  • - You can now choose your own signals to produce for whatever asset
    - Use stochastic, rsi, money flow indicator, and this one to search for your signals (try things out)
    - Higher time frames work best but lower ones can be tuned with time.
    - Heikin Ashi produces very good signals for PURPLE/ORANGE signals but loses Lelec (ill fix this)
發行說明
Revamp to existing Stochastic Signals, I hope you all enjoy. Check out the code, I'll do more commenting so one's can learn how to implement or add new features themselves.

New Features:
  • New Settings Menu/Layout (better labeled)
  • Binary Signals - produces long/short/long/short etc signals (stop-loss not ready yet)
  • Stochastic Signals - produces a signal on LL crossover of stochastic(k, d) over 1000 and 500 bars ago, and does so with HH
  • VWAP Moving Averages (experimental) - See if you can get anything out of it. Basically strong uptrends form when the price is over certain color moving averages. They move faster when the momentum of the VWAP is higher (slope is steeper).


How to use:
- Settings that are chosen are a lookback period of 10 bars and 10 signals of exhaustion, where exhaustion is set to count when close is > close[4] for bull bars ago and close < close[4] for bear. This means a reversal can be around the corner. If the market uses it as resistance, take trades at or near it and also for support. If the price breaks through, close your trade and wait.
- Use higher timeframes or experiment with "HH/LL over what Period?" parameters
- If you have binary set to true and price breaks s/r get out, I'll add a stop-loss feature soon, to alert you automatically
- Don't use too many indicators at once, there's a lot and I'll add more as time goes on
發行說明
Recode...
發行說明
Readded the feature to color bars based on trend. On by default, to turn off check bottom of settings.
發行說明
Fixed another small bug****

How to read bar colors:
Orange - Bearish exhaustion signal
Blue - Bullish exhaustion signal
Yellow - Volume spike
Green - Bullish trend, when price is over exhaustion levels
Red - Bearish trend, when price goes beneath exhaustion levels

Overall trend can be seed with shaded BLUE/RED adaptive moving averages (MESA)
發行說明
Removed minor code bug*
發行說明
Added better tool tips to provide better instructions for these indicators.
Added more options to turn things off and improved settings menu some more.
Turned off EMA bands by default, they can be turned on in settings.
發行說明
Added another option to turn on just EMA Bands or EMA Dots.

The Bands will plot EMA Moving Averages of length 20 for the high, low, and closes.
The dots will plot an EMA of the highest low over 10 bars - lowest high over 10 bars + close.
EMA((ta.highest(low, 10) - ta.lowest(high, 10)) + close), 10)
發行說明
Removed some commented code.
發行說明
Features Added:
Binary Signals - will produce alternating long/short signals
Changed Labels to Triangles

Notes:
You can turn off certain signals so if things are cluttered just reset the default settings to your choosing.
發行說明
Just fixed some stuff and added some more settings for features.
發行說明
Fixed some typos on the menu.
發行說明
NEW FEATURE :D
Under testing

Most are off by default, check in settings. I don't want to overwhelm people who don't care.

Okay, so I added another exhaustion script for higher timeframes and a super position signal that will check both timeframes for signals.
I would use 2-6x the current timeframe for this as you're checking higher timeframes for sell signals while watching for lower timeframe ones.

Say you're on 1 hour timeframe and you have 4 hours set on the higher timeframe option. When you turn on Super Position you will get signals when BOTH the 1 hour and 4 hour exhaustion bars hit.

Lmk if you have questions.
發行說明
Fixed higher timeframe signals. They now should show the signals for any timeframe you want.
ToDo:
Fix the support and resistance lines
發行說明
Fixed connection between higher time frame resistance line plots. Thx to user who brought it to my attention. :)
發行說明
Renamed: Trade Suite (tsuite)
  • Recoded script
  • Reformatted UI
  • Added colored backgrounds for trends
  • Added more alerts
  • Added strategies for MESA (moving averages)
  • Added retests of exhaustion levels (forming stronger S/R)
發行說明
  • Improved MESA Function
  • Added background colors for over and undersold Wavetrend conditions.
發行說明
  • Added volume smoothing for the mesa function with toggles.
發行說明
Excited to introduce a new feature to our Trade Suite indicator: Dynamic Thresholds for the WaveTrend component!

New Features:
1. Dynamic Z-Score Thresholds: The indicator now uses adaptive thresholds for detecting oversold and overbought conditions, making it more responsive to changing market conditions.
2. Customizable Percentiles: Users can now adjust the percentiles used for calculating the dynamic thresholds.
3. Absorption Detection: Added a simple RSI divergence to detect potential absorption, which can signal imminent reversals.

How to use:
- The dynamic thresholds are automatically applied to the WaveTrend indicator.
- New input parameters have been added to the "Wavesignal" group:
- "Lookback Period": Controls the number of bars used for calculating percentiles (default: 100)
- "Nearest Rank Percentage": Used in percentile calculations (default: 90)
- "Lower Percentile": Sets the lower threshold for oversold conditions (default: 5)
- "Upper Percentile": Sets the upper threshold for overbought conditions (default: 95)

These new features enhance the WaveTrend indicator's ability to adapt to different market conditions and potentially provide more accurate signals. Experiment with the new parameters to find the optimal settings for your trading style and the assets you're trading.

Turn it on with "Wavetrend BG Signals". This will highlight oversold and overbought conditions where strong absorption is taking price, this can be used to pinpoint spots to add to or re-enter trends.

As always, we recommend thorough backtesting and forward testing before using any new features in live trading.
發行說明
Fixed some minor bugs
發行說明
  • Added a UI
  • Background signals for wavetrend have been modified.


快照
發行說明
  • Enhanced the display table.
algorithmbotsdetectionLONGOscillatorsshortsignalsStandard DeviationtrendTrend Analysis

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明