Rags2Riches BetaLearning PineCode with friend, please do not use for actual trading or back testing as this is for learning purposes and could cause significant loses due to frequent updates.
المتوسط المتحرك المحسن
percentage near moving averageit alert percentage near any moving average. now we can get some alert when price is near that moving average
MA PremiumMA Premium: Advanced Moving Average with Dynamic ATR Bands
MA Premium is a cutting-edge moving average indicator designed to help traders identify potential price reversal zones and optimize their trading strategies. The indicator combines a proprietary “Safety MA” with dynamic ATR-based support and resistance bands, visualized through clean lines and optional cloud regions.
Key Features
1. Proprietary “Safety MA”
The Safety MA utilizes a custom multi-layered EMA algorithm, providing a highly responsive and smooth trend line.
Dynamically adjusts to changing market conditions, offering clear signals for trend direction and potential reversals.
2. Dynamic ATR-Based Bands
Generates multiple support and resistance levels using advanced ATR calculations.
Bands represent zones of increasing market volatility and highlight potential price reversal areas, suitable for tiered trading strategies.
Visually separates overbought and oversold zones to assist in identifying critical price action points.
3. Customizable Settings
Adjustable Bandwidth: Scale the ATR bands dynamically using the Bandwidth Coefficient to align with market volatility.
MA Speed Selection: Toggle between “Fast,” “Medium,” or “Slow” settings to adjust the sensitivity of the Safety MA.
4. Intuitive Visualizations
Optional display of cloud lines and shaded regions to visually enhance support/resistance zones.
A clean and structured design ensures clarity in interpretation.
How to Use
Set the MA Type (“Fast,” “Medium,” or “Slow”) for desired responsiveness.
Adjust the Bandwidth Coefficient to match the current market's volatility.
The Safety MA acts as a dynamic trend-following tool.
Use the ATR-based bands to identify areas where price may react (e.g., potential reversals in overbought or oversold zones).
Employ the dynamic bands for tiered trade execution to manage risk and enhance entry/exit strategies.
Green bands highlight overbought zones (potential bearish reactions).
Red bands indicate oversold zones (potential bullish reactions).
Unlike traditional moving average tools, MA Premium introduces advanced dynamic band calculations and unique visual cues to help traders navigate market volatility effectively. Its adaptability and precision make it an invaluable tool for scalpers, swing traders, and long-term investors alike.
Note on Closed-Source Policy
As part of my development principles, I choose to publish my indicators as closed-source to preserve the uniqueness and integrity of the algorithms used. While the underlying logic remains private, the detailed description provided ensures that traders can fully understand the purpose, functionality, and application of the indicator. This approach allows me to focus on delivering original tools that add value to the trading community.
Disclaimer
This script is provided under the Mozilla Public License 2.0 and is intended for educational purposes only. It should not be construed as financial advice. Always combine this indicator with additional market context and use sound risk management practices.
Abz Simple TrendThe goal of this indicator is to provide an "at-a-glance" trend-oriented moving averages indicator that helps with medium and long term trades and investments.
It should work on any chart timeframe but is intended for people interested in how the price is trending over longer timeframes.
Everything in the indicator is calculated against a weekly chart. This means if you're viewing it on another chart timeframe, such as the daily chart, the indicator will show the lines in the same places.
This indicator is intended to be easy enough for people without significant technical chart reading knowledge: Red means the market momentum is likely negative. Green is "bullish".
This is a lagging indicator. If you're new, this may seem like a bad thing, but markets eventually "revert to the mean". They tend to overshoot up and down from major trend lines, but eventually reconnect.
The indicator tracks 4 different moving averages:
- The Main moving average that is the thick, bright line on the chart
- The momentum line
- The 28w moving average (with smoother applied)
- The slow moving average (200w with special filters and smoother applied). This is the final mean reversion line.
The indicator is set up with multiple alerts and you can adjust everything via the settings.
Just remember that no indicator is a "cure all". You should not blindly trade based on the signals this gives out. It is not optimized to be the perfect trading bot but it will help to validate or invalidate your decisions. It's my favorite "at-a-glance" indicator, but I always look at the price action and see when the price reverses as that will occur before the indicator confirms it.
Other indicators that may help you confirm your decisions include: Volume, MACD, and RSI (especially when you understand divergences between the price action and the RSI).
Ultimate Volatility RateUltimate Volatility Rate
This indicator measures the volatility of price movements.
Support and Resistance Identification:
High volatility periods indicate larger price movements, which can be useful in assessing the potential for support and resistance levels to be broken.
Stop Loss (SL) and Take Profit (TP) Calculations:
The average volatility can be used to calculate dynamic Stop Loss (SL) and Take Profit (TP) levels:
SL: Placing it at a certain volatility multiplier below/above the entry price.
TP: Setting it at a certain volatility multiplier below/above the entry price.
For example:
SL: Entry price +/- (UVR × 1.5)
TP: Entry price +/- (UVR × 2)
Market Condition Analysis:
When the indicator value is high, it suggests that the market is volatile (active).
When the value is low, it indicates the market is in consolidation (sideways movement).
This information helps traders decide whether to take trend-following or consolidation-based positions.
Trend Reversal Monitoring:
A sudden increase in volatility often signals the start of a strong trend.
Conversely, a decrease in volatility can signal the slowing down or end of a trend.
Custom RSI with RMA SmoothingCustom RSI with RMA Smoothing is smoothing the classic Relative Strength Index to enhance the effectiveness of using the RSI for trend-following through noise reduction.
Principle:
1. RSI is smoothed by the Rolling Moving Average (RMA) and averaged Gains & Losses instead of the classic RSI calculation.
2. A RMA is plotted over the RSI where the crossovers can be entry and exit points.
How is RSI smoothed by the RMA:
1. Outside the common price sources a few new options like hhhlc or hlcc can be chosen where the emphasis is more on the high or the close of the chosen period.
2. Calculation of Price Change: After selecting the price source, the indicator calculates the price change by subtracting the previous period's price from the current price.
3. RMA Smoothing of Price Change: The key step in smoothing the RSI is the application of the Running Moving Average (RMA) to the price change. The length of this RMA is set by the user and determines the extent of smoothing. RMA is a type of moving average that gives more weight to recent data points, making it more responsive to new information while still smoothing out short-term fluctuations.
4. Determining Gains and Losses: The smoothed price change is then used to calculate the gains and losses for each period. Gains are considered when the smoothed price change is positive, and losses when it is negative.
5. Averaging Gains and Losses: These gains and losses are further smoothed by calculating their respective RMAs over the user-defined RSI length. This step is crucial as it dampens the impact of short-term price spikes and drops, giving a more stable and reliable measure of price momentum.
6. RSI Calculation: The standard RSI formula (100 - ) is then applied to these smoothed values. This results in the initial RSI value, which is already more stable than a typical RSI due to the previous smoothing steps.
7. Final RMA Smoothing of RSI: In a final layer of refinement, the RSI itself is smoothed using another RMA, over a length specified by the user. This additional smoothing further reduces the impact of short-term volatility and sharp price movements, providing a more coherent and interpretable RSI line.
ALMA Smoothed Gaussian Moving AverageThis indicator is an altered version of the Gaussian Moving Average (GMA) (Credit to author: © LeafAlgo ). The GMA applies weights to the prices, giving more importance to the values closer to the current period and gradually diminishing the significance of older prices. The ALMA Smoothed Gaussian Moving Average (ASGMA) applies an ALMA smoothing to its price data to minimize lag and provide a more accurate representation of the underlying trend by dynamically adapting to changing market conditions. The Arnaud Legoux Moving Average (ALMA) is a specialized smoothing technique that adjusts the weights of the moving average based on market volatility. Its calculation uses Wavelet Transform techniques which enables this type of smoothing to capture both high-frequency and low-frequency components of a signal or data. The rationale for this mashup between ALMA and Gaussian filtering is to smooth the moving average line over the smoothed price data and produce stronger trend signals.
ASGMA serves as a trend-following indicator, identifying both bullish and bearish trends. It provides buy and sell signals indicated by "B" and "S" labels plotted alongside the price data. Additionally, the ASGMA's Exponential Moving Average (EMA) line alternates between green and red, indicating bullish and bearish momentum, respectively.
The ASGMA also incorporates two popular momentum indicators, the Relative Strength Index (RSI) and the Chande Momentum Oscillator (CMO). The inclusion of these indicators aims to enhance trend identification and reversal signals. For a strong buy signal, all three indicators (RSI, CMO, and ASGMA) must indicate bullish conditions, resulting in a vertical green line. Conversely, a vertical red line is plotted when all indicators indicate bearish conditions, representing a strong sell signal.
The ASGMA, with its unique combination of smoothing techniques and indicator amalgamation, provides traders and investors with powerful analytical tools. It can be applied in trend-following strategies using the regular buy and sell signals generated by labels and the EMA line. Alternatively, the vertical lines offer stronger buy and sell signals. These features aid in identifying potential entry and exit points, thereby enhancing trading decisions and market analysis. However, it is important to remember that the future performance of any trading strategy is fundamentally unknowable, and past results do not guarantee future performance.
Moving Average Scalper by nnamdertWhat does this Indicator Do?
By request and popular demand, I have created a quick and easy Moving Average Crossover Scalper Indicator. This indicator simply allows the trader to visualize scalping opportunities in an easy way using MA crossovers.
The Indicator also plots multiple higher moving averages via an "optional" table. The table gives a quick glance at the overall trend (based on moving Averages alone).
Users can adjust the initial Moving Average Length and the number of additional Moving Average Lengths to be plotted on the chart.
How do I use it?
As shown below, the cross overs are very easy to see. The Stoploss "should" be set at the most recent swing high or low prior to the MA Cross.
The dotted yellow line must cross above or below the thick mutli-colored line in order to be considered valid.
As seen in the screenshot below, an optional input setting turns ON / OFF additional Moving Average "Lines" and plots them on the chart. In addition, the indicator color fills between the moving averages based on Bullish or Bearish movement. If the lines are in continuity, then the color will be either RED or GREEN depending on the market sentiment (bull or bear).
The total number of Moving Averages listed in the table can be manually adjusted in the settings by the user. The table is small and see-through so it works on mobile devices as well and allows the user to still see the candles easily. Simply double clicking on the table will bring up the settings.
As shown below, the table can be relocated to a position acceptable to the user if it is in the way. This option is available under input settings.
I hope this indicator proves useful for you and your trading style. If you have any suggestions please let me know.
DojiCandle body size RSI-SMMA filter MTF
DojiCandle body size RSI-SMMA filter MTF
Hi. I was inspired by a public script written by @ahmedirshad419, .
I thank him for his idea and hard work.
His script is the combination of RSI and Engulfing Pattern.
//------------------------------------------------------------
I decided to tweak it a bit with Open IA.
I have changed:
1) candle pattern to DojiCandle Pattern;
2) I added the ability for the user to change the size of the candlestick body;
3) Added SMMA 200;
4) Changed the colour of SMMA 200 depending on price direction;
5) Added a change in the colour of candlesticks, depending on the colour of the SMMA 200;
6) Added buy and sell signals with indicator name, ticker and close price;
7) Added ability to use indicator on multi time frame.
How it works
1. when RSI > 70 > SMMA 200 and form the bullish DojiCandle Pattern. It gives sell signal
2. when RSI < 30 < SMMA 200 and form the bearish DojiCandle Pattern. It gives buy signal
settings:
basic setting for RSI, SMMA 200 has been enabled in the script to set the levels accordingly to your trades
Enjoy
PAC newThis indicator will alert you when a candle goes above or below the price action channel (PAC) but only on the first or second candle after a colour change in candle.
When price is above the price action channel that is a bullish sign, when price is below the PAC that is a bearish sign.
The idea is that a sudden change in price is a cause to investigate further price action moving in that direction so the indicator aims to identify reversal
Scalping strategy that works on 5 min chart and aims to gain 10 pips. Do not act on every signal. Further investigation is required, for example by looking at RSI oversolf and overbought levels. For example, at an oversold area, a buy signal is more valid
Tunable SWMADissected the standard SWMA function and added options for user to change just about every part of it. Weights ,Lookback ,Source can all be changed in the settings.
Green is the standard SWMA, Using the Input value selected.(MAs/LRC/VWAP)
Red is the tuned SWMA, with the option of applying a final Output filter (MAs/LRC/VWAP). Uses 8 datapoints instead of 4 for the default.
Customization can really help expand upon the standard SWMA I find. Enjoy tuning to your hearts content
Tracert Trend[s3]Variable Moving Average(VMA) with a view of the trend based on the VMA on multiple timeframes. The Variable Moving Average (VMA) is a study that uses an Exponential Moving Average being able to automatically adjust its smoothing factor according to the market volatility . The timeframes of the indicator must be set to a higher timeframe than whatever timeframe your chart is set to to work properly. Example(default): Trading on the 15m timeframe so have the timeframes set to: 1) Chart 2) 30m 3) 45m 4) 60m
Green line of VMA = uptrend in price action
Red line of VMA = downtrend in price action
White line of VMA = indecision in price action
Green candles = uptrend and above VMA
Red candles = downtrend and below VMA
White candles = indecision or chop in price action
Green symbol below candle = all six timeframes are above the VMA
Red symbol above candle = all six timeframes are above the VMA
No symbol above or below candle = indecision amongst the six timeframes
[_ParkF]MA_PackageThis indicator is a comprehensive set of moving averages.
All settings are handled in the input menu.
1. 6 moving averages are included.
2. You can edit the source of 6 moving averages.
3. You can change the type of each moving average line.
4. You can change the period value of each moving average line.
5. You can change the color of each moving average line.
6. You can change the thickness of each moving average line.
7. The predictive value of each moving average line will be displayed as a dot, and this value will be changed according to the type of the moving average line.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
이 지표는 이동평균선의 종합선물세트 입니다.
모든 설정은 input 메뉴에서 다뤄집니다.
1. 6개의 이동평균선이 포함 되어 있습니다.
2. 6개의 이동평균선의 소스를 수정할 수 있습니다.
3. 각각의 이동평균선의 타입을 변경할 수 있습니다.
4. 각각의 이동평균선의 기간값을 변경할 수 있습니다.
5. 각각의 이동평균선의 색상을 변경할 수 있습니다.
6. 각각의 이동평균선의 두께를 변경할 수 있습니다.
7. 각각의 이동평균선의 예측값이 점으로 표시될 것이고 이 값은 해당 이동평균선의 타입에 맞춰 변경됩니다.
Market Bias (CEREBR)Hello Everyone. I hope you are all doing great. It's been a long time since I posted my first script here, and I got a lot of response from that.
So, I thought I should share this script also to everyone, and anyone that may find it useful. Personally, I use it to tell the general market conditions.
Here's how I works : The script tries to determine the overall direction of the market, using smoothed Heiken Ashi candles. The coloring system (using bright and dark colors) is an attempt to detect strong market and weak market conditions. There's also an oscillator within the script, but for now it isn't plotted. Credits to @jackvmk, I used part of his open-script code in this indicator.\
I have considered using the slope of the indicator plot as a filter for ranging market conditions. The plot goes relatively flat in 'flat' markets. However, I have not done anything about that yet. Maybe some other time.
I hope you find this useful. If you find a way to use this, please share it with the community in the comment section.
NOTE: THIS IS BY NO MEANS FINANCIAL ADVICE. You'll have to make your studies and come up with a way to apply this indicator to your trading style and strategy.
By the way, I would be going with the name 'CEREBR' for any subsequent scripts I release from now on.
Happy Trading, guys.
Moving Average Suite + VWAP + TICKThis indicator combines some of the commonly used moving averages, VWAP, and TICK sentiment, all of which are useful for all types of trading
By default, this indicator includes:
- 21/50/100/200 period smoothed simple moving average
- great for determining trends
- also act as support / resistance line for price
- 9 period exponential moving average
- fast trend / direction indicator
- Volume Weighted Average Price
- no explanation required
- $TICK sentiment as background fill
- overall market sentiment and direction
- +/- 500 levels are colored green/red and are usually indication of institutional order flow --> critical for trading indexes such as SPY or QQQ
- deep green/red background indicates +/-1000 on the $TICK, which are usually associated with overbought or oversold
5 SMMA - by MiCryptoGives you the 5 most common SMMA for crypto in day trading:
- 10
- 21
- 50
- 100
- 200
This can be configured as you want.
Hope this can help you to get more indicators in a free plan.
TMA OverlayThis indicator help identify momentum by offering a visual representation of engulfing candlestick patters overlayed with smoothed moving averages
Moving Average ToolThe Moving Average Tool is the only indicator you will ever need to plot MA lines. It comes loaded with 9 different types of moving averages so traders can lay down any line at any length. There is also an option to plot a trigger line. Features: SMA , SMMA, EMA, LSMA, ZLSMA, HULL, LWMA, VWMA and ALMA. Simply pick an average type and enter the desired length.
MA Emperor insiliconot StrategyConverted EmperorBTC's EMA crossover indicator for easy backtesting and added ability to:
Specify time period for backtesting
Specify order quantity
Toggle original indicators (default off)
Quoting EmperorBTC:
Entry is to be made when the
1. Cross over gives a P(Positive Sign) and the candle completely closes above the cross-over
2. When the Heikin Ashi turns green and the next green HA candle goes above the previous green HA candle.
3. The price should be at-least above the 0.236 Level from the Swing high.
Kindly note that the strategy only attempts to do check number 1, where it ensures the entry opens above the cross-over.
MA Strategy Emperor insiliconotThe Script offers 9 different EMAs with 14 different MA types.
The make use of the script is to find the entry on the 1-4 hour altcoins while using the in-built 13/21 crossover strategy to be used in sync with Heikin Ashi cross-over with Fib levels of 0.236 Fib level.
How to use it.
Entry is to be made when the
1. Cross over gives a P(Positive Sign) and the candle completely closes above the cross-over
2. When the Heikin Ashi turns green and the next green HA candle goes above the previous green HA candle.
3. The price should be at-least above the 0.236 Level from the Swing high.
All the Best.
EmperorBTC
ZLEMA Zero lag EMA with Kalman filter [Morty]This indicator plot 3 Kalman filter zero lag EMA lines. It has less lag and is also smoother than the original EMA.
It also has an option to show the crossover of two EMAs.
SPY Ninja
SPY Ninja correlates the true strength index exponential moving averages of SPY and VIX together. In doing so we can determine the start of trend shifts via SPY / VIX convergence in addition to crossover, with potential market entries and exits represented by the LONG and SELL signals.
SMMA 50,100, and 200 have been added to chart due to the historic SPY market reactivity to these moving averages. They often act as natural support and resistance levels with SPY, and when coinciding LONG and SHORT signals appear touching any of these levels, it adds an extra layer of confidence for traders' decisions. Also, by highlighting the areas on our SPY chart (red background areas) that represent a VIX threshold higher than 25, we can bring attention to areas with potentially higher volatility immediately so that traders know to proceed with caution.
SPY Ninja works harmoniously with the SPY Ninja Oscillator; Ninja provides the signals highlighting risky VIX areas of concern, while the Ninja Oscillator adds an additional 3 levels of potential confirmation for your trade decisions.
Fishing with SignalsFishing with Signals
HOW DOES IT WORK?
Fishing with Signals comprises of 3 indicators
1) Buy / Sell Signals
2) Band for Trend Recognition
3) ADX-DI Trend Identifier
Indicator 1 == Buy / Sell Signals
The signals are based on moving average exponential rectified by the previous high and low break at any real-time, it recognises the previous specified moving average deviation. If the predefined high and lows are broken along with current candle is closed below the specific moving average then sell is given and vice-versa for buy. The settings are not editable.
Indicator 2 == Band for Trend Recognition
The band comprises of 200 moving average with exponentially smoothening feature, there are three lines one can identify the trend if candles are below or above the band
Indicator 3 == ADX-DI Trend Identifier
The indicator gives a multiplication of ADX and the DI+ and DI-values, colour coded for bullish or bearish momentum and shows general market direction and divergence in a simpler visual way than the normal ADX-DI lines, a threshold value cannot be edited. The indicator is plotted relative to the 200 ema and can be seen as a "buffer" against price reversal. The ADX is used to indicate market direction, the existence or nonexistence of a trend and market momentum. Market direction is determined by the levels of the +DI and -DI. The ADX indicator, which varies in value from zero to 100, is the primary momentum indicator, default value is kept at +40 and -40. If the ADX is lowering or rising the DI line plotted will be moving as directed with change in colour and background filling. The Line hovering below and above the "buffer" is changing the colour with rising as navy and falling as maroon with intermittent colour of red and lime which also shows reversal.
HOW TO use the indicator?
For SHORT ==If the candles are below the Band for Trend Recognition and ADX-DI Trend Identifier is lowering and if the SELL SIGNAL comes one can go short with stop-loss be the close above top band and with momentum be positive.
For LONG == If the candles are above the Band for Trend Recognition and ADX-DI Trend Identifier is growing and if the BUY SIGNAL comes one can go Long with stop-loss be the close below lower band and with momentum be negative.
CAUTION!! : There will be false buy / sell signals also, where user have to verify with the other two indicators, for confirmation.
TARGET in any call = If the trend is up and buy signal comes then target may be trailed till next signal or close below band and vice versa for sell side.
USER OPTIONS : Choice of turning on / off the three indicators.
VISUAL CHECKS - The user could manually validate the back test results on various assets they would like to use this strategy on before putting it live.
USAGE MARKETS : Index Trading / Equities and also well with Commodities and Currencies.
TIME FRAME : Timeframe maybe any and as the user likes, still it works well with 5 min for less signals.
SETTING THE ALERTS : - Buy and Sell Signal alerts are advisable.
HOW TO GET ACCESS
Please click on the link / email available in the signature or send me a private message to get access.
FEEDBACK
Please click on the link/email in the signature or send me a private message for suggestions/feedbacks.
DISCLAIMER.
I AM NOT A FINANCIAL ADVISOR. THESE IDEAS ARE NOT ADVICE AND ARE FOR EDUCATION PURPOSES ONLY. ALWAYS DO YOUR OWN RESEARCH!
Utmost Care is taken to implement the suggestions of users and also tried to keep the chart neat and clean.
Greetings!!
Drop a mail to edgineer@yahoo.com or Drop a personal message for access.
Questions, Help, Discussion -> Telegram: Telegram: @miteysh