Islamic Tijarat -Dual Relative StrengthIslamic Tijarat - Dual Relative Strength
Islamic Tijarat - Dual Relative Strength is a powerful indicator designed to compare the relative performance of two securities, such as a stock against its sector index or Nifty 50 (default benchmark) . This helps traders assess whether a stock is outperforming (> 0) or underperforming (< 0) relative to the chosen benchmark.
Key Features:
✔ Relative Strength Comparison – Measure the performance of a stock relative to Nifty 50, industry index, or sector index.
✔ Multiple Timeframes – Works best on Daily Timeframe (TF) but can also be applied to Weekly, Monthly, or Intraday charts based on the preferred calculation period.
✔ Customizable Calculation Period – Choose the desired number of hours when applying it to smaller timeframes.
✔ Box Table Display – Provides a clear performance comparison against both Nifty 50 and the selected sector index .
✔ Toggle Color Option on Crossovers – Visually highlights significant crossovers in relative strength for better readability.
✔ Enhanced Label Display – Fixed label visibility issue when plot options were disabled.
✔ Superimposed Price Action on RS Line – In addition to standard Relative Strength (RS) behavior, users can now overlay price action movements onto the RS line for a more holistic analysis.
✔ Customizable Moving Averages for RS – Added SMA/EMA (length: 9) to smoothen the RS calculation, helping traders filter noise and identify trends more effectively.
Usage:
✅ Compare stock performance against Nifty 50 , industry index, sector index, or any other security within the same sector.
✅ Identify strength and weakness trends over different timeframes.
✅ Use crossovers, trend direction, and price action integration for better decision-making.
This brings enhanced functionality, improved visualization, and bug fixes, making it a must-have tool for traders focusing on relative strength analysis.
Educational
Volatility Drift [7 Dreams India Official]buy vs sell
buyer vs seller strength
strictly for educational purpose and back testing
Sessions ForexThis script is made to help myself getting easy access to the key levels that i use
Its based on Lux algos session breaks. But with my own tweaks :)
LineReg Candles with Hma filterOverview
Purpose:
The indicator creates “LinReg Candles” by recalculating OHLC values using linear regression (to smooth out noise) and overlays additional features such as a customizable signal line and an HMA (Hull Moving Average) filter for trend detection. It also plots buy/sell signals and supports alerts.
Customization:
Users can adjust settings for signal smoothing (choosing SMA, EMA, or WMA), HMA periods (preset for Scalping/Intraday or custom values), linear regression length, colors, display options, and alert messages. Inputs are organized into groups for clarity.
Input Definitions
Signal Settings:
signal_length and smoothingType define the period and method used to smooth the close price, creating a signal line.
HMA Filter Settings:
A dropdown (t_type) lets you choose between Scalping, Intraday, or Custom. Based on this, three HMA periods (hma1, hma2, hma3) are set either to fixed values or user-defined custom inputs.
LinReg Settings:
Users can toggle linear regression for OHLC values (lin_reg) and set its period (linreg_length) to reduce price noise.
Color and Display Settings:
These control the colors for buy/sell candles, default bullish/bearish candles, markers, and background highlighting. Display toggles decide whether to show the background, signal line, HMA filter, and the recalculated candles.
Alert and Plot Customization:
Alerts can be enabled with custom messages. Additionally, line width and transparency for the plotted signal and HMA lines are adjustable.
Function Definitions
calcOHLC Function:
Computes OHLC values using linear regression if enabled. Otherwise, it returns the raw price values. This helps in reducing noise.
calcSignalLine Function:
Applies the chosen moving average (SMA, EMA, or WMA) to smooth the recalculated close values and generate a signal line.
getBaseCandleColor Function:
Determines the candle’s base color. It assigns buy/sell colors if specific crossover conditions are met; if not, it defaults to bullish (green) or bearish (red) based on the open/close relationship.
HMA Filter Calculations
HMA Computation:
The script calculates three HMAs (ma1, ma2, ma3) for different periods.
Trend Determination:
It sets a bullish condition (bcn) when ma3 is lower than both ma1 and ma2 with ma1 above ma2. Conversely, a bearish condition (scn) is set when ma3 is higher and the order of the HMAs indicates a downtrend.
Color Coding:
The HMA filter line color changes dynamically (green for bullish, red for bearish) based on these conditions.
Main Calculations
LinReg Candles:
Using the calcOHLC function, the script calculates the new open, high, low, and close values that reduce price noise.
Signal Line:
The signal line is computed on the basis of the smoothed close values using the selected moving average.
Buy/Sell Conditions:
Initial conditions are determined by checking if the recalculated close price crosses over (buy) or under (sell) the signal line.
The base candle color is then adjusted: if the HMA filter confirms the trend (bullish for buy or bearish for sell), the respective buy/sell colors are enforced.
A change in candle color compared to the previous bar triggers a buy or sell signal.
Plotting and Alerts
Visual Elements:
Background: Highlights the chart with a custom color when buy or sell conditions are met.
HMA Filter Line: Plotted (if enabled) with the dynamic color determined earlier.
Candles: The recalculated LinReg candles are drawn with colors based on the combined conditions.
Signal Line: Plotted over the candles with adjustable transparency and width.
Markers: Buy and sell markers are added to visually indicate signal points on the chart.
Alerts:
Alert conditions are set to trigger with predefined messages when a buy or sell signal is generated.
Modularity & Flexibility:
The code is structured with modular functions and clear grouping of inputs, making it highly customizable and user-friendly for open-source TradingView users.
Important how to track the real price on chart:
Locate the Chart Type Menu:
At the top of your TradingView chart, you’ll see a button showing the current chart type (likely a candlestick icon).
Select “Line” from the Dropdown:
Click that button and choose “Line” in the dropdown menu. This changes the main chart to a line chart of the real price.
Screenshots:
Breakout Trend Follower freeFree for all users/for Trading bots/ ALWAYS DYOR before use
Strategy: Enter long when recent swing high breaks out, using recent swing low as stop level. Move stops up as higher lows print to act
as trailing stops. Ride trend as long as it is there and the higher lows aren't breached.
Conditions/Variables
1. Manually configure which dates to back test
2. Can add a filter to only take setups that are above (or below for shorts) user-defined moving average(s) (helps avoid trading counter trend)
3. Can ignore signals that are too extended and not consolidating enough based on ADR and/or RSI.
4. Color background of trades - helps to easily see at a glance if the strategy should be long or not.
// @HannSo1o TG
// @singoslab CIS Comunity in TG
Sup-Res e Gap de SMA
Suporte e resistência dinâmicos com base em um período
Diferença entre a SMA de 200 e o topo do preço mostrando distorções de preço
Combined Premium Tracker (3 Strikes)The Combined Premium Tracker (3 Strikes) is a TradingView Pine Script indicator that monitors the total premium (Call + Put) of three different ATM option strikes. It applies a 75-period EMA to detect trends and generates buy/sell signals when the combined premium crosses the EMA. The script also provides alerts for potential breakouts and breakdowns, helping traders identify momentum shifts in option pricing.
9:20 AM High-Low & VWAPHigh low of 2nd candle; break the high trade, break the low trade and also check vwap accordingly, you may reconfirm your trade with some other leading indicator like psar etc
Astro R4.0Regarding the code that has a significant impact on Pine Community and many feel helped by it, this is the code that I ported from VBA to PineScript which comes from simontelescopium owner of astroexcel dot wordpress dot com and "astrofnc" by Keith Burnett, previously I used it personally but I forgot to give a citation to those who are entitled to them both so that when I shared it for community use and it has been shared by brother @BarefootJoey with the additions made by him personally, there was no citation for them.
Apologies for my negligence because I am only human.
Hopefully with this script it can help the community to see the potential for implementation in the trading world as a significant variable.
Finally, I publish this script as a reference to find out astronomical charts presented in table form to make it easier to visualize and debug as long as the input.timestamp() allow it.
Future updates for optimization using library of brother @BarefootJoey
Thank you.
WEALTH BOOSTER PRO V3This is a Trend following Indicator. The Green Candles indicate Bullish Move & Red Candles Indicate Bearish Move
Custom Message Rotator [NAMITRADINGDOTCOM]Custom Message Rotator
OVERVIEW
The Custom Message Rotator is a convenient, on‑chart messaging tool designed to cycle through up to five user-defined text messages. Ideal for posting reminders, disclaimers, motivational quotes, or trading rules directly on your chart, this indicator streamlines communication and keeps important notes in view at all times.
USAGE
Reminders & Notes: Display short, rotating messages such as risk management rules, watchlist symbols, or daily targets.
Prompts & Disclaimers: Show disclaimers or guidance messages without cluttering your chart.
Visual Organization: Place the message box anywhere on the chart to stay informed without obstructing price action.
KEY FEATURES
Multiple Messages: Enter up to five different messages, each with its own enable/disable toggle.
Interval Control: Specify the rotation interval (in seconds) to determine how long each message remains visible.
Customizable Appearance: Adjust text color, background color, and text size to suit your chart’s theme.
Flexible Positioning: Choose from nine different screen locations (top/center/bottom × left/center/right).
Lightweight & Efficient: Designed to be minimal in resources, with no complex calculations or lag.
SETTINGS
Message Fields & Toggles: Define your custom text in each field and enable/disable them as needed.
Interval (Seconds): Set how long each message is displayed before rotating to the next.
Table Position: Move the message box to any of the available chart positions.
Text & Background Colors: Customize the color scheme to fit your chart’s style.
Text Size: Choose from preset sizes (tiny, small, normal, large, huge) to ensure maximum visibility.
CONCLUSION
The Custom Message Rotator adds a personal, flexible layer of communication to your chart. By cycling through key reminders or disclaimers at an interval you control, you can maintain focus on what matters most in your trading routine. This is an ideal tool for traders seeking to stay organized, motivated, and informed—all at a glance.
candle stats v1Objective:
Capture sequential/subsequent candle's relative properties
Average observations to represent the landscape of the marketplace
Parameters:
"range" : high-low
"overlap" : range - range
"wick_body_ratio" : (range - abs(open-close))/range
"up_count" for "period" : number of occurrences where consecutive candles have low>low . (note: the values are not cumulative over period)
*"down_count" for "period" : number of occurrences where consecutive candles have high<high . (note: the values are not cumulative over period)
** the last counter includes the value for "period" and all above
Basic inferences:
mean_range could be used to derive at an appropriate hard-stoploss
high wick to body ratio indicates healthy buzzing market, ie, each candle has a high frequency standing wave within it. a lower value indicates that the timeframe is ordered and highly directional
low overlap indicates trend definition/resolution
the counters show how likely or unlikely a run up or run down of a particular length is
a combination of counter and mean_range could be used to derive at an appropriate take profit
Use case:
to determine the appropriate timeframe to develop or apply a strategy
Future enhancements:
more complex relationships such as higher highs and lower lows
frequency of oscillations
Fountain of gold TMP23 Feb 2025
This is fountain of gold setup inspired from Japanese teaching of ichimoku and western teaching of RSI, MACD, RS and Rate of change.
Trend
1)Long term trend is defined by average of 52 period high and low with offset of 25 which is equal to Span B of Ichimko denoted by orange line.
2)Medium term trend is defined by exponential moving average of 52 period low denoted by red line.
3) Short term trend is defined by background which is green when close greater than conversion line and basis line of ichimoku and red when close is below conversion line and basis line.
Momemtum
1) Long term Momentum is defined as bullish when conversion line is greater than Span B line of ichimoku
2) Meduim term Momentum is defined as bullish when signal 1 of sma of period 7 of MACD is greater than signal 2 of sma of period 21 MACD. (here standard MACD is used)
3) Short term Momentum is defined as bullish when MACD is greater than previous period MACD
Price Action
Price Action is formed by two candle and is full green when
1) current OHLC is greater than average of OHLC 1 period ago and 2 period ago and
2) average of OHLC 1 period ago and 2 period ago is greater than average of OHLC 9 period ago and 10 period ago.
in case of full red condition are reverse in order.
RSI Three Factor
1) RSI of 12 period greater than simple moving average of that RSI of 12 period
2) RSI is above Slow Rsi
3) Rsi Cloud is green for bullish
Relative Strength status
1) Relative Strength of period 17 is comparing symbol to benchmark
Speed Score
it is defined by rate of change for close comparing to average of ohlc 9 and 10 period ago
Combined Sequences (Tribonacci, Tetranacci, Lucas)🎯 Combined Sequences (Tribonacci, Tetranacci, Lucas) Indicator 🎯
Unlock the power of advanced mathematical sequences in your trading strategy with the **Combined Sequences Indicator**! This tool integrates **Tribonacci**, **Tetranacci**, and **Lucas** levels to help you identify key support and resistance zones with precision. Whether you're a day trader, swing trader, or long-term investor, this indicator provides a unique perspective on price action by combining multiple sequence-based levels.
---
### **Key Features:**
1. **Multiple Sequence Levels**:
- **Tribonacci Levels**: Based on the Tribonacci sequence, these levels are ideal for identifying dynamic support and resistance.
- **Tetranacci Levels**: A more advanced sequence that adds depth to your analysis.
- **Lucas Levels**: Derived from the Lucas sequence, these levels offer additional insights into market structure.
2. **Customizable Levels**:
- Choose the number of levels to display (up to 20).
- Toggle between **positive** and **negative** levels for each sequence.
3. **Flexible Price Source**:
- Select your preferred price type: **Open**, **High**, **Low**, **Close**, **HL2**, **HLC3**, or **HLCC4**.
4. **Customizable Line Styles**:
- Choose from **Solid**, **Dashed**, or **Dotted** lines.
- Adjust line width and extension type (**Left**, **Right**, or **Both**).
5. **Dynamic Labels**:
- Add labels to levels for better readability.
- Customize label position (**Left**, **Center**, or **Right**) and text size (**Normal**, **Small**, or **Tiny**).
6. **Timeframe Flexibility**:
- Works on any timeframe, from **1-minute** charts to **monthly** charts.
---
### **How It Works:**
- The indicator calculates **Tribonacci**, **Tetranacci**, and **Lucas** levels based on the selected price source and timeframe.
- These levels are plotted on the chart, providing clear visual cues for potential support and resistance zones.
- You can toggle each sequence on or off, allowing you to focus on the levels that matter most to your strategy.
---
### **Why Use This Indicator?**
- **Enhanced Market Analysis**: Combine multiple mathematical sequences to gain a deeper understanding of price action.
- **Customizable**: Tailor the indicator to your trading style with flexible settings.
- **User-Friendly**: Easy-to-use interface with clear visual outputs.
- **Versatile**: Suitable for all trading styles and instruments (stocks, forex, crypto, commodities, etc.).
---
### **How to Use:**
1. Add the indicator to your chart.
2. Configure the settings in the **Inputs** tab:
- Choose which sequences to display (Tribonacci, Tetranacci, Lucas).
- Adjust the number of levels, line styles, and label settings.
3. Use the levels to identify potential entry, exit, and stop-loss points.
---
### **Perfect For:**
- Traders looking for advanced support and resistance levels.
- Those who want to incorporate mathematical sequences into their analysis.
- Anyone seeking a customizable and versatile trading tool.
---
**🚀 Take Your Trading to the Next Level with Combined Sequences! 🚀**
---
### **Disclaimer**:
This indicator is a tool to assist in your trading decisions. It does not guarantee profits or predict market movements. Always use proper risk management and combine this tool with other analysis techniques.
---
**📈 Ready to Elevate Your Trading? Add the Combined Sequences Indicator to Your Chart Today! 📉**
Market Sector LabelsA script to add labels to your chart.. for the different sectors to see where money is flowing.. Was reading that all red sectors on Monday implies more market downside and its not just a "sector rotation".
RK_RSI Divergence IndicatorRK_RSI Divergence Indicator
this indicator give trend predicted based on rsi divergence.
4 EMAs: 30, 50, 100, 200This indicator uses 4 Exponential Moving Averages (EMAs) to track trend strength, support/resistance levels, and crossover signals. It works across multiple timeframes (daily, weekly, intraday) and includes automated alerts, customizable color schemes, and trend visualization. Traders can use it to make quick decisions and align with macro market trends.