Monthly Buy IndicatorIt shows us the the total balance when buying monthly, ploting the total invested amount and total current balance along the time.
Opening the Data Window, it displays the profit (%) and the number of trades.
The "Allow Fractional Purchase" flag can be used to check the the performance of the ticker, disregarding how much the monthly amount is set vs the price of the ticker.
The trades are considering buying the available amount on the 1st candle of each month, at the Open price. The "Total Balance" considers the close price of each candle.
المؤشرات والاستراتيجيات
MUR 9:15 AM 15-Minute Candle Open and Close Lines with Alert9:15 AM 15-Minute Candle Open and Close Lines with Alert
This script shows 9 15 high and low which means 15 minutes candles high and low with line which is easy to proceed with trade
Triple Moving Average by XeodiacBest indicator for Moving Averages . In finance, a moving average (MA) is a stock indicator commonly used in technical analysis. The reason for calculating the moving average of a stock is to help smooth out the price data by creating a constantly updated average price.
By calculating the moving average, the impacts of random, short-term fluctuations on the price of a stock over a specified time frame are mitigated. Simple moving averages (SMAs) use a simple arithmetic average of prices over some timespan, while exponential moving averages (EMAs) place greater weight on more recent prices than older ones over the time period.
Our indicator includes 4 MA modes which is SMA, SMMA, EMA and WMA. You can customize to any period of the MA line you want, any colours, any line pattern, thickness and so on. You will get 3 MA lines as default with this indicator. Why wait? Apply the indicator directly to your chart now and start winning!
Wick Size in USD with 10-Bar AverageWick Size in USD with 10-Bar Average
Version: 1.0
Author: QCodeTrader
🔍 Overview
This indicator converts the price wicks of your candlestick chart into USD values based on ticks, providing both raw and smoothed data via a 10-bar simple moving average. It helps traders visualize the monetary impact of price extremes, making it easier to assess volatility, potential risk, and plan appropriate stop loss levels.
⚙️ Key Features
Tick-Based Calculation:
Converts wick sizes into ticks (using a fixed tick size of 0.01, typical for stocks) and then into USD using a customizable tick value.
10-Bar Moving Average:
Smooths out the wick values over the last 10 bars, giving you a clearer view of average wick behavior.
Bullish/Bearish Visual Cues:
The chart background automatically highlights bullish candles in green and bearish candles in red for quick visual assessment.
Stop Loss Optimization:
The indicator highlights long wick sizes, which can help you set more accurate stop loss levels. Even when the price moves in your favor, long wicks may indicate potential reversals—allowing you to account for this risk when planning your stop losses.
User-Friendly Customization:
Easily adjust the USD value per tick through the settings to tailor the indicator to your specific instrument.
📊 How It Works
Wick Calculation:
The indicator calculates the upper and lower wicks by measuring the distance between the candle’s high/low and its body (open/close).
Conversion to Ticks & USD:
These wick sizes are first converted from price points to ticks (dividing by a fixed tick size of 0.01) and then multiplied by the user-defined tick value to convert the measurement into USD.
Smoothing Data:
A 10-bar simple moving average is computed for both the upper and lower wick values, providing smoothed data that helps identify trends and deviations.
Visual Representation:
Columns display the raw wick sizes in USD.
Lines indicate the 10-bar moving averages.
Background Color shifts between green (bullish) and red (bearish) based on candle type.
⚡ How to Use
Add the Indicator:
Apply it to your chart to begin visualizing wick sizes in monetary terms.
Customize Settings:
Adjust the Tick Value in USD in the settings to match your instrument’s tick value.
(Note: The tick size is fixed at 0.01, which is standard for many stocks.)
Optimize Your Stop Loss:
Analyze the raw and averaged wick values to understand volatility. Long wicks—even when the price moves in your favor—may indicate potential reversals. This insight can help you set more accurate stop loss levels to protect your gains.
Analyze:
Use the indicator’s data to gauge market volatility and assess the significance of price movements, aiding in more informed trading decisions.
This indicator is perfect for traders looking to understand the impact of extreme price movements in monetary terms, optimize stop loss levels, and effectively manage risk across stocks and other instruments with similar tick structures.
MACD+RSI Indicator Moving Average Convergence/Divergence or MACD is a momentum indicator that shows the relationship between two Exponential Moving Averages (EMAs) of a stock price. Convergence happens when two moving averages move toward one another, while divergence occurs when the moving averages move away from each other. This indicator also helps traders to know whether the stock is being extensively bought or sold. Its ability to identify and assess short-term price movements makes this indicator quite useful.
The Moving Average Convergence/Divergence indicator was invented by Gerald Appel in 1979.
Moving Average Convergence/Divergence is calculated using a 12-day EMA and 26-day EMA. It is important to note that both the EMAs are based on closing prices. The convergence and divergence (CD) values have to be calculated first. The CD value is calculated by subtracting the 26-day EMA from the 12-day EMA.
---------------------------------------------------------------------------------------------------------------------
The relative strength index (RSI) is a momentum indicator used in technical analysis. RSI measures the speed and magnitude of a security's recent price changes to detect overbought or oversold conditions in the price of that security.
The RSI is displayed as an oscillator (a line graph) on a scale of zero to 100. The indicator was developed by J. Welles Wilder Jr. and introduced in his seminal 1978 book, New Concepts in Technical Trading Systems.
In addition to identifying overbought and oversold securities, the RSI can also indicate securities that may be primed for a trend reversal or a corrective pullback in price. It can signal when to buy and sell. Traditionally, an RSI reading of 70 or above indicates an overbought condition. A reading of 30 or below indicates an oversold condition.
---------------------------------------------------------------------------------------------------------------------
By combining them, you can create a MACD/RSI strategy. You can go ahead and search for MACD/RSI strategy on any social platform. It is so powerful that it is the most used indicator in TradingView. It is best for trending market. Our indicator literally let you customize MACD/RSI settings. Explore our indicator by applying to your chart and start trading now!
Day Ranges (IST)Divides trading session into parts - 09:15 am to 12:00 noon and 12:00 noon to 15:30pm
EMA Buy/Sell Signals//@version=5
indicator("EMA Buy/Sell Signals", overlay=true)
// Calculate the 20-period EMA on the 1-hour chart
ema20 = request.security(syminfo.tickerid, "60", ta.ema(close, 20))
// Calculate the 10-period EMA on the 3-minute chart
ema10 = ta.ema(close, 10)
// Determine the bias based on the 1-hour chart
var float bias = na
if (ema20 != na)
bias := close > ema20 ? 1 : -1
// Identify entry signals on the 3-minute chart
longCondition = (bias == 1) and ta.crossover(close, ema10)
shortCondition = (bias == -1) and ta.crossunder(close, ema10)
// Plot signals on the chart
plotshape(series=longCondition, location=location.belowbar, color=color.green, style=shape.labelup, text="Buy")
plotshape(series=shortCondition, location=location.abovebar, color=color.red, style=shape.labeldown, text="Sell")
// Plot EMA lines on the chart
plot(ema20, title="EMA 20", color=color.blue)
plot(ema10, title="EMA 10", color=color.orange)
EMA Buy/Sell Signals//@version=5
indicator("EMA Buy/Sell Signals", overlay=true)
// 1-घंटे के चार्ट पर 20-पीरियड EMA की गणना
ema20 = ta.ema(close, 20)
// 3-मिनट के चार्ट पर 10-पीरियड EMA की गणना
ema10 = ta.ema(close, 10)
// वर्तमान समय सीमा की जांच करें
is_1h = (timeframe.period == "60")
is_3m = (timeframe.period == "3")
// 1-घंटे के चार्ट पर बायस निर्धारित करें
var float bias = na
if (is_1h)
bias := close > ema20 ? 1 : -1
// 3-मिनट के चार्ट पर एंट्री सिग्नल की पहचान करें
longCondition = (bias == 1) and ta.crossover(close, ema10)
shortCondition = (bias == -1) and ta.crossunder(close, ema10)
// चार्ट पर संकेत दिखाएं
plotshape(series=longCondition, location=location.belowbar, color=color.green, style=shape.labelup, text="Buy")
plotshape(series=shortCondition, location=location.abovebar, color=color.red, style=shape.labeldown, text="Sell")
// EMA लाइनों को चार्ट पर प्लॉट करें
plot(ema20, title="EMA 20", color=color.blue)
plot(ema10, title="EMA 10", color=color.orange)
Triple Moving Average by KelvinTriple Moving Average by Kelvin.
In finance, a moving average (MA) is a stock indicator commonly used in technical analysis. The reason for calculating the moving average of a stock is to help smooth out the price data by creating a constantly updated average price.
By calculating the moving average, the impacts of random, short-term fluctuations on the price of a stock over a specified time frame are mitigated. Simple moving averages (SMAs) use a simple arithmetic average of prices over some timespan, while exponential moving averages (EMAs) place greater weight on more recent prices than older ones over the time period.
Moving averages are calculated to identify the trend direction of a stock or to determine its support and resistance levels. It is a trend-following or lagging indicator because it is based on past prices.
The longer the period for the moving average, the greater the lag. A 200-day moving average will have a much greater degree of lag than a 20-day MA because it contains prices for the past 200 days. Fifty-day and 200-day moving average figures are widely followed by investors and traders and are considered to be important trading signals.
Investors may choose different periods of varying lengths to calculate moving averages based on their trading objectives. Shorter moving averages are typically used for short-term trading, while longer-term moving averages are more suited for long-term investors.
How to use this indicator?
So in this indicator, you can customize three of the moving averages like changing their colour, changing the thickness, choose any moving averages mode smma, ema, sma and wma. Just apply directly to the chart and customize yourself.
Why use this indicator?
It let you customize with your creativity. Any ideas you have you can just change it directly in the settings. You can also change to any moving average period you want. Isn't it awesome?
We will update more customizable settings in the future to let our user get their most comfort moving averages.
EMA Crossover Indicator9 Day EMA Crosses Above 21 day EMA When this crossover happens on intraday and daily time frame it indicates for a buy. intraday time frame 5 min and 15 min.
Webhook Buy/Sell Signals Yogendra Kumar Singh//@version=5
indicator("Webhook Buy/Sell Signals", overlay=true)
// Fetching External Inputs
buySignal = request.security("WEBHOOK_SOURCE", timeframe.period, close) > 0
sellSignal = request.security("WEBHOOK_SOURCE", timeframe.period, close) < 0
// Plot Buy/Sell Markers
plotshape(buySignal, location=location.belowbar, color=color.green, style=shape.labelup, size=size.small, title="Buy Signal")
plotshape(sellSignal, location=location.abovebar, color=color.red, style=shape.labeldown, size=size.small, title="Sell Signal")
Enhanced SPY Rhythm Formations Detector with Alerts//@version=6
indicator("Enhanced SPY Rhythm Formations Detector with Alerts", overlay=true)
// Inputs
maLength1 = input.int(50, title="EMA Length 1", minval=1)
maLength2 = input.int(200, title="EMA Length 2", minval=1)
shortMaLength1 = input.int(5, title="Short EMA Length 1", minval=1)
shortMaLength2 = input.int(10, title="Short EMA Length 2", minval=1)
shortMaLength3 = input.int(20, title="Short EMA Length 3", minval=1)
rsiLength = input.int(14, title="RSI Length", minval=1)
macdShort = input.int(12, title="MACD Short Length", minval=1)
macdLong = input.int(26, title="MACD Long Length", minval=1)
macdSignal = input.int(9, title="MACD Signal Length", minval=1)
atrLength = input.int(14, title="ATR Length", minval=1)
atrMultiplier = input.float(1.5, title="ATR Multiplier for Target Price", minval=0.1)
// Calculations
ma1 = ta.ema(close, maLength1)
ma2 = ta.ema(close, maLength2)
shortMa1 = ta.ema(close, shortMaLength1)
shortMa2 = ta.ema(close, shortMaLength2)
shortMa3 = ta.ema(close, shortMaLength3)
rsi = ta.rsi(close, rsiLength)
= ta.macd(close, macdShort, macdLong, macdSignal)
macdHist = macdLine - signalLine
atr = ta.atr(atrLength)
// Moving Average Crossovers
goldenCross = ta.crossover(ma1, ma2)
deathCross = ta.crossunder(ma1, ma2)
// Short MAs Crossovers
shortCross1 = ta.crossover(shortMa1, shortMa2)
shortCross2 = ta.crossover(shortMa2, shortMa3)
shortCross3 = ta.crossover(shortMa1, shortMa3)
shortCross1Down = ta.crossunder(shortMa1, shortMa2)
shortCross2Down = ta.crossunder(shortMa2, shortMa3)
shortCross3Down = ta.crossunder(shortMa1, shortMa3)
// RSI Divergence Detection
rsiHigh = ta.highest(rsi, 20)
rsiLow = ta.lowest(rsi, 20)
priceHigh = ta.highest(high, 20)
priceLow = ta.lowest(low, 20)
bearishDivergence = (high == priceHigh and rsi < rsiHigh)
bullishDivergence = (low == priceLow and rsi > rsiLow)
// MACD Histogram Zero Cross
macdZeroCrossUp = ta.crossover(macdHist, 0)
macdZeroCrossDown = ta.crossunder(macdHist, 0)
// Day Trading Signals
dayLongEntry = shortCross1 and rsi < 30
dayShortEntry = shortCross1Down and rsi > 70
// Swing Trading Signals
swingLongEntry = goldenCross and macdHist > 0
swingShortEntry = deathCross and macdHist < 0
// Next Bar Prediction
nextBarUp = close > open and close + (atr * atrMultiplier) > high
nextBarDown = close < open and close - (atr * atrMultiplier) < low
// Shaded Bar Shadow for Next Bar Prediction
bgcolor(nextBarUp ? color.new(color.green, 90) : na, title="Next Bar Up")
bgcolor(nextBarDown ? color.new(color.red, 90) : na, title="Next Bar Down")
// Blinking Alerts
var bool blink = false
blink := not blink
if (dayLongEntry)
label.new(bar_index, low, text="Day Long Entry", color=blink ? color.green : color.white, style=label.style_label_up, textcolor=color.black, size=size.small)
alert("Day Long Entry Signal Detected!", alert.freq_once_per_bar_close)
if (dayShortEntry)
label.new(bar_index, high, text="Day Short Entry", color=blink ? color.red : color.white, style=label.style_label_down, textcolor=color.black, size=size.small)
alert("Day Short Entry Signal Detected!", alert.freq_once_per_bar_close)
if (swingLongEntry)
label.new(bar_index, low, text="Swing Long Entry", color=blink ? color.blue : color.white, style=label.style_label_up, textcolor=color.black, size=size.small)
alert("Swing Long Entry Signal Detected!", alert.freq_once_per_bar_close)
if (swingShortEntry)
label.new(bar_index, high, text="Swing Short Entry", color=blink ? color.orange : color.white, style=label.style_label_down, textcolor=color.black, size=size.small)
alert("Swing Short Entry Signal Detected!", alert.freq_once_per_bar_close)
// Plotting
plot(ma1, color=color.blue, title="EMA Length 1 (50)")
plot(ma2, color=color.red, title="EMA Length 2 (200)")
plot(shortMa1, color=color.green, title="Short EMA Length 1 (5)")
plot(shortMa2, color=color.orange, title="Short EMA Length 2 (10)")
plot(shortMa3, color=color.purple, title="Short EMA Length 3 (20)")
150-Day SMA//@version=5
indicator("150-Day SMA", overlay=true)
len = 150
sma150 = ta.sma(close, len)
plot(sma150, title="150-Day SMA", color=color.orange, linewidth=2)
Cash And Carry Arbitrage BTC Compare Month 6 by SeoNo1Detailed Explanation of the BTC Cash and Carry Arbitrage Script
Script Title: BTC Cash And Carry Arbitrage Month 6 by SeoNo1
Short Title: BTC C&C ABT Month 6
Version: Pine Script v5
Overlay: True (The indicators are plotted directly on the price chart)
Purpose of the Script
This script is designed to help traders analyze and track arbitrage opportunities between the spot market and futures market for Bitcoin (BTC). Specifically, it calculates the spread and Annual Percentage Yield (APY) from a cash-and-carry arbitrage strategy until a specific expiry date (in this case, June 27, 2025).
The strategy helps identify profitable opportunities when the futures price of BTC is higher than the spot price. Traders can then buy BTC in the spot market and short BTC futures contracts to lock in a risk-free profit.
1. Input Settings
Spot Symbol: The real-time BTC spot price from Binance (BTCUSDT).
Futures Symbol: The BTC futures contract that expires in June 2025 (BTCUSDM2025).
Expiry Date: The expiration date of the futures contract, set to June 27, 2025.
These inputs allow users to adjust the symbols or expiry date according to their trading needs.
2. Price Data Retrieval
Spot Price: Fetches the latest closing price of BTC from the spot market.
Futures Price: Fetches the latest closing price of BTC futures.
Spread: The difference between the futures price and the spot price (futures_price - spot_price).
The spread indicates how much higher (or lower) the futures price is compared to the spot market.
3. Time to Maturity (TTM) and Annual Percentage Yield (APY) Calculation
Current Date: Gets the current timestamp.
Time to Maturity (TTM): The number of days left until the futures contract expires.
APY Calculation:
Formula:
APY = ( Spread / Spot Price ) x ( 365 / TTM Days ) x 100
This represents the annualized return from holding a cash-and-carry arbitrage position if the trader buys BTC at the spot price and sells BTC futures.
4. Display Information Table on the Chart
A table is created on the chart's top-right corner showing the following data:
Metric: Labels such as Spread and APY
Value: Displays the calculated spread and APY
The table automatically updates at the latest bar to display the most recent data.
5. Alert Condition
This sets an alert condition that triggers every time the script runs.
In practice, users can modify this alert to trigger based on specific conditions (e.g., APY exceeds a threshold).
6. Plotting the APY and Spread
APY Plot: Displays the annualized yield as a blue line on the chart.
Spread Plot: Visualizes the futures-spot spread as a red line.
This helps traders quickly identify arbitrage opportunities when the spread or APY reaches desirable levels.
How to Use the Script
Monitor Arbitrage Opportunities:
A positive spread indicates a potential cash-and-carry arbitrage opportunity.
The larger the APY, the more profitable the arbitrage opportunity could be.
Timing Trades:
Execute a buy on the BTC spot market and simultaneously sell BTC futures when the APY is attractive.
Close both positions upon futures contract expiry to realize profits.
Risk Management:
Ensure you have sufficient margin to hold both positions until expiry.
Monitor funding rates and volatility, which could affect returns.
Conclusion
This script is an essential tool for traders looking to exploit price discrepancies between the BTC spot market and futures market through a cash-and-carry arbitrage strategy. It provides real-time data on spreads, annualized returns (APY), and visual alerts, helping traders make informed decisions and maximize their profit potential.
relative strength vs QQQ including overbought and oversoldThis script combines relative strength and overbought and oversold. the mid point illustrates the stock strength vs overall market
RVOL Color-Coded VolumeRVOL Color-Coded Volume Indicator
This tool visualizes volume intensity through color-coded bars in a separate panel, making it easy to identify significant market moves driven by unusual volume.
Key Features:
- Displays volume bars with varying colors and intensities based on RVOL (Relative Volume)
- Shows a customizable moving average line for volume reference
- Includes alert conditions for different RVOL thresholds
Color System:
Blue shades (Bullish):
- Light: Normal volume (RVOL < 1)
- Medium: Above average volume
- Dark: Heavy buying volume
- Solid: Extreme volume surge
Pink shades (Bearish):
- Light: Normal volume (RVOL < 1)
- Medium: Increased selling
- Dark: Heavy selling
- Solid: Extreme selling pressure
Gray shades (Neutral):
- Used when opening and closing prices are equal
- Intensity varies with RVOL level
Additional Features:
- Dotted threshold lines for easy reference
- Background highlighting for extreme volume events
- Data window shows exact RVOL values
- Multiple alert conditions for volume thresholds
The indicator helps traders spot potential trend changes and momentum shifts by highlighting unusual volume patterns without interfering with price analysis.
Weekly Vertical LinesShows a verticle line every week to show me when the week ends. Nice and simple.
Bitcoin DCA Strategy ( CICIL BITCOIN ) - Khilman AhmadiSTRATEGY INI, MENSIMULASIKAN UNTUK CICIL BITCOIN SECARA DAILY PADA SAAT MARKET OPEN DAILY ,
Kenapa tidak ada transaksi ?
iyah karna disini kita hanya beli dan hold, jadi report summary nya bisa dilihat di tab- penguji strategi - kinerja,pada bagian hasil beli dan tahan - kita bisa melihat hasil berapa persen keuntungan / kerugian yg kita dapat.
masukan rentang data yang bakal di backtest.
usd per order
masukan modal ( isi 1000000 usd ) tergantung berapa order
masukan pyramid ( jumlah order bisa di isi 2000 ) - ini berarti 2000 hari ( dilebihin gpp )
Crypto Scanner IndicatorExplanation of Criteria
Highest High of 125 Days:
Compares the current closing price to the highest price in the last 125 days.
Triggers when the close equals the highest high (adjust to >= if you want to include closes above prior highs).
Volume Double the 125-Day Average:
Checks if the current volume is at least twice the average volume of the past 125 days.
RSI Below 70:
Uses the 14-period RSI to avoid overbought conditions (RSI < 70).
MY MADAM DIOR'S GOLD STRATEGY MY MADAM DIOR'S GOLD 10-Minute Strategy is designed for trading Gold vs. USD on a 10-minute timeframe. By combining multiple technical indicators (MACD, RSI, Bollinger Bands, and ATR), the strategy effectively captures both trend-following and reversal opportunities, with adaptive risk management for varying market volatility. This approach balances high-probability entries with robust volatility management, making it suitable for traders seeking to optimise entries during significant price movements and reversals.
Key Components and Logic:
MACD (12, 26, 9):
Generates buy signals on MACD Line crossovers above the Signal Line and sell signals on crossovers below the Signal Line, helping to capture momentum shifts.
RSI (14):
Utilizes oversold (below 35) and overbought (above 65) levels as a secondary filter to validate entries and avoid overextended price zones.
Bollinger Bands (20, 2):
Uses upper and lower Bollinger Bands to identify potential overbought and oversold conditions, aiming to enter long trades near the lower band and short trades near the upper band.
ATR-Based Stop Loss and Take Profit:
Stop Loss and Take Profit levels are dynamically set as multiples of ATR (3x for stop loss, 5x for take profit), ensuring flexibility with market volatility to optimise exit points.
Entry & Exit Conditions:
Buy Entry: Triggered when any of the following conditions are met:
MACD Line crosses above the Signal Line
RSI is oversold
Price drops below the lower Bollinger Band
Sell Entry: Triggered when any of the following conditions are met:
MACD Line crosses below the Signal Line
RSI is overbought
Price moves above the upper Bollinger Band
Exit Strategy: Trades are closed based on opposing entry signals, with adaptive spread adjustments for realistic exit points.
Backtesting Configuration & Results:
Backtesting Period: July 21, 2024, to October 30, 2024
Symbol Info: XAUUSD, 10-minute timeframe, OANDA data source
Backtesting Capital: Initial capital of $700, with each trade set to 10 contracts (equivalent to approximately 0.1 lots based on the broker’s contract size for gold).
Users should confirm their broker's contract size for gold, as this may differ. This script uses 10 contracts for backtesting purposes, aligned with 0.1 lots on brokers offering a 100-contract specification.
This backtest reflects realistic conditions, with a spread adjustment of 38 points and no slippage or commission applied. The settings aim to simulate typical retail trading conditions. However, please adjust the initial capital, contract size, and other settings based on your account specifics for best results.
Usage:
This strategy is tuned specifically for XAUUSD on a 10-minute timeframe, ideal for both trend-following and reversal trades. The ATR-based stop loss and take profit levels adapt dynamically to market volatility, optimising entries and exits in varied conditions. To backtest this script accurately, ensure your broker’s contract specifications for gold align with the parameters used in this strategy.
MY MADAM DIOR.....💃