在脚本中搜索"LazyBear"
4CMACDSqueezeFrankenstein script i made using a regular macd, 4c macd by vkno422, and Squeeze by LazyBear
RSX FracticalityA little project I was working on to avoid studying for finals. Using LazyBear's RSX code for a smoother RSI, then taking the RSX of fib number lengths. Take the average of that, then the JMA of that from the same fib numbers. The average of that is then treated as the trend, take the average of the trend values from the main time frames, the script calls pretty far back so adding a W or M TF I think would throw the calculations off. Then I smoothed that value using the jma's to create the overall trend. I got the idea from Ehler's Empirical Mode Decomposition about identifying peaks and valleys and creating an average of that to create a range. The idea is that if the trend is above the Average Peak then it is a bull trend, less than the average valley it's a bear trend, in between it's ranging. It looks like it turned out alright, I'll be working on this idea of fractals a lot this summer to see if I can improve it or build something better off of the idea.
Value Chart and RSI2 with AlertBased on LazyBear's and TheMightyChicken's Value Chart.Value Chart is used as a signal in Hubba-Hubba Style strategy.
You can trigger Alarm when extreme level exceeded. Also the indicator monitors value of RSI2 and draws dot if value exceeds top or bottom of RSI level
RSI/MFI with Volatility Bands [LazyBear] with names I just add the names of the plots to configure the alerts by knowing the names .
Pair Strength BasketAgain thanks to LazyBear for bringing over the wavetrend indicator and glaz for the idea of the basket of currencies. This is a power index based on the wavetrend indicator, I cut it down to 5 securities per currency since the limit of securities I could call was 40. I like to use to see which pair is the most OB/OS as it likely presents the best profit potential.
AUD = Yellow
CAD = Gray
CHF = Maroon
EUR = Blue
GBP = Red
JPY = Purple
NZD = Lime
USD = Green
Pair Strength EURUSDThis is an application of the WaveTrend indicator by LazyBear against a basket of the eur and usd to come up with a total eur and usd wt value. You can change the currencies by altering which pairs its run on. As far as changes I removed the lagging 4sma and altered the OB OS to be 2 and 3 standard deviations from a 1000sma just to get a stable view as to where the values tend to rise to. I've had some success using it over the past week or so, when dollar is OB an euro is OS you can expect EURUSD to go up as those reverse and vice versa.
Elastic Volume Weighted Moving Average with Trend and EnvelopesElastic Volume Weighted Moving Average (EVWMA) with Trend and Envelopes.
Original version by LazyBear, trend function by Shizaru, combination by Spreadburn.
Tops/BottomsUsing Modified code from Lazybear's CVI 0.17% indicator and some logic, this script can help identify value buy and sell opportunities at a very early phase. Best used as a confirmation tool. This is a beta, so use it as such. Enjoy.
Sometimes "top" indications in an uptrend mean to look for an opportunity to add to position while "bottom" indications during a downtrend can represent the same thing. The trend is your friend, use it to your advantage!
Red star above bar == potential top
Green star below bar == potential bottom
Fractal Resonance CompositeFractal Resonance Composite compresses 8 timescales of stochastic oscillators into just 3 color-coded composite lines: fast, medium and slow. Fast emphasizes the shorter timescale oscillators, medium considers all 8 timescales evenly, and slow emphasizes the longer timeframe oscillators. The composite lines indicate how overbought/sold the market is relative to the size of its recent movements. Major buys occur when all three composites enter the Oversold (green shaded) range and turn up, and major sells when all three reach the Overbought (red shaded) range and turn down. The fast line's quicker reversals and exaggerated alternations on smaller price moves makes it more fit for scalping. Notice the fast and medium lines tend to snap back toward the slow line like stretched rubber bands.
As is particularly apparent in the slow line, the nifty mathematics of the compositing process reconstruct the topology (peaks and valleys) of the underlying price curve in a smoothly distorted "cartoon" form that has a very useful property: the composite lines are confined to +-100% Extreme Overbought/sold oscillatory ranges. (By definition, only extremely rare "parabolic" moves can push all 3 composites beyond +-100%). If we knew that price would always stay confined to a certain range, trading would be much easier, no? Always buy the bottom of the range and sell the top!
How it works
To understand what's behind this nifty property, consider the mathematics of LazyBear's WaveTrend port .
The formula is fairly simple as indicators go yet statistically fundamental in a way that suggests it should have been the grandfather of all market stochastic oscillators. It's just a running average of the ratio:
(price's current deviation from it's mean)
-----------------------------------------------------------
(running average of absolute |price deviation from the mean| )
In formal statistics notation this is written:
E{ (X - E{X}) / E{|X-E{X}|} }
Where X is the price random variable and E{} the averaging or Expectation operator, implemented in this oscillator as exponential moving averages.
Conceptually, the denominator measures and normalizes by the typical size of recent price moves. This normalization process is what stretches or compresses the local price movements such that the whole composite curve can stay within the oscillatory range.
Attributes
The default fast=.6, medium=1, slow=1.4 compositing factors give each line visually distinct behavior, but can be tweaked to emphasize different oscillator "speeds".
Particular lines can be disabled by setting their line width to 0.
UltraTrendsFuschia is pivot down, yellow is pivot up, up is confirmed up, down is confirmed down, green is uptrend, red is downtrend, gray is no trend.
I recommend pairing this with:
Chaos 2.0This is pure chaos!
I just wanted 1 thing I can put on a chart to try to get a clearer picture of what is going on (and not take up all the indicator spaces a free user is allowed haha)
Many things going on from so many different users
honestly I'm sorry I cant shout out everyone whose code I have ever read and used in another project just for the sake of learning more about pinescript!
As a way of shouting everyone out! (and giving out my most useful and configurable system)
I give you... CHAOS
I originally got an Alligator, AO, and Fractal script from a user ChaosTrader, then realized I love using averages!
I added the MESA (lazybear?) and the McGinley Dynamic Range (sry idk) and a simple 233 SMA.
I also found about something called the www.prorealcode.com another user had created for Pinescript.
I really liked that script so I adapted it to do the same kind of signal printing for circles and squares (crosses and series)
Check it out tell me what you think and how I can make it better for everyone!
thanks all!
Snoop
Elliot Wave OscillatorEWO Indicator, helps to indentify waves
Similar like LazyBear's Indicator: ElliotWave Oscillator
I extended and changed the following:
Allow custom SMA interval default 5 and 35. Dont use EMAs
Choose input source: default close, f.e. use HL2
Show difference of SMAs in percent based on current candle default "true", this is very useful for historical charts
Candlestick Trend Indicator v0.5 by JustUncleLRequested Update to this Indicator alert project. In this update I have added the option to be able select which Price Action candles you want included in the display and the generated alarm Alert. Other changes also included in this update:
Also added a Price Action candle for "Last Fractal S/R Break", this also a good continuation indication.
Added option to select a different moving average types for directional MA line.
Modified some default settings, using HullMA instead of Zero Lag EMA and standard MACD settings(12,26,9).
Description:
This is a trend following indicator and alert for Binary Options based on Candlestick patterns and trend line -
NOTE: original system was a forex trading system.
This code combines a number of indicators to create an overall trading strategy.
The indicator recognises and displays some useful candle named defined patterns that are used to support trend continuation:
Bearish + Bullish PinBars
Dark Cloud Cover
Piecing Line
Bullish + Bearish Harami
Bullish + Bearish Engulfing Candle
Bullish + Bearish Last Fractal S/R break
Also recognises main Price Action candles from ChrisMoody (CM), the four(4) price action patterns are colored coded bars:
Yellow = Inside Bar - breakout/continuance
Orange = Outside Bar - breakout/continuance
Aqua/Fuschia = Up/Down Shaved Bars - Buying/Selling pressure
Red/Green = Possible reversal PinBars - Reverse Down / reverse Up
The highlighted candles (maroon and darker green) represent the defined PA patterns that have been confirmed following the current trend direction that is indicated by the Hull MA(20) line (can select a different type of MA, or even disable) and confirmed by MACD direction (can be disabled). The confirmed Alerts are indication by green (buy) and red (sell) dots at the bottom of the chart. An alert is generated from this selection for the alert condition of the alarming system.
The fractal upper/lower break lines are also draw, if the (optional) last fractal break line is broken by a highlighted bar then this indicates a stronger trend conformation.
The MACD indicator MACD DEUTER 2 colour(12,26,9) you can visually see the MACD histogram colours with MACD direction - needs "MACD DEUTER 2 colour" indicator.
This multi-indicator set up is suitable for 1hr, 4hr and daily charts with 1-4 candle expiry.
References and Inspiration from:
Fractal Levels by RicardoSantos
Almost Zero Lag EMA
Candlestick Patterns With EMA by rmwaddelljr
CM_Price-Action-Bars by ChrisMoody
www.forexstrategiesresources.com
"Scalp Jockey - MTF MA Cross Visual Strategizer by JayRogers"
STEEMSBD WaveTrendWaveTrend-Oscillator over synthetic STEEM/SBD based on STEEM/BTC and SBD/STB from Poloniex.
WaveTrend part is based on LazyBear's port of TS/MT indicator.
Squeeze Momentum with different time frameSqueeze Momentum from LazyBear with the option to change time frame
Yacine MA Bands ModMashed together the ema-bands from IvanLabrie with some moving average script stuff from ChrisMoody and LazyBear and this is the result. Credit goes to them, 'cause I don't know to how to code tbh. Just copy/pasted stuff untill I got the result I wanted.
Bands work as support/resistance among other things. You can use them to trade breakouts or reversals or whatever.
Combining them with a momentum indicator would probably be useful for timing divergence or OB/OS and stuff like that.
Included moving average types;
SMA
EMA
RMA
WMA
VWMA
HullMA
TilsonMA
TEMA
Not sure if all of them works as they should... y'know since I cant code/script. Looks good to me though.¨
Default should work pretty good for the DAX, But you'll probably want to fiddle a bit with the settings.
Here's a pic of how they can be used. Ofc everything looks simple in hindsight, but you get the point.
Squeeze Momentum Indicator [AJ]Modified LazyBear's indicator to display on top of price. This makes visualizing it much easier and allows you to clearly focus on price action along with the squeeze.
Kay_StochasticRSIThis is a different version of Stochastic RSI. the only difference is the use of variable moving average by Lazybear instead of regular sma for K smoothing.
Its purely an experiment. I am not a professional trader but an enthusiastic programmer trying different indicator combination to see different results.
Criticizing and negative comments will be gracefully accepted. :)
Appreciation will be even more. :)
ATR Pips [LazyBear] [Fixed by Elixium]This is ATR in pips. This was requested by user @ElixiumCapital on Twitter. ATRPIPs in his words:
How to use: Change the chart to the Daily time frame. The indicators value e.g. 0.0105 means that the average daily range of the past 5 trading days is 105 pips. (On standard pairs like EURUSD, GBPUSD)
"ATR PIPs is useful for finding markets with your desired amount of volatility, for example I prefer to trade forex pairs with the highest amount of volatility in the past 5 days, setting the length parameter to 5 days. And setting my stop loss at 25% to 33% of the the indicators value."
Fixed: Default parameters and a critical bug.
SN Smoothed Balance of Power v2Hi all,
here is an updated version of the indicator script I published yesterday.
The goal of this indicator is to try and find darkpool activity. The indicator itself is not enough to fully identify darkpool but it should be able to detect quiet accumulation. What makes this Balance of Power different from others on TV is that it is smoothed by using a moving average.
Notes:
- The values that are default are completely arbitrary except for the VWMA length (a 14-day period for the 1D chart is the norm). For instance the limit where it shows red/green I picked because it works best for the 1D chart I am using. Other TF's and charts will need tweaking of all the values you find in the options menu to get the best results.
- I modified the indicator such that it is usable on charts that do not show volume. HOWEVER, this chart is default to NYMEX: CL1!. To get different volume data this needs to be changed in the option menu.
- I am in no way an expert on darkpool/HFT trading and am merely going from the information I found on the internet. Consider this an experiment.
Credits:
- Lazybear for some of the plotting-code
- Igor Livshin for the formula
- TahaBintahir for the Symbol-code (although I'm not sure who the original author is...)






















