Triple EMA with Supertrend by Mr. Debabrata SahaThis script has 2 multi-timeframe EMA and one current time frame EMA, although EMA period will be the same in all time frame also it has a SUPERTREND which indicates BUY and SELL on the chart. Also it has a feature of background colour, and background colour is defined as per the trend of Higher Time-frame 2.
Concept
Lifetime High Drop IndicatorThis Pine Script is designed to create a TradingView indicator called "Lifetime High Drop Indicator" that helps identify candles that have dropped a specified percentage from the lifetime high within a defined lookback period.
Here is a detailed explanation of the script:
Indicator Declaration:
pine
indicator(title="Lifetime High Drop Indicator", shorttitle="LTH Drop", overlay=true)
This line defines the indicator title, short title, and specifies that the indicator should be overlaid on the price chart.
User Inputs:
pine
lookbackPeriod = input.int(20, title="Lookback Period (Days)")
dropThreshold = input.float(20, title="Drop Threshold (%)")
These input statements allow the user to input the lookback period in days and the percentage drop threshold for identifying qualifying candles.
Variable Initialization:
pine
var float lifetimeHigh = na
var int recentQualifiedBar = na
These lines initialize variables to store the lifetime high price and the index of the most recent candle that meets the drop threshold.
Lifetime High Calculation:
pine
if na(lifetimeHigh) or high > lifetimeHigh
lifetimeHigh := high
This block of code updates the lifetime high value whenever a new high is encountered.
Percentage Drop Calculation:
pine
currentDropPercent = (lifetimeHigh - close) / lifetimeHigh * 100
Calculates the percentage drop from the lifetime high for each candle.
Highlight Condition Logic:
pine
highlightCondition = (currentDropPercent >= dropThreshold) and (bar_index >= (last_bar_index - lookbackPeriod))
Defines the logic for identifying candles within the lookback period that meet the threshold for a significant drop from the lifetime high.
Update Recent Qualified Bar:
pine
if highlightCondition
recentQualifiedBar := bar_index
Updates the index of the most recent candle that meets the drop threshold.
Plot Shapes and Labels:
pine
plotshape(series=highlightCondition, location=location.belowbar, style=shape.triangledown, size=size.tiny, color=color.green)
if highlightCondition
label.new(bar_index, low - 3, text=str.tostring(currentDropPercent, '0.0') + "%", style=label.style_label_up, size=size.tiny, color=color.new(color.green, 0), textcolor=color.black, yloc=yloc.belowbar)
Plots a down arrow shape and a label for all candles that meet the drop threshold.
Updating the Lifetime High Line:
pine
var line l = na
if bar_index == 0
l := line.new(x1=bar_index, y1=lifetimeHigh, x2=bar_index, y2=lifetimeHigh, color=color.blue, width=1, extend=extend.right)
else
line.set_xy1(l, x=0, y=lifetimeHigh)
line.set_xy2(l, x=bar_index, y=lifetimeHigh)
This code keeps the lifetime high line up-to-date across the chart by either creating a new line or updating the existing line.
Overall, this script calculates the percentage drop from the lifetime high for each candle, highlights candles that meet the drop threshold within the specified lookback period, and provides visual clues on the price chart for these qualifying candles.
Breaks and Retests [HG]Breaks and Retests with MAs Crossover.
This Indicator provides support and resistance levels with breaks and Retests with probable Retests. Along with this I have combines multiple simple moving averages which provides the proper clarification of the price movement.
Trading Strategy:
Price shows long when all the moving averages are upside with break of the level. Short when all the moving averages are downside with break alert.
Disclaimer:
This Indicator I have made for my personal use and for educational purpose only.
Breaks and Retests with Simple Moving Averages Crossover Alerts Combination of Support and Resistance with Breaks by HOANGHETTI, and Simple Moving Averages Crossvers.
Custom Scalping Indicator with Volume SpikesCustom Indicator using AI by AVM
This is a beginner-friendly custom trading indicator designed for short-term scalping strategies on platforms like TradingView. It is tailored to work on 1-minute, 3-minute, 5-minute, and 15-minute timeframes, providing clear Buy and Sell signals based on momentum, trend, and volume spikes.
Key Features:
EMA Crossovers:
Uses two Exponential Moving Averages (EMAs) to identify short-term trend changes.
A Buy Signal is generated when the shorter EMA crosses above the longer EMA.
A Sell Signal is generated when the shorter EMA crosses below the longer EMA.
RSI (Relative Strength Index):
Helps identify overbought and oversold conditions.
A Buy Signal is reinforced when RSI is below a specified level (e.g., 30).
A Sell Signal is reinforced when RSI is above a specified level (e.g., 70).
Volume Spike Detection:
Detects sudden increases in market activity by comparing the current volume to the average volume.
Only generates signals when significant volume spikes occur, ensuring trades align with strong market interest.
Visual Signals:
Green arrows below candles indicate Buy Signals.
Red arrows above candles indicate Sell Signals.
Volume spikes are plotted in the volume chart below, highlighted for easy identification.
Customizable Inputs:
Adjust EMA lengths, RSI levels, and volume spike sensitivity to suit your trading style.
How to Use:
Timeframes: Best suited for short timeframes like 1-minute, 3-minute, 5-minute, and 15-minute charts.
Buy/Sell Decision:
Enter a Buy when a green arrow appears (confirming EMA, RSI, and volume spike alignment).
Enter a Sell when a red arrow appears (confirming the same conditions for selling).
Profit Targets:
Use predefined small profit targets (e.g., £15, £30, £50) and stop-losses based on volatility.
EMA (10/20/50/200) with table and zone by Mr. Debabrata Saha1. This indicator consists of 10/ 20/ 50/ 200 EMA.
2. It has also multi timeframe information.
3. It has a table which indicates in multi timeframe where the price is (above or below).
4. It has also EMA based bearish and bullish zone information in multi timeframe
EMA (10/20/50/200) with table and zone by Mr. Debabrata Saha1. This indicator consists of 10/ 20/ 50/ 200 EMA.
2. It has also multi timeframe information.
3. It has a table which indicates in multi timeframe where the price is (above or below).
4. It has also EMA based bearish and bullish zone information in multi timeframe
EMA (10/20/50/200) with table and zone by Mr. Debabrata Saha1. This indicator consists of 10/ 20/ 50/ 200 EMA.
2. It has also multi timeframe information.
3. It has a table which indicates in multi timeframe where the price is (above or below).
4. It has also EMA based bearish and bullish zone information in multi timeframe
Triple Supertrend by Mr. Debabrata SahaThis is a triple supertrend indicator, in which :- 01 current time frame and 02 multi timeframe supertrend are used
A. Supertrend of Current time frame
B. Supertrend of higher time frame 1
c. Supertrend of higher time frame 2
* it also has background colour, by seeing background colour it smoothen understanding of current trend.
Triple Supertrend by Mr. Debabrata SahaThis is a triple supertrend indicator, in which :- 01 current time frame and 02 multi timeframe supertrend are used
A. Supertrend of Current time frame
B. Supertrend of higher time frame 1
c. Supertrend of higher time frame 2
* it also has background colour, by seeing background colour it smoothen understanding of current trend.
Supertrend with Targets by Mr. Debabrata Sahathis is a SUPERTREND indicator with some added features.
this indicator normally gives buy and sell as other SUPERTREND does, but it also provides 1 to 8 targets and also provides entry price and stop-loss.
Also it has one extra higher time frame SUPERTREND indicator, which probably show higher time frame trend
OHLC OF D/W/M/W by Mr. Debabrata SahaThis is a OHLC indicator
This indicator have 04 types of OHLC:-
(a) OHLC of 1 Day
(b) OHLC of 1 Week
(c) OHLC of 1 Month
(d) OHLC of 1 Year
NWOG with FVGThe New Week Opening Gap (NWOG) and Fair Value Gap (FVG) combined indicator is a trading tool designed to analyze price action and detect potential support, resistance, and trade entry opportunities based on two significant concepts:
New Week Opening Gap (NWOG): The price range between the high and low of the first candle of the new trading week.
Fair Value Gap (FVG): A price imbalance or gap between candlesticks, where price may retrace to fill the gap, indicating potential support or resistance zones.
When combined, these two concepts help traders identify key price levels (from the new week open) and price imbalances (from FVGs), which can act as powerful indicators for potential market reversals, retracements, or continuation trades.
1. New Week Opening Gap (NWOG):
Definition:
The New Week Opening Gap (NWOG) refers to the range between the high and low of the first candle in a new trading week (often, the Monday open in most markets).
Purpose:
NWOG serves as a significant reference point for market behavior throughout the week. Price action relative to this range helps traders identify:
Support and Resistance zones.
Bullish or Bearish sentiment depending on price’s relation to the opening gap levels.
Areas where the market may retrace or reverse before continuing in the primary trend.
How NWOG is Identified:
The high and low of the first candle of the new week are drawn on the chart, and these levels are used to assess the market's behavior relative to this range.
Trading Strategy Using NWOG:
Above the NWOG Range: If price is trading above the NWOG levels, it signals bullish sentiment.
Below the NWOG Range: If price is trading below the NWOG levels, it signals bearish sentiment.
Price Touching the NWOG Levels: If price approaches or breaks through the NWOG levels, it can indicate a potential retracement or reversal.
2. Fair Value Gap (FVG):
Definition:
A Fair Value Gap (FVG) occurs when there is a gap or imbalance between two consecutive candlesticks, where the high of one candle is lower than the low of the next candle (or vice versa), creating a zone that may act as a price imbalance.
Purpose:
FVGs represent an imbalance in price action, often indicating that the market moved too quickly and left behind a price region that was not fully traded.
FVGs can serve as areas where price is likely to retrace to fill the gap, as traders seek to correct the imbalance.
How FVG is Identified:
An FVG is detected if:
Bearish FVG: The high of one candle is less than the low of the next (gap up).
Bullish FVG: The low of one candle is greater than the high of the next (gap down).
The area between the gap is drawn as a shaded region, indicating the FVG zone.
Trading Strategy Using FVG:
Price Filling the FVG: Price is likely to retrace to fill the gap. A reversal candle in the FVG zone can indicate a trade setup.
Support and Resistance: FVG zones can act as support (in a bullish FVG) or resistance (in a bearish FVG) if the price retraces to them.
Combined Strategy: New Week Opening Gap (NWOG) and Fair Value Gap (FVG):
The combined use of NWOG and FVG helps traders pinpoint high-probability price action setups where:
The New Week Opening Gap (NWOG) acts as a major reference level for potential support or resistance.
Fair Value Gaps (FVG) represent market imbalances where price might retrace to, filling the gap before continuing its move.
Signal Logic:
Buy Signal:
Price touches or breaks above the NWOG range (indicating a bullish trend) and there is a bullish FVG present (gap indicating a support area).
Price retraces to fill the bullish FVG, offering a potential buy opportunity.
Sell Signal:
Price touches or breaks below the NWOG range (indicating a bearish trend) and there is a bearish FVG present (gap indicating a resistance area).
Price retraces to fill the bearish FVG, offering a potential sell opportunity.
Example:
Buy Setup:
Price breaks above the NWOG resistance level, and a bullish FVG (gap down) appears below. Traders can wait for price to pull back to fill the gap and then take a long position when confirmation occurs.
Sell Setup:
Price breaks below the NWOG support level, and a bearish FVG (gap up) appears above. Traders can wait for price to retrace and fill the gap before entering a short position.
Key Benefits of the Combined NWOG & FVG Indicator:
Combines Two Key Concepts:
NWOG provides context for the market's overall direction based on the start of the week.
FVG highlights areas where price imbalances exist and where price might retrace to, making it easier to spot entry points.
High-Probability Setups:
By combining these two strategies, the indicator helps traders spot high-probability trades based on major market levels (from NWOG) and price inefficiencies (from FVG).
Helps Identify Reversal and Continuation Opportunities:
FVGs act as potential support and resistance zones, and when combined with the context of the NWOG levels, it gives traders clearer guidance on where price might reverse or continue its trend.
Clear Visual Signals:
The indicator can plot the NWOG levels on the chart, and shade the FVG areas, providing a clean and easy-to-read chart with entry signals marked for buy and sell opportunities.
Conclusion:
The New Week Opening Gap (NWOG) and Fair Value Gap (FVG) combined indicator is a powerful tool for traders who use price action strategies. By incorporating the New Week's opening range and identifying gaps in price action, this indicator helps traders identify potential support and resistance zones, pinpoint entry opportunities, and increase the probability of successful trades.
This combined strategy enhances your analysis by adding layers of confirmation for trades based on significant market levels and price imbalances. Let me know if you'd like more details or modifications!
Big Money by ChartedhighsBig Money by Chartedhighs
Script Overview:
The "Big Money" indicator is designed to help traders easily identify significant price movements on their charts. This script visually highlights candles where the price change from open to close exceeds a user-defined threshold. It draws attention to these key moments, providing a clear indication of potential big-money moves in the market.
Key Features:
Customizable Threshold:
Allows users to set a specific price change threshold via the input menu (Highlight Threshold).
Only candles with a price change greater than or equal to this value are highlighted.
Candle Highlighting:
Uses color-coded bars to emphasize candles meeting the threshold condition.
Candles are highlighted in yellow for immediate visual clarity.
Dynamic Box Annotation:
Draws a semi-transparent yellow box around highlighted candles.
Extends the box dynamically to subsequent bars, providing an area of interest for continued analysis.
Labeling for Key Moments:
Automatically adds a label ("BigMoney") above highlighted bars to further indicate significant price action.
How It Works:
The script calculates the price change for each bar (close - open) and compares it to the user-defined threshold.
If the price change meets or exceeds the threshold:
The bar color changes to yellow.
A box is drawn around the candle to highlight the price movement visually.
A label is added above the candle to emphasize its significance.
The box extends dynamically until the next highlighted candle, allowing users to track zones of activity.
Customization Options:
Highlight Threshold: Modify the threshold value to suit your trading style or instrument volatility.
Use Case:
This indicator is ideal for traders looking to identify significant price movements quickly. It helps to locate areas where "big money" might be flowing into the market, offering potential entry or exit opportunities.
How to Use:
Add the "Big Money by Chartedhighs" script to your TradingView chart.
Set the Highlight Threshold to a value suitable for your market or timeframe.
Observe highlighted candles and boxes for potential trading signals or areas of interest.
This script is highly visual, intuitive, and customizable, making it a great addition to any trader's toolkit!
Time Appliconic Macro | ForTF5m (Fixed)The Time Appliconic Macro (TAMcr) is a custom-built trading indicator designed for the 5-minute time frame (TF5m), providing traders with clear Buy and Sell signals based on precise technical conditions and specific time windows.
Key Features:
Dynamic Moving Average (MA):
The indicator utilizes a Simple Moving Average (SMA) to identify price trends.
Adjustable length for user customization.
Custom STARC Bands:
Upper and lower bands are calculated using the SMA and the Average True Range (ATR).
Includes a user-defined multiplier to adjust the band width for flexibility across different market conditions.
RSI Integration:
Signals are filtered using the Relative Strength Index (RSI), ensuring they align with overbought/oversold conditions.
Time-Based Signal Filtering:
Signals are generated only during specific time windows, allowing traders to focus on high-activity periods or times of personal preference.
Supports multiple custom time ranges with automatic adjustments for UTC-4 or UTC-5 offsets.
Clear Signal Visualization:
Buy Signals: Triggered when the price is below the lower band, RSI indicates oversold conditions, and the time is within the defined range.
Sell Signals: Triggered when the price is above the upper band, RSI indicates overbought conditions, and the time is within the defined range.
Signals are marked directly on the chart for easy identification.
Customizability:
Adjustable parameters for the Moving Average length, ATR length, and ATR multiplier.
Time zone selection and defined trading windows provide a tailored experience for global users.
Who is this Indicator For?
This indicator is perfect for intraday traders who operate in the 5-minute time frame and value clear, filtered signals based on price action, volatility, and momentum indicators. The time window functionality is ideal for traders focusing on specific market sessions or personal schedules.
How to Use:
Adjust the MA and ATR parameters to match your trading style or market conditions.
Set the desired time zone and time ranges to align with your preferred trading hours.
Monitor the chart for Buy (green) and Sell (red) signals, and use them as a guide for entering or exiting trades.
Candle ThermalsThis indicator color candles based on their percentage price change, relative to the average, maximum, and minimum changes over the last 100 candles.
-It calculates the percentage change of all candles
-Calculates the minimum, maximum and average in the last 100 bars in percentage change
-Changes color of the candle based on the range between the current percent and min/max value
-The brightest candle provides the highest compound effect to you account if you act on it at the open.
-Candles that have a percentage close to the average then they are barely visible = lowest compound effect to your account
This indicator functions like a "heatmap" for candles, highlighting the relative volatility of price movements in both directions. Strong bullish candles are brighter green, and strong bearish candles are brighter red. It's particularly useful for traders wanting quick visual feedback on price volatility and strength trends within the last 100 bars.
Diamonds Infiniti - Aynet FiboThe "Diamonds Infiniti - Aynet Fibo" Pine Script combines the geometric visualization of diamond patterns with Fibonacci retracement levels to create an innovative technical indicator for analyzing market trends and potential reversal points. Below is a detailed explanation of the code and its functionality:
Key Features
Dynamic Fibonacci Levels
High and Low Points: The script calculates the highest high and lowest low over a user-defined lookback period (lookback) to establish a price range.
Fibonacci Price Levels: Using the defined price range, the script calculates the Fibonacci retracement levels (0%, 23.6%, 38.2%, 50%, 61.8%, 100%) relative to the low point.
Trend Change Detection
Crossovers and Crossunders: The script monitors whether the closing price crosses over or under the calculated Fibonacci levels. This detection is encapsulated in the isTrendChange function.
Trend Signal: If a trend change occurs at any of the Fibonacci levels (23.6%, 38.2%, 50%, 61.8%), the script flags it as a trend change and stores the bar index of the last signal.
Diamond Pattern Visualization
Diamond Construction: The drawDiamond function draws a diamond shape at a given bar index using a central price, a top price, and a bottom price.
Trigger for Drawing Diamonds: When a trend change is detected, the script draws two diamonds—one on the left and one on the right—connected by a central line. The diamonds are based on the calculated price range (price_range) and a user-defined pattern height (patternHeight).
Fibonacci Level Visualization
Overlay of Fibonacci Levels: The script plots the calculated Fibonacci levels (23.6%, 38.2%, 50%, 61.8%) on the chart as dotted lines for easier visualization.
Scientific and Trading Use Cases
Trend Visualization:
The diamond pattern visually highlights trend changes around key Fibonacci retracement levels, providing traders with clear indicators of potential reversal zones.
Support and Resistance Zones:
Fibonacci retracement levels are widely recognized as key support and resistance zones. Overlaying these levels helps traders anticipate price behavior in these areas.
Adaptive Trading:
By dynamically recalculating Fibonacci levels and diamond patterns based on the most recent price range, the script adapts to changing market conditions.
Possible Enhancements
Multi-Timeframe Support:
Extend the script to calculate Fibonacci levels and diamond patterns across multiple timeframes for broader market analysis.
Alerts:
Add alerts for when the price crosses specific Fibonacci levels or when a new diamond pattern is drawn.
Additional Patterns:
Include other geometric patterns like triangles or rectangles for further trend analysis.
This script is a powerful visualization tool that combines Fibonacci retracement with unique diamond patterns. It simplifies complex price movements into easily interpretable signals, making it highly effective for both novice and experienced traders.
Fibonacci Renko Trend - AynetThe "Fibonacci Renko Trend - Aynet" Pine Script combines the Renko charting technique with Fibonacci retracement levels to create a highly customizable and adaptive trend-following tool. Below is a detailed explanation of the script and its components:
Scientific and Trading Applications
Noise Reduction:
By using Renko charts, the script filters out time-based noise and focuses solely on price movement, making it ideal for trend-following strategies.
Adaptability:
The ATR-based box size ensures that the Renko blocks automatically adjust to market volatility, making the tool versatile for different market conditions and asset classes.
Fibonacci-Based Decision Making:
The integration of Fibonacci retracement levels provides a structured framework for identifying key support and resistance levels. Traders can use these levels to anticipate price reversals or continuations.
Visualization:
The color-coded Renko blocks allow traders to quickly identify trends and potential reversals without additional indicators, improving decision-making efficiency.
Possible Improvements
Signal Generation:
Add entry and exit signals when price crosses significant Fibonacci levels or when a trend reversal is detected.
Multi-Timeframe Support:
Extend the script to compute Renko levels and Fibonacci ratios for multiple timeframes simultaneously.
Alerts:
Implement alert notifications for key events, such as trend changes or Fibonacci level breaches.
This script is a robust tool for traders looking to combine the simplicity of Renko charts with the analytical power of Fibonacci retracement levels. It offers a clear visualization of price trends and potential reversal points, making it suitable for both novice and experienced traders.
Buy and Sell Signal at 50% Retracement, Based on MANDO MODELthe sell is taking out a previous high. leave some runners and practice safe trading.
Explanation of Behavior:
When the price retraces 50% of the defined range (from the low to high), a Buy signal is triggered.
After the Buy signal, if the price moves above the previous high (after retracement), a Sell signal is triggered.
Once a Sell signal is triggered, the range is reset, and a new range needs to form before another signal can be triggered.
Test this:
Apply the script to your chart.
Check for Buy signals when the price crosses the 50% retracement level.
Sell signals will trigger once the price breaks above the previous high after the retracement phase.
Ensure that the signals are plotted as arrows on the chart and that the background color changes to indicate Buy or Sell.
Alerts Setup:
To set up alerts:
Right-click on the chart and select Add Alert.
For Buy Signal: Choose the condition Buy and Sell Signal at 50% Retracement with Top Break > Buy Signal.
For Sell Signal: Choose the condition Buy and Sell Signal at 50% Retracement with Top Break > Sell Signal.
Set your preferred alert type (popup, email, etc.).
Click Create to set the alert.
Infinity Market Grid -AynetConcept
Imagine viewing the market as a dynamic grid where price, time, and momentum intersect to reveal infinite possibilities. This indicator leverages:
Grid-Based Market Flow: Visualizes price action as a grid with zones for:
Accumulation
Distribution
Breakout Expansion
Volatility Compression
Predictive Dynamic Layers:
Forecasts future price zones using historical volatility and momentum.
Tracks event probabilities like breakout, fakeout, and trend reversals.
Data Science Visuals:
Uses heatmap-style layers, moving waveforms, and price trajectory paths.
Interactive Alerts:
Real-time alerts for high-probability market events.
Marks critical zones for "buy," "sell," or "wait."
Key Features
Market Layers Grid:
Creates dynamic "boxes" around price using fractals and ATR-based volatility.
These boxes show potential future price zones and probabilities.
Volatility and Momentum Waves:
Overlay volatility oscillators and momentum bands for directional context.
Dynamic Heatmap Zones:
Colors the chart dynamically based on breakout probabilities and risk.
Price Path Prediction:
Tracks price trajectory as a moving "wave" across the grid.
How It Works
Grid Box Structure:
Upper and lower price levels are based on ATR (volatility) and plotted dynamically.
Dashed green/red lines show the grid for potential price expansion zones.
Heatmap Zones:
Colors the background based on probabilities:
Green: High breakout probability.
Blue: High consolidation probability.
Price Path Prediction:
Forecasts future price movements using momentum.
Plots these as a dynamic "wave" on the chart.
Momentum and Volatility Waves:
Shows the relationship between momentum and volatility as oscillating waves.
Helps identify when momentum exceeds volatility (potential breakouts).
Buy/Sell Signals:
Triggers when price approaches grid edges with strong momentum.
Provides alerts and visual markers.
Why Is It Revolutionary?
Grid and Wave Synergy:
Combines structural price zones (grid boxes) with real-time momentum and volatility waves.
Predictive Analytics:
Uses momentum-based forecasting to visualize what’s next, not just what’s happening.
Dynamic Heatmap:
Creates a living map of breakout/consolidation zones in real-time.
Scalable for Any Market:
Works seamlessly with forex, crypto, and stocks by adjusting the ATR multiplier and box length.
This indicator is not just a tool but a framework for understanding market dynamics at a deeper level. Let me know if you'd like to take it even further — for example, adding machine learning-inspired probability models or multi-timeframe analysis! 🚀
Multi-LTF Fisher Transform -AYNETJohn F. Ehlers is a renowned figure in the field of financial markets and technical analysis. With a strong background in engineering and digital signal processing (DSP), Ehlers has applied his expertise to the development of innovative technical indicators and trading systems. His work focuses on using mathematical concepts, particularly those from signal processing, to analyze financial data. THANKS.
Simple Explanation of the Code
This Pine Script code calculates and plots Fisher Transform values for up to 6 different timeframes. The user can enable or disable each timeframe, and each Fisher Transform line is displayed in a unique color. Labels at the end of the lines indicate the timeframe.
Key Components of the Code
User Inputs:
Timeframes: The user specifies up to 6 different timeframes (ltf_1, ltf_2, etc.).
Enable/Disable Options: The user can choose which timeframes to enable using checkboxes (enable_1, enable_2, etc.).
Fisher Transform Length: The number of periods (fisher_length) used to calculate the Fisher Transform.
Fisher Transform Calculation:
For each enabled timeframe, the Fisher Transform is calculated using the fisher_transform_func() function:
Lowest Low and Highest High over the given period are fetched.
The Fisher Transform formula normalizes the price and transforms it into an oscillating value.
Dynamic Plotting:
Each Fisher Transform is plotted in a unique color if the corresponding timeframe is enabled.
Labels are added at the end of the lines to indicate the timeframe (e.g., "15m", "1H").
Visual Enhancements:
Unique colors for each line (green, blue, orange, etc.).
Labels dynamically display the timeframe names.
What the Code Does
Calculates Fisher Transform:
For example, for a 15m timeframe:
Finds the lowest low and highest high over the specified period.
Applies the Fisher Transform formula to normalize and smooth the values.
Plots Active Timeframes:
Only the enabled timeframes are plotted.
Each enabled Fisher Transform is plotted as a separate line.
Adds Labels:
At the end of each plotted line, a label indicates which timeframe it represents.
How It Looks
Each active timeframe is displayed as a colored oscillating line on the chart.
Labels like "15m" or "1H" appear at the end of the lines.
Inactive timeframes are not shown.
User Interaction
Input Parameters:
Select the desired timeframes (e.g., "15m", "1H", "4H").
Enable or disable specific timeframes.
Adjust the Fisher Transform period length.
Output:
View Fisher Transform lines for active timeframes.
Use labels to identify which line corresponds to which timeframe.
Why It’s Useful
Multi-Timeframe Analysis:
Helps compare momentum across different timeframes.
Customizable:
Users can enable only the timeframes they want.
Visual Clarity:
Unique colors and labels make it easy to distinguish between timeframes.
If you need further simplifications or more details, feel free to ask! 😊
Position Size Calculator by Dr. Rahul Ware.Position Size Calculator
The Position Size Calculator script helps traders determine the optimal position size for their trades based on their account balance, risk percentage, and stop loss parameters. It calculates the number of shares to buy and the total position size in INR (Indian Rupees), providing a clear and concise way to manage risk effectively.
Key Features:
Account Balance Input: Specify your account balance in INR to tailor the position size calculations to your specific trading capital.
Risk Percentage Input: Define the percentage of your account balance you are willing to risk on each trade, ensuring you stay within your risk tolerance.
Stop Loss Options: Choose between using a fixed stop loss price or a stop loss percentage to calculate the risk amount per share.
Dynamic Stop Loss Line: The script plots a red dotted line representing the stop loss price on the chart, updating dynamically for the last bar.
Comprehensive Table Display: View key metrics, including account balance, risk percentage, amount at risk, current price, stop loss price, stop loss percentage, position size in INR, and the number of shares to buy, all in a neatly formatted table.
This tool is designed to enhance your trading strategy by providing precise position sizing, helping you manage risk effectively and make informed trading decisions. Use this script to optimize your trade sizes and improve your overall trading performance.