SHAAKUNI INDICATOR//@version=5
indicator("Simple Moving Average Crossover", overlay=true)
// Input for Moving Averages
fastLength = input.int(10, title="Fast MA Length")
slowLength = input.int(20, title="Slow MA Length")
// Calculating Moving Averages
fastMA = ta.sma(close, fastLength)
slowMA = ta.sma(close, slowLength)
// Plotting Moving Averages
plot(fastMA, color=color.green, title="Fast MA")
plot(slowMA, color=color.red, title="Slow MA")
// Highlight Buy/Sell Signals
buySignal = ta.crossover(fastMA, slowMA)
sellSignal = ta.crossunder(fastMA, slowMA)
plotshape(series=buySignal, title="Buy Signal", location=location.belowbar, color=color.new(color.green, 0), style=shape.labelup, text="BUY")
plotshape(series=sellSignal, title="Sell Signal", location=location.abovebar, color=color.new(color.red, 0), style=shape.labeldown, text="SELL")
Indicateurs et stratégies
Smart Trend, Crypto - WORK IN PROGRESSDescription of the Script
This Pine Script is a trend-following trading indicator designed to help traders identify buy and sell opportunities while managing risk through take-profit (TP) and stop-loss (SL) levels. Here’s what the script does in detail:
Core Features:
1. Trend Detection Using EMA Crossover:
• Fast EMA and Slow EMA are calculated using adjustable lengths.
• A Buy Signal is triggered when the Fast EMA crosses above the Slow EMA (bullish trend).
• A Sell Signal is triggered when the Fast EMA crosses below the Slow EMA (bearish trend).
2. Support for Multi-Condition Signals:
• The script combines EMA crossovers, RSI levels, and ADX strength to determine signals:
• Relative Strength Index (RSI): Detects overbought or oversold conditions.
• Average Directional Index (ADX): Ensures trends have sufficient strength.
• Signals only trigger if all selected conditions are met.
Risk Management Features:
3. Stop-Loss Levels:
• Stop-loss levels are calculated based on a percentage distance from the last Buy or Sell Signal.
• For a Buy Signal, the stop-loss is set below the buy price.
• For a Sell Signal, the stop-loss is set above the sell price.
• These levels are plotted as horizontal lines on the chart.
4. Take-Profit Levels:
• Take-profit levels are calculated as a percentage distance from the last Buy or Sell Signal:
• For a Buy Signal, the TP level is above the buy price.
• For a Sell Signal, the TP level is below the sell price.
• Take-Profit Bubbles:
• Small bubbles appear on the chart at TP levels only for the current Buy or Sell Signal.
• This helps focus on the latest trade without cluttering the chart.
Visual Aids:
5. Background Highlighting for Trend Identification:
• The chart background changes color to reflect the detected trend:
• Green for a bullish trend (Buy Signal).
• Red for a bearish trend (Sell Signal).
6. Clear Signal Markers:
• Buy Signal: A green triangle below the price bar.
• Sell Signal: A red triangle above the price bar.
• These markers help visually identify signal points on the chart.
Customizability:
• Adjustable Parameters: The script allows the user to customize:
• EMA lengths, ADX threshold, RSI levels, TP percentage, and SL percentage.
• Preset Configurations: Quick settings for popular assets like BTC, ETH, and others.
Usage:
1. Buy and Sell Signals:
• Use the signals to enter long (Buy) or short (Sell) trades.
2. Risk Management:
• Follow the Stop Loss and Take Profit levels to manage risk and lock in profits.
3. Trend Confirmation:
• Observe background colors and EMA lines to confirm trend direction.
This script provides a comprehensive tool for identifying trades, managing risk, and visually simplifying trend-following strategies. Let me know if you need further clarifications!
RSI-Bollinger-Volume-ATR-Trend Entry with Smart Money ConceptsЦей скрипт для TradingView на основі RSI, смуги Боллінджера, EMA, ATR, об'єму та концепції "Smart Money". Він враховує торгові сесії (Азія, Франкфурт, Європа, Нью-Йорк) для фільтрації сигналів і використовує рівні ордерних блоків для підтвердження входу. Сигнали купівлі/продажу відображаються стрілками.
Kalman Trend Levels [BigBeluga]Det är nog en sak som världens filosofer kan komma överens om, så snart du börjar grotta i vad meningen med livet är så mår du sämre. Samtidigt har forskning visat att en känsla av mening är starkt ihopkopplat med ett gott välmående, hur kan det komma sig? Det ska vi försöka bena ut i detta inlägg.
Det är egentligen ett viktigt budskap som vi önskar att alla människor får lära sig, nämligen att en känsla av mening inte kan uppstå bara sådär. Du behöver agera för att skapa mening i ditt liv. Det är inte meningen med livet du ska söka efter, utan du ska agera för att skapa ett meningsfullt liv. Känslan av meningsfullhet uppstår nämligen när du upplever att du har kompetens att ta dig framåt, när du inser att du kan göra skillnad och när du agerar för att hjälpa andra människor. Man skulle nästan kunna säga att meningen med livet är att skapa mening med ditt liv!
For the meaning of life differs from man to man, from day to day and from hour to hour. What matters, therefore, is not the meaning of life in general but rather the specific meaning of a person’s life at a given moment. – Viktor E. Frankl
Samtidigt är det viktigt att inse att du inte behöver rädda världen för att uppleva mening. Du bör istället lära känna dig själv och komma fram till vad som är viktigt för dig. Någon önskar att ta hand om barn och se dem växa upp till välmående och starka individer, en annan vill ta hand om djur genom att bli veterinär. Oliver i Malmö lägger större värde i att få spendera mycket tid med sina vänner och Hanna i Åmål föredrar att starta företag för att bidra till sitt lokalsamhälle. Vad som är viktigt för just dig kan bara du veta!
Här behöver vi dock tillägga ett stort MEN. Att som ung vuxen redan vara medveten om vad som skapar mening i ditt liv är ganska sällsynt. Visst finns det personer som har en klar bild av sin framtid sedan barnsben, du har säkert hört talas om den personen som alltid har sagt ”Jag vill hjälpa människor, jag ska bli läkare”, och som håller fast vid det fram till personen en dag står där med sin läkarlegitimation! Vi unnar verkligen de få personerna som tidigt vet vad de vill bidra med till världen, men majoriteten av ungdomar har sällan koll på hur de vill spendera sin tid ens ett år framåt. Vi kan dessutom vara ärliga och avslöja att väldigt få vuxna ens är medvetna om vad de vill göra i livet…
Så känn ingen stress genom att pressa dig själv att komma fram till vad du vill skapa för känsla av mening. Du behöver testa dig fram och undersöka vad som känns bra för dig. Samtidigt kan en coach hjälpa dig att bena ut dina tankar kring vad du tycker är meningsfullt, bland annat genom att landa i vilka värderingar du har just nu. Det du kommer fram till idag kanske är annorlunda om några år, men när du tar tid till att lära känna dig själv och är redo att förändras med dina erfarenheter så har du kommit otroligt långt på vägen. Och kanske kan du till och med göra det som krävs för att ska skapa en liten känsla av mening redan idag!
Även om det hade känts fint att avsluta inlägget där, så är det ändå en sista sak vi vill ta upp. Det är nämligen en sak som forskning har kommit fram till när det gäller känslan av mening, att den uppstår för de allra flesta när de hjälper en annan människa. Så om du känner dig lite vilsen, fundera då på vem du kan hjälpa idag. Dina föräldrar kanske skulle uppskatta hjälp med att vika tvätten, din kollega skulle bli glad om du bjuder på en god lunch eller så kan du bjuda personen bakom dig i kön på en kaffe. Med lite kreativitet finns det massor du kan göra för att i stunden uppleva en härlig känsla av meningsfullhet, genom att fokusera på andra människor!
AMOGH1this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,this is based on relative strength,
Global Liquidity Index (Billions USD)This Pine Script indicator calculates the total global liquidity by combining M2/M3 money supply data from major economies converted to USD. The final value is displayed in billions of USD.
This was inspired by Raoul Pal's (@RaoulGMI on X.com) work on global liquidity and its effect on markets.
Countries and Monetary Measures Used:
United States (USM2) - M2 Money Supply
China (CNM2) - M2 Money Supply
Japan (JPM2) - M2 Money Supply
European Union (EUM2) - M2 Money Supply
South Korea (KRM2) - M2 Money Supply
Canada (CAM2) - M2 Money Supply
India (INM2) - M2 Money Supply
Taiwan (TWM2) - M2 Money Supply
Great Britain (GBM2) - M2 Money Supply
Australia (AUM3) - M3 Money Supply
Features:
Time Offset: Allows shifting the data forward or backward by a specified number of bars but data pushed ahead of the chart data will be truncated.
Scale Range: Set to display between 50,000 and 100,000 billion USD
Overlay Option: Can be displayed as an overlay on the main chart
Left Scale: Uses the left price scale for values
Currency Conversion: Automatically converts all values to USD using real-time FX rates
Calculation Method:
Retrieves M2/M3 data for each country
Converts non-USD values to USD using current exchange rates
Sums all values
Divides by 1 billion for easier reading
Applies any time offset requested by the user
The indicator provides a comprehensive view of global liquidity by tracking approximately 80% of the world's monetary supply through these major economies.
Dynamic ATR Levels (Last Bar Only)Dynamic ATR Levels (Last Bar Only)
This script uses the ATR (Average True Range) indicator to create dynamic support and resistance levels for a specified timeframe. Key features include:
1. ATR Calculation: The script calculates the ATR value based on the user-defined timeframe and lookback period.
2. Dynamic Levels: Support and resistance levels are calculated by adding and subtracting the ATR value to/from the current closing price.
3. Last Bar Execution: Support and resistance levels are displayed only on the last bar of the chart.
4. Labels: The levels are displayed as labels on the chart, positioned to the right side of the price.
This indicator helps traders quickly identify volatility-based support and resistance levels.
AbhiramReddy_RSI, Stochastic, and MACD Combinedyou will get these indicators combine in one indicator
Pi Cycle Top & Bottom OscillatorThis TradingView script implements the Pi Cycle Top & Bottom Oscillator, a technical indicator designed to identify potential market tops and bottoms using moving average relationships. Here's a detailed breakdown:
Indicator Overview
Purpose: The indicator calculates an oscillator based on the ratio of a 111-day simple moving average (SMA) to double the 350-day SMA. It identifies potential overbought (market tops) and oversold (market bottoms) conditions.
Visualization: The oscillator is displayed in a standalone pane with dynamic color coding to represent different market conditions.
Inputs
111-Day Moving Average Length (length_111): Adjustable parameter for the short-term moving average. Default is 111 days.
350-Day Moving Average Length (length_350): Adjustable parameter for the long-term moving average. Default is 350 days.
Overheat Threshold (upper_threshold): Percentage level above which the market is considered overheated. Default is 100%.
Cooling Down Threshold (lower_threshold): Percentage level below which the market is cooling down. Default is 75%.
Calculation
Moving Averages:
111-day SMA of the closing price.
350-day SMA of the closing price.
Double the 350-day SMA (
𝑚
𝑎
_
2
_
350
=
𝑚
𝑎
_
350
×
2
ma_2_350=ma_350×2).
Oscillator:
Ratio of the 111-day SMA to double the 350-day SMA, expressed as a percentage:
oscillator
=
𝑚
𝑎
_
111
𝑚
𝑎
_
2
_
350
×
100
oscillator=
ma_2_350
ma_111
×100
Market Conditions
Overheated Market (Potential Top): Oscillator >= Overheat Threshold (100% by default). Highlighted in red.
Cooling Down Market (Potential Bottom): Oscillator <= Cooling Down Threshold (75% by default). Highlighted in green.
Normal Market Condition: Oscillator is between these thresholds. Highlighted in blue.
Visual Features
Dynamic Oscillator Plot:
Color-coded to indicate market conditions:
Red: Overheated.
Green: Cooling down.
Blue: Normal condition.
Threshold Lines:
Red Dashed Line: Overheat Threshold.
Green Dashed Line: Cooling Down Threshold.
White Dashed Line: Additional high-value marker at 30 for reference.
Alerts
Overheat Alert: Triggers when the oscillator crosses the overheat threshold, signaling a potential market top.
Cooling Down Alert: Triggers when the oscillator crosses the cooling down threshold, signaling a potential market bottom.
Use Case
This script is particularly useful for traders seeking early signals of market reversals. The thresholds and dynamic color coding provide visual cues and alerts to aid decision-making in identifying overbought or oversold conditions.
RSI Top & Bottom Warning [ZARMEN]An enhancement of my RSI Bottom Indicator.
This one finds you Tops & Bottoms.
This indicator uses the RSI and prints you top & bottom warnings directly on the price chart.
The other special thing about this is that the RSI pulls the data from the weekly chart no matter on what timeframe you are on.
The preferred timeframe can, of course, be changed in the settings as well as any thresholds for tops and bottoms.
The default settings are very good for btc, but be free to try and test this indicator with different settings on different charts.
Support and Resistance Levels TP/SLSupport and resistance levels are critical concepts in trading, often used to set Take Profit (TP) and Stop Loss (SL) levels. Here's a guide to effectively determine these levels:
1. Identifying Support and Resistance Levels
- Support Level: A price level where demand is strong enough to prevent the price from falling further. Think of it as a floor.
- Resistance Level: A price level where selling pressure is strong enough to prevent the price from rising further. Think of it as a ceiling.
Methods to Identify Levels:
- Horizontal Lines: Use historical price data to find levels where prices frequently reversed.
- **Trendlines**: Draw diagonal lines connecting higher lows (support) or lower highs (resistance).
- Fibonacci Retracement: Calculate levels based on key Fibonacci ratios (e.g., 23.6%, 38.2%, 61.8%).
- Moving Averages: Identify dynamic support and resistance based on moving average levels.
- Volume Profile: Spot areas of high trading activity, which often act as support or resistance.
---
2. Setting Take Profit (TP) Levels
- Conservative Approach: Place the TP level slightly below a resistance level to ensure execution.
- Aggressive Approach: Target higher levels, considering momentum and trend strength.
Example:
- Resistance at $50.
- Set TP at $49.80 to account for slippage or premature reversals.
3. Setting Stop Loss (SL) Levels
- Below Support: For long trades, set the SL slightly below the identified support level.
- Above Resistance: For short trades, set the SL slightly above the resistance.
Example:
- Support at $45.
- Set SL at $44.80 to allow for minor price fluctuations.
4. Risk-Reward Ratio
- Aim for at least a 1:2 risk-reward ratio (e.g., risk $1 to gain $2).
- Calculate TP and SL levels accordingly to maintain this balance.
5. Adjusting for Market Conditions
- Volatile Markets: Widen TP and SL levels to account for larger price swings.
- Stable Markets: Use tighter levels for precise risk management.
6. Automating TP/SL
- Use trading platforms to automate TP/SL placements, ensuring discipline and emotional control.
Would you like help applying this to a specific scenario or chart?
3 EMA Cross 9 EMA with Close ConfirmationThe 3x Exponential Moving Average Crosses the 9x Exponential Moving Average. Once the 3x closes above the 9x and then a subsequent candle closes above the 9x, this strategy goes long. This strategy exits once the candle closes below the 9x.
FT SessionsFT Sessions
Overview
The FT Sessions is a highly customizable and powerful indicator designed for intraday traders who focus on session-based analysis. This script visually highlights global market sessions—Asia, Frankfurt, London, and New York (AM & PM)—on the chart, making it easier to track session ranges and analyze intraday price movements.
Key Features
Customizable Session Times and Colors:
Define your own session times and assign unique colors for better visibility.
Session Range Visualization:
Displays high and low ranges for each session.
Optional transparent range areas with outlines for clarity.
Configurable session range labels for enhanced readability.
Flexible Timezone Settings:
Choose a UTC offset or sync with the exchange's timezone.
User-Friendly Customization:
Compact settings for easier adjustments.
Enable or disable specific sessions to focus on relevant market activity.
How This Script Differs from LuxAlgo
This script draws inspiration from LuxAlgo's session tracking concept but has been developed with significant modifications and unique features:
Built from Scratch in Pine Script v5:
Fully optimized for Pine Script’s latest version, improving performance and functionality.
Expanded Session Range Features:
Five unique sessions (Asia, Frankfurt, London, New York AM, New York PM) with customizable ranges, colors, and labels.
Real-time updating of session ranges for improved intraday analysis.
4H Timeframe Optimization:
Automatically notifies users if applied to an unsupported timeframe, ensuring session accuracy.
Highly Configurable Input Options:
Advanced timezone handling and compact session management settings.
Unique Coding Structure:
Designed to maximize efficiency and minimize resource usage on TradingView.
While LuxAlgo focuses on session concepts, this script brings a fresh, customizable approach specifically tailored for intraday traders seeking precision in tracking session activity.
How It Works
The indicator tracks price movements within each session.
Highlights the high and low range of each session directly on the chart.
Updates session ranges in real-time to reflect evolving market conditions.
Practical Applications
Intraday Trading: Plan trades based on major market session ranges.
Breakout Strategies: Use session high and low levels to identify potential breakouts.
Session-Specific Patterns: Spot consolidations and reversals within session activity.
Important Notes
Optimized for the 4H timeframe. If applied to another timeframe, a notification will appear.
Best used in combination with other tools (e.g., volume or trend indicators) for a complete trading strategy.
Credits
This script draws inspiration from LuxAlgo's open-source session-tracking methodology. However, it introduces substantial improvements and unique features that set it apart. Full credit is given to LuxAlgo for their original open-source concept.
Disclaimer
This script is for informational and educational purposes only. Always test on a demo account before applying to live markets.
FBands-Parthibanwhat is Faytterro Bands?
it is a channel indicator like "Bollinger Bands".
what it does?
creates a channel using standard deviations and means. thus giving users an idea about the expensive and cheap zones. It uses a special weighted moving average different from standard bollinger bands, it also averages not only price but also deviations.
how it does it?
it uses this formulas: