Grid Profit Optimizer / Owl of ProfitGrid Profit Optimizer
This strategy is designed to analyze Bitcoin price movements within a defined range, optimizing grid-based trading profits. By tracking how many times the price crosses predefined grid levels, traders can assess potential opportunities for profit-taking in a grid trading system.
How It Works
Grid-Based Tracking
Grid Size ( NYSE:X ): Defines the price difference between each grid level.
Lower & Upper Price Boundaries ( NYSE:L & NYSE:U ): The price range within which the strategy will count grid crossings.
Timeframe for Analysis (H): Determines how many past hours are considered.
Interval in Minutes (M): Defines the resolution for tracking grid movements.
Counting Grid Crossings
Sell Grid Crossings: Counted when the price moves upward and crosses a grid level.
Buy Grid Crossings: Counted when the price retraces downward after a sell grid crossing.
Ensures Proper Sequence: Buy crossings occur only after sell crossings, avoiding double counting.
Displaying Results
At the last bar of the analyzed period, the strategy displays:
The total number of Sell Grid Crossings.
The total number of Buy Grid Crossings.
The specified time range and interval used for calculations.
This allows traders to assess how often the price fluctuates between grid levels, helping them optimize their grid trading strategy.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
Penunjuk dan strategi
O'Neil Earnings StabilityO'Neil Earnings Stability Indicator
This indicator implements William O'Neil's earnings stability analysis, a key factor in identifying high-quality growth stocks. It measures both earnings stability (1-99 scale) and growth rate.
Scale Interpretation:
• 1-25: Highly stable earnings (ideal)
• 26-30: Moderately stable
• >30: More cyclical/less dependable
The stability score is calculated by measuring deviations from the earnings trend line, with lower scores indicating more consistent growth. Combined with the annual growth rate (target ≥25%), this helps identify stocks with both steady and strong earnings growth.
Optimal Criteria:
✓ Stability Score < 25
✓ Annual Growth > 25%
This tool helps filter out stocks with erratic earnings patterns and identify those with proven, sustainable growth records. Green label indicates both criteria are met; red indicates one or both criteria failed."
Would you like me to modify any part of this description or add more details about specific aspects of the calculation?
The key concepts in these calculations:
Stability Score (1-99 scale):
Lower score = more stable
Takes average deviation from mean earnings
Uses logarithmic scaling to emphasize smaller deviations
Multiplies by 20 to get into 1-99 range
Score ≤ 25 meets O'Neil's criteria
Growth Rate:
Year-over-year comparison (current quarter vs same quarter last year)
Calculated as percentage change
Growth ≥ 25% meets O'Neil's criteria
O'Neil's Combined Criteria:
Stability Score should be ≤ 25 (indicating stable earnings)
Growth Rate should be ≥ 25% (indicating strong growth)
Both must be met for ideal conditions
Directional High-Low Volatility ((High-Low)/low)Directional High-Low Volatility
Calculated as : HIGH-LOW/LOW
High of Specific Date//@version=5
indicator("High of Specific Date", overlay=true)
// Input for the specific date
input_date = input.time(timestamp("2023-10-01"), title="Specific Date", confirm=true)
// Check if the current bar's date matches the input date
is_target_date = (time == input_date)
// Get the high of the target candle
var float target_high = na
if is_target_date
target_high := high
// Draw a horizontal line at the high of the target candle
line.new(x1=bar_index, y1=target_high, x2=bar_index + 1, y2=target_high, color=color.red, width=2, extend=extend.right)
// Optional: Label to show the high value
if not na(target_high)
label.new(x=bar_index, y=target_high, text=str.tostring(target_high), color=color.white, textcolor=color.black, style=label.style_label_down, size=size.small)
Trading SessionsZeichnet die entsprechenden Sessions von Asia, London und New York ein.
Asia = Blue
London = Green
New York = Red
2 ma 1 EmaMakes it easy to plot ma and Ema
3 indicators combined into one
2 simple moving averages
1 exponential moving average
Real-Time Data Error Check _byMDKTests back if there was missing data/bar with respect to selected timeframe and source.
Experienced red data (no-real time data is available) so i come up with the idea.
Regards.
i.redd.it
Demo GPT - #Moving Average Crossoverdsfsdfsdf fsdfsadfv fewdsfadfs fewasdfasd fasdgdsfgsdf bx fwsdvasdgsfdb fasdgdsfgsdf fsadfsdgdfsg fsadgsdfgsdfg
Donchian Channel Strategy by ardhankurniawanThis strategy combines the Donchian Channel with a 200-period Simple Moving Average (SMA) to identify potential long and short trade opportunities. The Donchian Channel is calculated using a 20-period range, and it plots the upper, lower, and midlines. The strategy enters a long position when the price breaks above the highest point of the Donchian Channel and is above the SMA 200, and enters a short position when the price falls below the lowest point of the Donchian Channel and is below the SMA 200. A custom stop loss is applied for both long and short positions based on the midline of the Donchian Channel, with a 45% offset.
Disclaimer:
This trading strategy is for research purposes only and should not be considered as financial or investment advice. The use of this strategy involves risk, and past performance is not indicative of future results. Always conduct your own research and consult with a financial advisor before making any investment decisions. Trading involves significant risk, and you could lose more than your initial investment. By using this strategy, you agree to take full responsibility for any trades executed and the associated risks.
1AM CRT (Long)1am utc-5 CRT long execution 2 and 3 am than take profit
1am utc-5 CRT long execution 2 and 3 am than take profit1am utc-5 CRT long execution 2 and 3 am than take profit1am utc-5 CRT long execution 2 and 3 am than take profit1am utc-5 CRT long execution 2 and 3 am than take profit1am utc-5 CRT long execution 2 and 3 am than take profit1am utc-5 CRT long execution 2 and 3 am than take profit1am utc-5 CRT long execution 2 and 3 am than take profit1am utc-5 CRT long execution 2 and 3 am than take profit1am utc-5 CRT long execution 2 and 3 am than take profit
CRYPTO Wall Street HoursAdjust to your Time.
Use with 8h Chart.
Shows only bars of WALLSTREET hours.
Sathanand crossoverThis Moving Average Crossover indicator uses two lines:
1️⃣ Short Moving Average (Short MA - Blue Line)
This is the faster moving average (default: 50-period).
It reacts quickly to price changes.
When it crosses above the Long MA → Buy Signal 📈
When it crosses below the Long MA → Sell Signal 📉
2️⃣ Long Moving Average (Long MA - Red Line)
This is the slower moving average (default: 200-period).
It smooths out long-term trends and avoids short-term fluctuations.
Acts as a trend confirmation line—staying above means an uptrend, below means a downtrend.
Buy & Sell Signals:
✅ Green "Up" Arrow (Buy Signal) → Short MA crosses above Long MA → Uptrend starts
✅ Red "Down" Arrow (Sell Signal) → Short MA crosses below Long MA → Downtrend starts
📊 In Short:
The crossover strategy helps identify trend reversals
Useful for trend-following traders
Works well in strong trending markets, but may give false signals in sideways markets
RSI and MACD Buy/Sell Strategy with Signals//@version=5
indicator("RSI and MACD Buy/Sell Strategy with Signals", overlay=true)
// Define RSI and MACD parameters
rsiPeriod = 14
macdShort = 12
macdLong = 26
macdSignal = 9
// Calculate RSI
rsi = ta.rsi(close, rsiPeriod)
// Calculate MACD
= ta.macd(close, macdShort, macdLong, macdSignal)
macdHist = macdLine - signalLine
// Define buy and sell conditions
buyCondition = (rsi < 30) and (macdHist < -7 or macdHist < -8)
sellCondition = (rsi > 60) and (macdHist > 6)
// Plot Buy and Sell signals directly on the main price chart
plotshape(series=buyCondition, location=location.belowbar, color=color.green, style=shape.labelup, title="Buy Signal", text="BUY", textcolor=color.white, size=size.small)
plotshape(series=sellCondition, location=location.abovebar, color=color.red, style=shape.labeldown, title="Sell Signal", text="SELL", textcolor=color.white, size=size.small)
BybitPerpsArrayLibrary "BybitPerpsArray"
f_getSymbolsForGroup(groupName)
Parameters:
groupName (string)
Contains all of the BYBIT Perp charts- use function to call them in groups
Gold Trading Signals samimi// Pine Script v5
//@version=5
indicator("Gold Trading Signals", overlay=true)
// تنظیم اندیکاتورها
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
= ta.macd(close, 12, 26, 9)
rsi = ta.rsi(close, 14)
// شرط خرید (Buy Signal)
buyCondition = ta.crossover(macdLine, signalLine) and close > ema50 and close > ema200 and rsi > 50
// شرط فروش (Sell Signal)
sellCondition = ta.crossunder(macdLine, signalLine) and close < ema50 and close < ema200 and rsi < 50
// واگراییها
divBull = ta.lowest(close, 5) < ta.lowest(close, 10) and rsi > ta.lowest(rsi, 10) // واگرایی مثبت
divBear = ta.highest(close, 5) > ta.highest(close, 10) and rsi < ta.highest(rsi, 10) // واگرایی منفی
// نمایش سیگنالها
plotshape(buyCondition or divBull, location=location.belowbar, color=color.green, style=shape.labelup, title="Buy Signal")
plotshape(sellCondition or divBear, location=location.abovebar, color=color.red, style=shape.labeldown, title="Sell Signal")
// نمایش خطوط EMA
plot(ema50, title="EMA 50", color=color.blue)
plot(ema200, title="EMA 200", color=color.orange)
Custom MAFACustom indicator of fang stocks to track other similar ETF's and see fi there are any arbitrage opportunities.
10-Point LinesPlace a line at each 10 points level.
Find support and resistant levels at fixed price points.
-RS
NVN FVG Buy/Sell ZonesThis TradingView Pine Script identifies Fair Value Gaps (FVGs) based on volume conditions and marks the first retracement into those zones. It detects bullish and bearish FVGs by checking if the middle candle’s volume higher than the first and last candles and above the 6-period moving average. The script highlights Sell FVGs in red and Buy FVGs in green while labeling the first retracement into each zone. Additionally, it filters signals to appear only before 2 PM Indian market time for better trade relevance.
Price in BTC (x1000)I'm not a coder. I just knocked this together with AI
Shows how the current asset performed relative to BTC (COINBASE:BTCUSD) on the current timeframe
Works with assets priced in USD, USDT and USDC but you can easily add more
Had to multiply the price by 1000 to mitigate leading zeros and improve compatibility with low-denomination assets (e.g. PEPE)
MAs and crossovers included
Feel free to use it however you want
Dynamic SMA Above and Below Candles By (Fahad Bashir)//@version=5
indicator("Dynamic SMA Above and Below Candles", overlay=true, max_lines_count=500)
// Input parameters
sma_length = input.int(21, "SMA Length", minval=1)
offset_atr_multiplier = input.float(1.5, "Offset ATR Multiplier", step=0.1)
atr_length = input.int(14, "ATR Period", minval=1)
// Calculations
sma = ta.sma(close, sma_length)
atr = ta.atr(atr_length)
dynamic_offset = atr * offset_atr_multiplier
upper_sma = sma + dynamic_offset // Upper SMA above the candles
lower_sma = sma - dynamic_offset // Lower SMA below the candles
// Plotting
plot(upper_sma,
color=color.new(#FF4500, 0),
linewidth=2,
title="Dynamic SMA Above",
style=plot.style_line)
plot(lower_sma,
color=color.new(#00BFFF, 0),
linewidth=2,
title="Dynamic SMA Below",
style=plot.style_line)
// Price relationship visualization
bgcolor(close > upper_sma ? color.new(color.red, 90) : color.new(color.green, 90))
SPDR Sectors█ OVERVIEW
This script is an interactive and customizable SPDR Sectors Indicator designed to monitor and analyze the performance of the 11 main sectors of the S&P 500 using sector-specific ETFs. The script provides a dynamic table for tracking daily or periodic sector movements, making it an essential tool for traders, analysts, and investors implementing sector rotation strategies.
█ DEFINITIONS
SPDR Sectors ETFs are exchange-traded funds managed by State Street Global Advisors that divide the S&P 500 into the following 11 sectors:
- Communication Services (XLC)
- Consumer Discretionary (XLY)
- Consumer Staples (XLP)
- Energy (XLE)
- Financials (XLF)
- Health Care (XLV)
- Industrials (XLI)
- Materials (XLB)
- Real Estate (XLRE)
- Technology (XLK)
- Utilities (XLU)
These ETFs aim to replicate the performance of their respective sectors as defined by the Global Industry Classification Standard (GICS). The funds are periodically rebalanced to match changes in the S&P 500, offering an accurate reflection of sectoral trends.
█ INDICATOR
The script provides a table displaying the ticker and its corresponding sector name in official GICS terminology, using the SPDR official color. Additionally, it shows the percentage performance, calculated daily for intraday charts or according to the chart's time frame.
The table can be sorted in ascending or descending order, based on either performance or the weight of the ETFs in the S&P 500, which can be manually updated using data retrieved from www.sectorspdrs.com
Zig Zag + Williams %R / Owl of ProfitZig Zag + Williams %R Strategy
The Zig Zag + Williams %R Strategy combines trend identification with momentum-based entries. It detects significant swing highs and lows using the Zig Zag indicator, while the Williams %R oscillator helps confirm entry points when the market reaches overbought or oversold conditions.
Features
Zig Zag Indicator:
Identifies swing highs and lows based on price deviation and depth settings.
Helps eliminate market noise by focusing on significant price movements.
Provides a clear trend direction (uptrend or downtrend).
Williams %R Oscillator:
Measures momentum by comparing the current price to the highest high over a given period.
Values below -80 indicate oversold conditions (potential buying opportunity).
Values above -20 indicate overbought conditions (potential selling opportunity).
Entry and Exit Conditions
Long Entry (Buy Signal):
The Zig Zag identifies a new swing low (uptrend begins).
Williams %R crosses above -80 (momentum shift upward).
Short Entry (Sell Signal):
The Zig Zag identifies a new swing high (downtrend begins).
Williams %R crosses below -20 (momentum shift downward).
Exit Conditions:
Positions are closed based on predefined Stop Loss (1%) and Take Profit (2%) levels.
Alternatively, trades can be exited when the trend reverses according to the Zig Zag indicator.
Visualization
Zig Zag Pivots:
Green Labels (PL): Swing lows (potential buys).
Red Labels (PH): Swing highs (potential sells).
Williams %R Indicator:
Dashed Green Line (-80): Oversold threshold.
Dashed Red Line (-20): Overbought threshold.
Blue Line: Real-time Williams %R value.
Use Cases
Swing Trading: Identifies major trend reversals for medium-term trades.
Momentum Trading: Confirms high-probability entries using Williams %R.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!