GP - SRSI ChannelThis indicator is designed to predict at what point the price-time charts will rise or fall. It is inspired by the RSI and Stochastic RSI formulas. The formula simply calculates the RSI and Stochastic RSI values of the opening, high, low and closing values. It performs this calculation by creating a series from the data in the 3-hour, 6-hour, 12-hour and 1-day time frames that come as standard with the indicator. The maximum and minimum values in the series are taken for the candles included in the calculation. These values create a colored channel between two values on the chart. If the line labeled "Max" from these values is in the "Green area" region, it indicates that the price will start to decrease. If the line labeled "Min" from these values is in the "Red area" region, it indicates that the price will start to increase. Although these calculations are not definite; seeing that the channel has reached the green area at the top means that the price will start to fall in that area, and seeing that the channel has reached the red area at the bottom means that the probability of the price to start to increase in that area increases. This indicator should not be used alone to determine the direction of the price. When this indicator comes as standard, use it on a 3-hour chart. To use it on all price-time charts, enter the 4 different times in the settings section, each of which will be twice the time.
Example-1 = Time1: 15 minutes, Time2: 30 minutes, Time3: 1 hour, Time4: 2 hours on a 15-minute chart.
Example-2 = Time1: 30 minutes, Time2: 1 hour, Time3: 2 hours, Time4: 4 hours on a 30-minute chart.
Examples can be multiplied in this way.
Индикаторы и стратегии
Volume Bar Signal - Kinetix V2I add Time zone and Start-End time, because i believe the volume filter shall not be same different session time. i am not a programmer. but can read it. so I use Claude 3.5 Sonnet using Perplexity. Actually i want to make 3 different filters ; Asia session, London and US session.
If anyone have an idea and good in script programing. please do. thank you. and thank you for the original creator.
Wick Detection (1 and 0) - AYNETDetailed Scientific Explanation
1. Wick Detection Logic
Definition of a Wick:
A wick, also known as a shadow, represents the price action outside the range of a candlestick's body (the region between open and close).
Upper Wick: Occurs when the high value exceeds the greater of open and close.
Lower Wick: Occurs when the low value is lower than the smaller of open and close.
Upper Wick Detection:
pinescript
Kodu kopyala
bool has_upper_wick = high > math.max(open, close)
This checks if the high price of the candle is greater than the maximum of the open and close prices. If true, an upper wick exists.
Lower Wick Detection:
pinescript
Kodu kopyala
bool has_lower_wick = low < math.min(open, close)
This checks if the low price of the candle is less than the minimum of the open and close prices. If true, a lower wick exists.
2. Binary Representation
The presence of a wick is encoded as a binary value for simplicity and computational analysis:
Upper Wick: Represented as 1 if present, otherwise 0.
pinescript
Kodu kopyala
float upper_wick_binary = has_upper_wick ? 1 : 0
Lower Wick: Represented as 1 if present, otherwise 0. This value is inverted (-1) for visualization purposes.
pinescript
Kodu kopyala
float lower_wick_binary = has_lower_wick ? 1 : 0
3. Visualization with Histograms
The plot function is used to create histograms for visualizing the binary wick data:
Upper Wicks: Plotted as positive values with green columns:
pinescript
Kodu kopyala
plot(upper_wick_binary, title="Upper Wick", color=color.new(color.green, 0), style=plot.style_columns, linewidth=2)
Lower Wicks: Plotted as negative values with red columns:
pinescript
Kodu kopyala
plot(lower_wick_binary * -1, title="Lower Wick", color=color.new(color.red, 0), style=plot.style_columns, linewidth=2)
Features and Applications
1. Wick Visualization:
Upper wicks are displayed as positive green columns.
Lower wicks are displayed as negative red columns.
This provides a clear visual representation of wick presence in historical data.
2. Technical Analysis:
Wick formations often indicate market sentiment:
Upper Wicks: Sellers pushed the price lower after buyers drove it higher, signaling rejection at the top.
Lower Wicks: Buyers pushed the price higher after sellers drove it lower, signaling rejection at the bottom.
3. Signal Generation:
Traders can use wick detection to build strategies, such as identifying key price levels or market reversals.
Enhancements and Future Improvements
1. Wick Length Measurement
Instead of binary detection, measure the actual length of the wick:
pinescript
Kodu kopyala
float upper_wick_length = high - math.max(open, close)
float lower_wick_length = math.min(open, close) - low
This approach allows for thresholds to identify significant wicks:
pinescript
Kodu kopyala
bool significant_upper_wick = upper_wick_length > 10 // For wicks longer than 10 units.
bool significant_lower_wick = lower_wick_length > 10
2. Alerts for Long Wicks
Trigger alerts when significant wicks are detected:
pinescript
Kodu kopyala
alertcondition(significant_upper_wick, title="Long Upper Wick", message="A significant upper wick has been detected.")
alertcondition(significant_lower_wick, title="Long Lower Wick", message="A significant lower wick has been detected.")
3. Combined Wick Analysis
Analyze both upper and lower wicks to assess volatility:
pinescript
Kodu kopyala
float total_wick_length = upper_wick_length + lower_wick_length
bool high_volatility = total_wick_length > 20 // Combined wick length exceeds 20 units.
Conclusion
This script provides a compact and computationally efficient way to detect candlestick wicks and represent them as binary data. By visualizing the data with histograms, traders can easily identify wick formations and use them for technical analysis, signal generation, and volatility assessment. The approach can be extended further to measure wick length, detect significant wicks, and integrate these insights into automated trading systems.
Crypto Futures Trading with TargetsBusca usar o RSI, nuvem de ichimoko, médias móveis, juntamente com o volume, para operar futuros na Binance, já com alvos de entrada e saída.
Daily Divider 1.0.1Daily Divider with Custom Day Labels is a visual indicator that places vertical dividers on TradingView charts at the start of each day. This indicator helps improve clarity in technical analysis by visually separating each trading session. Additionally, it allows for customization of the day labels with abbreviations (such as “Mon” for Monday, “Tue” for Tuesday, etc.), which are displayed alongside the divider lines.
Features:
• Day Dividers: Draws vertical lines at the start of each trading day to clearly separate daily sessions.
• Custom Day Labels: You can change the day abbreviations (e.g., “Sun” for Sunday, “Mon” for Monday) directly in the indicator settings.
• Style Options: The divider line style (solid, dashed, dotted) and its color can be adjusted to fit your preferences.
• Text Settings: Customize the color and size of the day labels, with the option to show or hide the labels.
• Timeframe Optimization: The divider lines are only drawn on daily or lower timeframes, ensuring they don’t appear on higher timeframes (weekly, monthly, etc.).
This indicator is ideal for traders who perform daily analysis and want a clearer view of the different days of the week on their charts, without the need to manually mark the day divisions.
Renko Live Brick Tracker -AYNETHow It Works
Renko Box Initialization:
The Renko box starts at the current price (close).
It dynamically updates based on the box_size input.
Dynamic Boundaries:
The box expands upward or downward as the price moves outside the current Renko brick boundaries.
Box Drawing:
The line.new function is used to draw the four sides of the Renko box.
The previous box lines are deleted on every bar to avoid clutter.
Live Price Tracking:
The live price is plotted as a red line within the Renko box.
Inputs
box_size: Defines the size of the Renko box in price units.
box_color: Controls the fill color of the box.
border_color: Controls the color of the box borders.
Visualization
Dynamic Renko Box:
A box tracks the price’s progress inside the current Renko brick.
Updates dynamically as the price moves.
Live Price Marker:
A red line tracks the current price inside the Renko brick.
Let me know if you’d like any enhancements, such as adding labels or alerts! 😊
Multi-Timeframe VWAPBu indikatör, farklı zaman dilimlerine göre hacim ağırlıklı ortalama fiyatları (VWAP) hesaplar ve renk kodlarıyla birlikte grafikte gösterir. Tüm zaman dilimlerinde çalışan bu araç, kısa vadeli ve uzun vadeli trendleri bir arada analiz etmek isteyen kullanıcılar için idealdir.
Özellikler:
Çoklu Zaman Dilimi Desteği:
Varsayılan zaman dilimleri: 1 Saat (60), 4 Saat (240) ve Günlük (D).
İsteğe bağlı olarak diğer zaman dilimlerini seçebilirsiniz.
Renk Kodları:
Her bir zaman dilimine özel renklerle VWAP çizgileri belirgin bir şekilde gösterilir.
Dinamik Hesaplama:
Seçilen zaman dilimleri için gerçek zamanlı VWAP hesaplamaları yapılır.
Kullanıcı Dostu Arayüz:
Zaman dilimlerini ve renkleri hızlıca değiştirebilirsiniz.
Nasıl Kullanılır?:
İndikatörü grafiğe ekledikten sonra ayarlar menüsünü açın.
İstediğiniz zaman dilimlerini ve renkleri seçin.
Farklı zaman dilimlerine ait VWAP çizgileri, grafikte renk kodlarıyla görüntülenecektir.
Daha iyi bir analiz için kısa vadeli VWAP ile uzun vadeli VWAP arasındaki ilişkiyi inceleyebilirsiniz.
Kimler Kullanmalı?:
Günlük Traderlar: Kısa vadeli zaman dilimlerinde fiyat hareketlerini izlemek için.
Swing Traderlar: Orta vadeli trendleri ve destek/direnç seviyelerini değerlendirmek için.
Uzun Vadeli Yatırımcılar: Büyük resimde fiyatın genel eğilimini anlamak için.
Not:
VWAP, özellikle trend yönlerini ve fiyatın ortalama konumunu belirlemek için güçlü bir araçtır. Ancak, diğer indikatörler veya stratejilerle birlikte kullanılması daha doğru sonuçlar sağlayabilir.
Bu açıklama, indikatörün özelliklerini, kullanımını ve kimler için uygun olduğunu net bir şekilde özetler. İhtiyaçlarınıza göre özelleştirebilirsiniz.
ROZANANS_SBC_MONEY_v2bu komut dosyasında fiyat tahminleri yapmnaya çalışan bir sistem çalışıldı bunun için fibonacci atr ccı rsı macd her birinin özelliklerindne yararlanıldı. eğitim amaçlı hazırlanmıştır. yatırım amacı ile kullanılamaz.
TURHAN Kapsamlı İndikatör (AL/SAT Sinyalleri)//@version=5
indicator("Kapsamlı İndikatör (AL/SAT Sinyalleri)", overlay=true)
// Hareketli Ortalama (MA)
maLength = input.int(20, title="MA Süresi")
ma = ta.sma(close, maLength)
// Üstel Hareketli Ortalama (EMA)
emaLength = input.int(20, title="EMA Süresi")
ema = ta.ema(close, emaLength)
// MACD
macdFast = input.int(12, title="MACD Hızlı MA")
macdSlow = input.int(26, title="MACD Yavaş MA")
macdSignalLength = input.int(9, title="MACD Sinyal Süresi")
= ta.macd(close, macdFast, macdSlow, macdSignalLength)
// Bollinger Bantları
bbLength = input.int(20, title="Bollinger Bant Süresi")
bbMult = input.float(2.0, title="Bant Genişlik Çarpanı")
basis = ta.sma(close, bbLength)
bbUpper = basis + bbMult * ta.stdev(close, bbLength)
bbLower = basis - bbMult * ta.stdev(close, bbLength)
// RSI
rsiLength = input.int(14, title="RSI Süresi")
rsiOverbought = input.int(70, title="Aşırı Alım Seviyesi")
rsiOversold = input.int(30, title="Aşırı Satım Seviyesi")
rsi = ta.rsi(close, rsiLength)
// Stokastik Osilatör
stochLength = input.int(14, title="Stokastik Süresi")
k = ta.sma(ta.stoch(close, high, low, stochLength), 3)
d = ta.sma(k, 3)
// Ichimoku Bulutu
conversionLine = (ta.highest(high, 9) + ta.lowest(low, 9)) / 2
baseLine = (ta.highest(high, 26) + ta.lowest(low, 26)) / 2
spanA = (conversionLine + baseLine) / 2
spanB = (ta.highest(high, 52) + ta.lowest(low, 52)) / 2
// ATR (Ortalama Gerçek Aralık)
atrLength = input.int(14, title="ATR Süresi")
atr = ta.atr(atrLength)
// ADX
adxLength = input.int(14, title="ADX Süresi")
plusDM = math.max(ta.change(high), 0) > math.max(ta.change(low), 0) ? math.max(ta.change(high), 0) : 0
minusDM = math.max(ta.change(low), 0) > math.max(ta.change(high), 0) ? math.max(ta.change(low), 0) : 0
smPlusDM = ta.rma(plusDM, adxLength)
smMinusDM = ta.rma(minusDM, adxLength)
atrForAdx = ta.rma(ta.tr(true), adxLength)
plusDI = smPlusDM / atrForAdx * 100
minusDI = smMinusDM / atrForAdx * 100
dx = math.abs(plusDI - minusDI) / (plusDI + minusDI) * 100
adx = ta.rma(dx, adxLength)
// Al-Sat Sinyalleri
buySignal = ta.crossover(ma, ema) and rsi < rsiOversold and macdLine > signalLine and adx > 25
sellSignal = ta.crossunder(ma, ema) and rsi > rsiOverbought and macdLine < signalLine and adx > 25
// Grafik Çizimleri
plot(ma, color=color.blue, title="MA")
plot(ema, color=color.red, title="EMA")
hline(rsiOverbought, "Aşırı Alım", color=color.red, linestyle=hline.style_dotted)
hline(rsiOversold, "Aşırı Satım", color=color.green, linestyle=hline.style_dotted)
plot(bbUpper, color=color.purple, title="Bollinger Üst")
plot(bbLower, color=color.purple, title="Bollinger Alt")
// Ichimoku Bulutunu Şeffaf Renkle Göster
bgColor = spanA > spanB ? color.new(color.green, 80) : color.new(color.red, 80)
bgcolor(bgColor, title="Ichimoku Bulut")
// AL ve SAT sinyallerini üçgen olarak göster
plotshape(series=buySignal, title="AL Sinyali", location=location.belowbar, style=shape.triangleup, color=color.green, size=size.large, offset=0)
plotshape(series=sellSignal, title="SAT Sinyali", location=location.abovebar, style=shape.triangledown, color=color.red, size=size.large, offset=0)
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! 😊
Wick Trend Analysis - AYNETScientific Explanation
1. Wick Trend Lines
Upper Wick Trend Line: The upper_wick_trend is calculated as the Simple Moving Average (SMA) of the upper wick lengths over the user-defined period (trend_length).
pinescript
Kodu kopyala
float upper_wick_trend = ta.sma(upper_wick_length, trend_length)
Lower Wick Trend Line: The lower_wick_trend is similarly calculated for the lower wick lengths.
pinescript
Kodu kopyala
float lower_wick_trend = ta.sma(lower_wick_length, trend_length)
2. Filling Between Lines
fill Function: The fill function colors the area between two plotted lines (plot_upper and plot_lower) based on a defined condition.
pinescript
Kodu kopyala
fill(plot_upper, plot_lower, color=fill_color, title="Wick Trend Area")
Condition for Coloring: The color is determined based on whether the upper wick trend is greater or less than the lower wick trend:
Green Fill: Indicates that the upper wick trend is dominant (i.e., upper_wick_trend > lower_wick_trend).
Red Fill: Indicates that the lower wick trend is dominant (i.e., upper_wick_trend <= lower_wick_trend).
Visualization Features
Trend Lines:
Upper wick trend is plotted as a green line.
Lower wick trend is plotted as a red line.
Filled Area:
The area between the two trend lines is filled:
Green when the upper wick trend is dominant.
Red when the lower wick trend is dominant.
Dynamic Adjustments:
The user can adjust the trend_length to change the sensitivity of the SMA calculations.
Applications
Sentiment Analysis:
Green Fill (Upper Trend Dominance): Indicates stronger rejection at higher prices, suggesting bearish sentiment.
Red Fill (Lower Trend Dominance): Indicates stronger rejection at lower prices, suggesting bullish sentiment.
Signal Generation:
Transitions in the fill color (from green to red or vice versa) can serve as potential trade signals.
Volatility Assessment:
Wider gaps between the trend lines indicate higher market volatility, while narrower gaps suggest lower volatility.
Enhancements
1. Trend Strength Filtering
Add thresholds to filter out minor trends or insignificant wick activity:
pinescript
Kodu kopyala
bool significant_upper_wick = upper_wick_length > 10 // Minimum length for upper wick
bool significant_lower_wick = lower_wick_length > 10
2. Alerts for Trend Changes
Trigger alerts when the dominance of the trend changes:
pinescript
Kodu kopyala
alertcondition(upper_wick_trend > lower_wick_trend, title="Upper Wick Dominance", message="Upper wick trend is now dominant.")
alertcondition(lower_wick_trend > upper_wick_trend, title="Lower Wick Dominance", message="Lower wick trend is now dominant.")
3. Combined Wick Analysis
Incorporate total wick activity (upper + lower wicks) for holistic analysis:
pinescript
Kodu kopyala
float total_wick_trend = ta.sma(upper_wick_length + lower_wick_length, trend_length)
Conclusion
This script provides a robust visualization of wick trends with dynamic color filling to indicate trend dominance. By observing the relative strength of upper and lower wick trends, traders can assess market sentiment, detect potential reversals, and gauge volatility. This method can be further enhanced with additional filters, alerts, and composite indicators to refine trading strategies.
DAVID AKONJANG FROM TIKO CAMEROONThis script is a custom **Relative Strength Index (RSI) trading indicator** that plots **Buy** and **Sell signals** directly on a price chart based on specific conditions when the RSI crosses a Moving Average (MA). Here’s a detailed explanation of how it works:
---
### **1. Script Name**
```pinescript
indicator("DAVID AKONJANG FROM TIKO CAMEROON", overlay=true)
```
- The indicator is titled `"DAVID AKONJANG FROM TIKO CAMEROON"`.
- The `overlay=true` setting means the indicator and its signals (Buy/Sell labels) are drawn directly on the price chart instead of in a separate window.
---
### **2. RSI (Relative Strength Index) Calculation**
```pinescript
rsi_length = input.int(14, title="RSI Length", minval=1)
source = input.source(close, title="Source")
rsi = ta.rsi(source, rsi_length)
```
- **RSI Length**: The script calculates the RSI using the closing price of the candles, with a user-configurable lookback period (default is 14).
- The `ta.rsi` function generates the RSI values.
---
### **3. Moving Average (MA) of the RSI**
```pinescript
ma_type = input.string("SMA", title="MA Type", options= )
ma_length = input.int(14, title="MA Length", minval=1)
ma = ma_type == "SMA" ? ta.sma(rsi, ma_length) :
ma_type == "EMA" ? ta.ema(rsi, ma_length) :
ta.wma(rsi, ma_length)
```
- **MA Type**: The user can select the type of Moving Average (SMA, EMA, or WMA) using an input dropdown.
- **MA Length**: The length of the MA is also configurable (default is 14).
- The Moving Average is applied to the RSI values, smoothing out the RSI line.
---
### **4. Buy and Sell Signal Conditions**
```pinescript
sell_condition = ta.crossunder(rsi, ma) // RSI crosses MA downward
buy_condition = ta.crossover(rsi, ma) // RSI crosses MA upward
```
- **Sell Signal**:
- The `ta.crossunder` function checks when the RSI line crosses **below** the Moving Average line.
- This is typically interpreted as a bearish signal, suggesting that momentum is weakening and a potential downtrend is forming.
- **Buy Signal**:
- The `ta.crossover` function checks when the RSI line crosses **above** the Moving Average line.
- This is usually interpreted as a bullish signal, indicating strengthening momentum and a possible uptrend.
---
### **5. Plotting the Buy and Sell Signals**
```pinescript
plotshape(sell_condition, title="Sell Signal", style=shape.labeldown, location=location.abovebar, color=color.red, text="Sell")
plotshape(buy_condition, title="Buy Signal", style=shape.labelup, location=location.belowbar, color=color.green, text="Buy")
```
- **Sell Signals**:
- A red label with the text `"Sell"` is plotted **above the price candles** whenever the `sell_condition` is met.
- **Buy Signals**:
- A green label with the text `"Buy"` is plotted **below the price candles** whenever the `buy_condition` is met.
---
### **How It Works in Practice**
1. **RSI Calculation**:
- The RSI is a momentum oscillator that moves between 0 and 100, helping identify overbought and oversold conditions.
2. **Crossing the Moving Average**:
- When RSI crosses above its Moving Average (`buy_condition`), it indicates bullish momentum.
- When RSI crosses below its Moving Average (`sell_condition`), it signals bearish momentum.
3. **Signal Display**:
- The indicator displays Buy and Sell signals visually on the chart:
- Buy signals are **below the candles** (green label).
- Sell signals are **above the candles** (red label).
---
### **Use Case**
- This indicator can help traders identify potential entry and exit points based on momentum shifts in the RSI relative to its Moving Average.
- **Buy Signal**: When the RSI crosses upward through its MA, indicating strengthening upward momentum.
- **Sell Signal**: When the RSI crosses downward through its MA, showing weakening upward momentum or strengthening downward momentum.
---
### **Example Workflow**
1. **Add the Script to Your Chart**:
- Copy the script into the Pine Script Editor on TradingView and add it to your chart.
2. **Observe the Signals**:
- Green "Buy" labels will appear below the candles whenever RSI crosses its MA upward.
- Red "Sell" labels will appear above the candles whenever RSI crosses its MA downward.
3. **Interpret the Market**:
- Use these signals to guide trading decisions, often in combination with other analysis tools for better accuracy.
all glory to Jesus Christ
Renko Periodic Spiral of Archimedes-Secret Geometry - AYNETHow It Works
Dynamic Center:
The spiral is centered on the close price of the chart, with an optional vertical offset (center_y_offset).
Spiral Construction:
The spiral is drawn using segments_per_turn to divide each turn into small line segments.
spacing determines the radial distance between successive turns.
num_turns controls how many full rotations the spiral will have.
Line Drawing:
Each segment is computed using trigonometric functions (cos and sin) to calculate its endpoints.
These segments are drawn sequentially to form the spiral.
Inputs
Center Y Offset: Adjusts the vertical position of the spiral relative to the close price.
Number of Spiral Turns: Total number of full rotations in the spiral.
Spacing Between Turns: Distance between consecutive turns.
Segments Per Turn: Number of segments used to create each turn (higher values make the spiral smoother).
Line Color: Customize the color of the spiral lines.
Line Width: Adjust the thickness of the spiral lines.
Example
If num_turns = 5, spacing = 2, and segments_per_turn = 100:
The spiral will have 5 turns, with a radial distance of 2 between each turn, divided into 100 segments per turn.
Let me know if you have further requests or adjustments to the visualization!
COT Report Indicator with Speculator Net PositionsThe COT Report Indicator with Speculator Net Positions is designed to give traders insights into the behavior of large market participants, particularly speculators, based on the Commitment of Traders (COT) report data. This indicator visualizes the long and short positions of non-commercial traders, allowing users to gauge the sentiment and positioning of large speculators in key markets, such as Gold, Silver, Crude Oil, S&P 500, and currency pairs like EURUSD, GBPUSD, and others.
The indicator provides three essential components:
Net Long Position (Green) - Displays the total long positions held by speculators.
Net Short Position (Purple) - Shows the total short positions held by speculators.
Net Difference (Long - Short) (Yellow) - Illustrates the difference between long and short positions, helping users identify whether speculators are more bullish or bearish on the asset.
Recommended Timeframes:
Best Timeframes: Weekly and Monthly
The COT report data is released on a weekly basis, making higher timeframes like the Weekly and Monthly charts ideal for this indicator. These timeframes provide a more accurate reflection of the underlying trends in speculator positioning, avoiding the noise present in lower timeframes.
How to Use:
Market Sentiment: Use this indicator to gauge the sentiment of large speculators, who often drive market trends. A strong net long position can indicate bullish sentiment, while a high net short position might suggest bearish sentiment.
Trend Reversal Signals: Sudden changes in the net difference between long and short positions may indicate potential trend reversals.
Confirmation Tool: Pair this indicator with your existing analysis to confirm the strength of a trend or identify overbought/oversold conditions based on speculator activity.
Supported Symbols:
This indicator currently supports a range of commodities and currency pairs, including:
Gold ( OANDA:XAUUSD )
Silver ( OANDA:XAGUSD )
Crude Oil ( TVC:USOIL )
Natural Gas ( NYMEX:NG1! )
S&P 500 ( SP:SPX )
Dollar Index ( TVC:DXY )
EURUSD ( FX:EURUSD )
GBPUSD ( FX:GBPUSD )
GBPJPY( FX:GBPJPY )
By providing clear insight into the positions of large speculators, this indicator is a powerful tool for traders looking to align with institutional sentiment and enhance their trading strategy.
Mandala Visualization-Secret Geometry-AYNETCode Explanation
Dynamic Center:
The center Y coordinate is dynamic and defaults to the close price.
You can change it to a fixed level if desired.
Concentric Rings:
The script draws multiple circular rings spaced evenly using ring_spacing.
Symmetry Lines:
The Mandala includes num_lines radial symmetry lines emanating from the center.
Customization Options:
num_rings: Number of concentric circles.
ring_spacing: Distance between each ring.
num_lines: Number of radial lines.
line_color: Color of the rings and lines.
line_width: Thickness of the rings and lines.
How to Use
Add the script to your TradingView chart.
Adjust the input parameters to fit the Mandala within your chart view.
Experiment with different numbers of rings, lines, and spacing for unique Mandala patterns.
Let me know if you'd like additional features or visual tweaks!
Price RangePrice Range
This indicator displays low, middle, and high price zones based on the lowest and highest prices over a specified period, using color-coding. This helps users visually identify the current price's position within these zones.
The effectiveness of chart patterns varies depending on where they appear within these price zones. For example, a double bottom pattern, which signals a potential market bottom, is a strong buy signal if it forms in the low zone, but it has less reliability if it forms in the middle or high zones.
Similarly, price action signals vary in significance based on their location. If a long upper wick pin bar appears in the high zone, it is often interpreted as a sign of reversal.
By combining this Price Range indicator with indicators that display chart patterns or price action signals, traders can make more informed trading decisions.
By default, the middle zone is set to cover 50% of the range, but this can be adjusted.
このインジケーターは、指定した期間の最安値と最高値をもとに、安値圏、中段圏、高値圏を色分けして表示します。これにより、ユーザーは現在の価格がどの位置にあるのかを視覚的に判断できます。
また、チャートパターンの効果は、出現する価格帯によって異なります。たとえば、ダブルボトムは相場の底を示すパターンで、安値圏で形成されると強い買いシグナルとなりますが、中段圏や高値圏で出現しても信頼性は低くなります。
プライスアクションも、どの価格帯に現れるかによって解釈が異なります。高値圏で上ヒゲの長いピンバーが現れると、反転の兆しとして判断されることが多いです。
このPrice Rangeインジケーターを、チャートパターンやプライスアクションを表示するインジケーターと組み合わせることで、より適切なトレード判断が可能になります。
デフォルトでは中段圏の割合が50%になるように設定されていますが、変更することが可能です。
6 different MA lines from 2 MA sources Does what it says on the can.
6 plotted lines, 2 MA sources, 3 per source.
Default is the high and lows SMA in the 50, 100 and 200 average.
It is opensource so you edit the script to use some other moving average
Intraday Williams %R Long-Only NQ/ES StrategyHello,
This is another long-only strategy designed for intraday trading.
The strategy performs best with instruments that exhibit a long-term upward-sloping equity curve, such as ES1! and NQ1!.
It utilizes the Williams %R Indicator.
The strategy first identifies a recent selloff where the Williams %R value drops below -80. After this, the following bar must be an up bar, signaling that buyers have stepped in. The strategy enters the market on the next bar and exits after just 1 bar.
Commissions are set at $2.50 per trade (which totals $5 per round trip).
daniel//@version=5
strategy("Estrategia ADX con Stop Loss y Objetivo", overlay=true)
// Configuración de parámetros
adxLength = input.int(14, title="Periodo ADX")
adxThreshold = input.int(25, title="Umbral ADX")
stopLossPerc = input.float(1, title="Stop Loss (%)", step=0.1) / 100
takeProfitPerc = input.float(3, title="Take Profit (%)", step=0.1) / 100 // Cambiado a 3%
// Cálculo de TR (True Range) manualmente
highLow = high - low
highClosePrev = math.abs(high - close )
lowClosePrev = math.abs(low - close )
tr = math.max(highLow, math.max(highClosePrev, lowClosePrev))
atr = ta.sma(tr, adxLength)
// Cálculo de +DM y -DM
plusDM = (high - high > low - low) ? math.max(high - high , 0) : 0
minusDM = (low - low > high - high ) ? math.max(low - low, 0) : 0
// Suavizado de +DM y -DM
smoothedPlusDM = ta.sma(plusDM, adxLength)
smoothedMinusDM = ta.sma(minusDM, adxLength)
// Cálculo de +DI y -DI
plusDI = (smoothedPlusDM / atr) * 100
minusDI = (smoothedMinusDM / atr) * 100
// Cálculo del DX y ADX
dx = math.abs(plusDI - minusDI) / (plusDI + minusDI) * 100
adx = ta.sma(dx, adxLength)
// Condiciones de entrada
longCondition = ta.crossover(plusDI, minusDI) and adx > adxThreshold
shortCondition = ta.crossover(minusDI, plusDI) and adx > adxThreshold
// Ejecución de operaciones
if (longCondition)
strategy.entry("Compra", strategy.long)
if (shortCondition)
strategy.entry("Venta", strategy.short)
// Stop Loss y Take Profit
strategy.exit("Cerrar Compra", from_entry="Compra", loss=stopLossPerc, profit=takeProfitPerc)
strategy.exit("Cerrar Venta", from_entry="Venta", loss=stopLossPerc, profit=takeProfitPerc)
Fibonacci Candlestick - AYNETHow It Works
Inputs:
ltf_timeframe: Specify the timeframe for candlestick data (e.g., 1H, 4H).
Fibonacci Levels:
Toggle Fibonacci level visibility (show_fib_levels).
Customize Fibonacci line color (fib_color) and width (fib_width).
Candlestick Data:
Fetches open, high, low, and close prices for the specified timeframe using request.security.
Fibonacci Levels:
Calculates standard Fibonacci retracement levels (0.0, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%) for each candle's high-low range.
Draws horizontal lines for each level using line.new.
Candlestick Visualization:
Plots lower timeframe candles with customizable bullish and bearish colors.
Key Features
Dynamic Fibonacci Levels:
Fibonacci levels are recalculated for each candlestick's high-low range.
Levels update dynamically with new candles.
Candlestick Overlay:
Visualizes candlestick data from the specified timeframe directly on the current chart.
Customizable Appearance:
Configure colors for Fibonacci levels, candlestick bodies, and wicks.
Use Cases
Microstructure Analysis:
Analyze individual candlesticks with their Fibonacci retracements for potential support/resistance zones.
Multi-Timeframe Trading:
Overlay candlestick and Fibonacci data from a lower timeframe onto a higher timeframe chart.
Let me know if you'd like further enhancements or explanations! 😊
RisC WMAs crossover strategy - v.05 ALPHASimple Strategy of crossing multiple moving averages of price.
Effective on M15, M5 and M4
Used on USDJPY, USDBTC, EURUSD, US500, WTI, GOLD.
Entry:
- on crossing the low/high of last bar on which there was a red/green vertical bar signal displayed
Stoploss:
- above/below high/low of last ~50 candles
Close:
- be ready after the yellow short MA crosses white one (13MA), then close the trade (only if profitable!) on crossing low/high of the candle which is completely below/above the WHITE moving average (the signal candle cannot even touch this MA). If the trade is in loss do not close it - wait for the next signal.
- or on reversal signal
Possible ways of optimalisation:
1. additionally set the Win/Risk ration to 3:1 and after reach the 2:1, move the Stop loss to the break even level
2. if the vertical signal bar pops up on the graph wait till 10 second to it's end and quickly take the opposite position with setting the Stoploss just above/below the candle with signal bar. Then exit with the same tactic on the opposite signal. It often helps to generate small profits (instead of annoying loses) even on horizontal trends!
3. If you have a position opened after the signal occured and market is going against you, you can add to the position (eg. double it) using the same tactic described in #2
4. You can observe the higher timeframe's trend direction and take only the trades in the same direction
5. You can filter the signals generated by the RisC WMAs crossing strategy using the SMC (smart money concept) levels like Demand/Supply zones, order blocks, equilibrium. For example for tuning up the Stoploss levels when entering the trade, take profit zones not waiting for the strategy rules or just skipping different signals of the strategy.
Good luck! :-)