intra_DownwardHere we calculate Support levels for intraday. it calculates level on the basis of base price instead of previous range.
Formacje wykresów
Breaker & Double Top/Low Detector (Last 100 Candles)//@version=5
indicator("Breaker & Double Top/Low Detector (Last 100 Candles)", overlay=true)
// Input parameters
length = 100 // Fixed lookback length of 100 candles
threshold = input.float(0.5, title="Threshold (%)", minval=0.1, step=0.1)
// Helper functions
isBreaker(highs, lows) =>
// Identify a Breaker pattern when a resistance/support level is broken in the last 100 candles
prevHigh = ta.highest(highs, length)
prevLow = ta.lowest(lows, length)
close > prevHigh or close < prevLow
isDoubleTop(highs) =>
// Identify Double Top when two recent peaks are nearly equal within threshold in the last 100 candles
topPivot = ta.pivothigh(highs, length, length) // Find local peak
nextTopPivot = ta.pivothigh(highs , length, length) // Second local peak
isDoubleTop = not na(topPivot) and not na(nextTopPivot) and
math.abs(high - high ) / high <= threshold / 100 and
ta.barssince(topPivot) <= length // Ensure the pivot is within the last 100 candles
isDoubleTop
isDoubleLow(lows) =>
// Identify Double Low when two recent valleys are nearly equal within threshold in the last 100 candles
lowPivot = ta.pivotlow(lows, length, length) // Find local valley
nextLowPivot = ta.pivotlow(lows , length, length) // Second local valley
isDoubleLow = not na(lowPivot) and not na(nextLowPivot) and
math.abs(low - low ) / low <= threshold / 100 and
ta.barssince(lowPivot) <= length // Ensure the pivot is within the last 100 candles
isDoubleLow
// Pattern identification
breakerSignal = isBreaker(high, low) // Breaker pattern
doubleTopSignal = isDoubleTop(high) // Double Top
doubleLowSignal = isDoubleLow(low) // Double Low
// Plot signals
plotshape(breakerSignal, title="Breaker", location=location.abovebar, color=color.red, style=shape.labelup, text="Breaker")
plotshape(doubleTopSignal, title="Double Top", location=location.abovebar, color=color.orange, style=shape.labelup, text="DTop")
plotshape(doubleLowSignal, title="Double Low", location=location.belowbar, color=color.green, style=shape.labeldown, text="DLow")
// Background coloring
bgcolor(breakerSignal ? color.new(color.red, 90) : na, title="Breaker Background")
bgcolor(doubleTopSignal ? color.new(color.orange, 90) : na, title="Double Top Background")
bgcolor(doubleLowSignal ? color.new(color.green, 90) : na, title="Double Low Background")
// Debugging for values
if (breakerSignal)
label.new(bar_index, high, "Breaker")
if (doubleTopSignal)
label.new(bar_index, high, "Double Top")
if (doubleLowSignal)
label.new(bar_index, low, "Double Low")
CPR, Pivot Levels, PDH/PDL, and EMAs BY HSEThis indicator include cpr with pivot levels, previous day high and low, and also you can add 3 ema's
BELIKETHEALGOBELIKETHEALGO v1.0
Description:
all-in-one indicator for trading enthusiasts, combining essential price levels and session markers .
Features:
Key Levels:
PDH: Previous Daily High
PDL: Previous Daily Low
PWH: Previous Weekly High
PWL: Previous Weekly Low
Session Markers:
London Session (GBP) opening time.
NYSE Session (USD) opening time.
Customization:
Fully customizable labels and colors for PDH, PDL, PWH, and PWL.
Multi-language support for English, Spanish, and French.
Release Notes:
v1.0 Updates:
Integrated support for Previous Weekly High (PWH) and Previous Weekly Low (PWL).
User-friendly options to customize labels and colors.
Enhanced session tracking with precise London and NYSE open markers.
Multi-language functionality for labels (English, Spanish, French).
CPR WITH PIVOT LEVEL + 3 EMA BY HSEGet CPR, PIVOT LEVELS, PDH, PDL, and 3 EMA'S in single indicator.
Dblocs 4 Year BTC Cycle Guide// Indicator Description:
// The "Dblocs 4 Year BTC Cycle Guide" indicator represents a fixed recurring profit-taking cycle that begins with each Bitcoin halving event.
// Functionality Explained:
// After every halving event, there has been a fixed number of weeks following that marked the area of highest profitability for taking profit.
// • 40 Weeks (Post-Halving) = Start of the optimal profit-taking zone.
// • 80 Weeks (Post-Halving) = "Last Call" for profit-taking before the bear market.
// • 135 Weeks (Post-Halving) = Optimal area to begin Dollar-Cost Averaging.
//@version=5
indicator(title='Dblocs 4 Year BTC Cycle Guide', overlay=true)
// Function to check if it's after a halving based on months (weekly)
isAfterHalvingWeeks(y, m, d, months) =>
halvingDate = timestamp(y, m, d)
startDate = request.security(syminfo.tickerid, 'D', halvingDate + 1)
endDate = startDate + months * 30 * 24 * 60 * 60 * 300
time >= startDate and time <= endDate
// Function to check if it's after a halving based on months (monthly)
isAfterHalvingMonths(y, m, d, months) =>
halvingDate = timestamp(y, m, d)
startDate = request.security(syminfo.tickerid, 'M', halvingDate + 1)
endDate = startDate + months * 36 * 30 * 24 * 60 * 60 * 100
time >= startDate and time <= endDate
// Set the future halving date
halvingDate4th = timestamp(2024, 4, 19)
halvingdate = input(defval=true, title="Halving Date")
var WeeklyProfitSTART = input(true, title="(Weekly) Profit ")
var WeeklyProfitEND = input(true, title="(Weekly) Profit ")
var MonthlyProfitSTART = input(true, title="(Monthly) Profit ")
var MonthlyProfitEND = input(true, title="(Monthly) Profit ")
var DCAstart = input(true, title="DCA (Show)")
var ShowBackgroundColor = input(true, title="Show Background Color")
isDate(y, m, d) => timestamp(y, m, d) <= time and timestamp(y, m, d) > time
// Check if it's a daily chart
isDaily = timeframe.isdaily
// Check if it's a weekly chart
isWeekly = timeframe.isweekly
// Check if it's a monthly chart
isMonthly = timeframe.ismonthly
// Weekly Plots & Calculations
profitStartOffsetWeekly = input.int(40, title="(Weekly) START Profit ", minval=-40)
profitEndOffsetWeekly = input.int(80, title="(Weekly) END Profit ", minval=0)
DCAstartOffsetWeekly = input.int(123, title="DCA Weekly ", minval=0)
// Monthly Plots & Calculations
profitStartOffsetMonthly = input.int(10, title="(Monthly) START Profit ", minval=-100)
profitEndOffsetMonthly = input.int(18, title="(Monthly) END Profit ", minval=0)
DCAstartOffsetMonthly = input.int(27, title="DCA Monthly ", minval=0)
// Use the same input for weekly
bgcolor(ShowBackgroundColor and isWeekly and (isAfterHalvingWeeks(2012, 11, 28, 5.5) or isAfterHalvingWeeks(2016, 7, 9, 5.5) or isAfterHalvingWeeks(2020, 5, 11, 5.5) or isAfterHalvingWeeks(2024, 4, 10, 6)) ? color.rgb(0, 255, 8, 90) : na, offset=+40)
bgcolor(ShowBackgroundColor and isWeekly and (isAfterHalvingWeeks(2012, 11, 28, 5.5) or isAfterHalvingWeeks(2016, 7, 9, 5.5) or isAfterHalvingWeeks(2020, 5, 11, 5.5) or isAfterHalvingWeeks(2024, 4, 10, 6)) ? color.rgb(0, 255, 8, 85) : na, offset=+47)
bgcolor(ShowBackgroundColor and isWeekly and (isAfterHalvingWeeks(2012, 11, 28, 5.5) or isAfterHalvingWeeks(2016, 7, 9, 5.5) or isAfterHalvingWeeks(2020, 5, 11, 5.5) or isAfterHalvingWeeks(2024, 4, 10, 6)) ? color.rgb(0, 255, 8, 80) : na, offset=+54)
bgcolor(ShowBackgroundColor and isWeekly and (isAfterHalvingWeeks(2012, 11, 28, 5.5) or isAfterHalvingWeeks(2016, 7, 9, 5.5) or isAfterHalvingWeeks(2020, 5, 11, 5.5) or isAfterHalvingWeeks(2024, 4, 10, 6)) ? color.rgb(0, 255, 8, 75) : na, offset=+61)
bgcolor(ShowBackgroundColor and isWeekly and (isAfterHalvingWeeks(2012, 11, 28, 5.5) or isAfterHalvingWeeks(2016, 7, 9, 5.5) or isAfterHalvingWeeks(2020, 5, 11, 5.5) or isAfterHalvingWeeks(2024, 4, 10, 6)) ? color.rgb(0, 255, 8, 60) : na, offset=+68)
bgcolor(ShowBackgroundColor and isWeekly and (isAfterHalvingWeeks(2012, 11, 28, 3.5) or isAfterHalvingWeeks(2016, 7, 9, 3.5) or isAfterHalvingWeeks(2020, 5, 11, 3.5) or isAfterHalvingWeeks(2024, 4, 10, 4)) ? color.rgb(0, 255, 8, 55) : na, offset=+75)
// Use the same input for monthly
bgcolor(ShowBackgroundColor and isMonthly and (isAfterHalvingMonths(2012, 11, 28, 0.25) or isAfterHalvingMonths(2016, 7, 9, 0.25) or isAfterHalvingMonths(2020, 5, 11, 0.25) or isAfterHalvingMonths(2024, 4, 10, 1)) ? color.rgb(0, 255, 8, 85) : na, offset=+11)
bgcolor(ShowBackgroundColor and isMonthly and (isAfterHalvingMonths(2012, 11, 28, 0.25) or isAfterHalvingMonths(2016, 7, 9, 0.25) or isAfterHalvingMonths(2020, 5, 11, 0.25) or isAfterHalvingMonths(2024, 4, 10, 1)) ? color.rgb(0, 255, 8, 80) : na, offset=+12)
bgcolor(ShowBackgroundColor and isMonthly and (isAfterHalvingMonths(2012, 11, 28, 0.25) or isAfterHalvingMonths(2016, 7, 9, 0.25) or isAfterHalvingMonths(2020, 5, 11, 0.25) or isAfterHalvingMonths(2024, 4, 10, 1)) ? color.rgb(0, 255, 8, 75) : na, offset=+13)
bgcolor(ShowBackgroundColor and isMonthly and (isAfterHalvingMonths(2012, 11, 28, 0.25) or isAfterHalvingMonths(2016, 7, 9, 0.25) or isAfterHalvingMonths(2020, 5, 11, 0.25) or isAfterHalvingMonths(2024, 4, 10, 1)) ? color.rgb(0, 255, 8, 65) : na, offset=+14)
bgcolor(ShowBackgroundColor and isMonthly and (isAfterHalvingMonths(2012, 11, 28, 0.25) or isAfterHalvingMonths(2016, 7, 9, 0.25) or isAfterHalvingMonths(2020, 5, 11, 0.25) or isAfterHalvingMonths(2024, 4, 10, 1)) ? color.rgb(0, 255, 8, 55) : na, offset=+15)
bgcolor(ShowBackgroundColor and isMonthly and (isAfterHalvingMonths(2012, 11, 28, 0.25) or isAfterHalvingMonths(2016, 7, 9, 0.25) or isAfterHalvingMonths(2020, 5, 11, 0.25) or isAfterHalvingMonths(2024, 4, 10, 1)) ? color.rgb(0, 255, 8, 45) : na, offset=+16)
bgcolor(ShowBackgroundColor and isMonthly and (isAfterHalvingMonths(2012, 11, 28, 0.25) or isAfterHalvingMonths(2016, 7, 9, 0.25) or isAfterHalvingMonths(2020, 5, 11, 0.25) or isAfterHalvingMonths(2024, 4, 10, 1)) ? color.rgb(0, 255, 8, 40) : na, offset=+17)
// Define a variable for label x-coordinate
labelX = isDaily ? bar_index + 280 : bar_index + 0
// Draw Halving function for daily
drawHalving(y, m, d, align, align2) =>
line.new(bar_index, low, bar_index, high, xloc.bar_index, extend.both, color=color.rgb(255, 123, 0), style=line.style_dashed, width=3)
if (halvingdate)
label.new(bar_index, high, text='⛏ Halving ' + str.tostring(m) + '/' + str.tostring(d) + '/' + str.tostring(y) + ' 🟠', style=label.style_label_lower_right, textcolor=color.rgb(0, 0, 0), color=color.rgb(255, 136, 0, 5), textalign=text.align_center, yloc=yloc.abovebar, size=size.normal)
if isWeekly
label.new(WeeklyProfitSTART ? labelX + profitStartOffsetWeekly : na, na, text='Profit START 🟢 ⛏ 40ʷ ᵃᵍᵒ', style=label.style_label_lower_right, textcolor=color.rgb(0, 0, 0), color=color.rgb(17, 255, 0), textalign=text.align_center, yloc=yloc.abovebar, size=size.normal)
label.new(WeeklyProfitEND ? labelX + profitEndOffsetWeekly : na, na, text='Profit END 🔴 ⛏ 80ʷ ᵃᵍᵒ', style=label.style_label_lower_left, textcolor=color.rgb(0, 0, 0), color=color.rgb(255, 0, 0), textalign=text.align_center, yloc=yloc.abovebar, size=size.normal)
label.new(DCAstart ? labelX + DCAstartOffsetWeekly : na, na, text='→ DCA 🟡 ⛏ 135ʷ ᵃᵍᵒ', style=label.style_label_up, textcolor=color.rgb(0, 0, 0), color=color.rgb(226, 246, 0, 25), textalign=text.align_center, yloc=yloc.belowbar, size=size.normal)
line.new(WeeklyProfitSTART ? labelX + profitStartOffsetWeekly : na, low, WeeklyProfitSTART ? labelX + profitStartOffsetWeekly : na, high, xloc.bar_index, extend.both, color=color.rgb(0, 255, 8), style=line.style_dotted, width=2)
line.new(WeeklyProfitEND ? labelX + profitEndOffsetWeekly : na, low, WeeklyProfitEND ? labelX + profitEndOffsetWeekly : na, high, xloc.bar_index, extend.both, color=color.rgb(255, 0, 0), style=line.style_dotted, width=2)
label.new(WeeklyProfitSTART ? labelX + profitStartOffsetWeekly : na, high, style=label.style_cross, yloc=yloc.abovebar, color=color.rgb(40, 255, 0), size=size.small)
label.new(WeeklyProfitEND ? labelX + profitEndOffsetWeekly : na, high, style=label.style_cross, yloc=yloc.abovebar, color=color.rgb(40, 255, 0), size=size.small)
label.new(DCAstart ? labelX + DCAstartOffsetWeekly + 0 : na, high, style=label.style_circle, yloc=yloc.belowbar, color=color.rgb(251, 226, 0), size=size.tiny)
label.new(DCAstart ? labelX + DCAstartOffsetWeekly + 12 : na, high, style=label.style_circle, yloc=yloc.belowbar, color=color.rgb(203, 249, 0, 35), size=size.tiny)
label.new(DCAstart ? labelX + DCAstartOffsetWeekly + 24 : na, high, style=label.style_circle, yloc=yloc.belowbar, color=color.rgb(170, 255, 59, 46), size=size.tiny)
label.new(DCAstart ? labelX + DCAstartOffsetWeekly + 36 : na, high, style=label.style_circle, yloc=yloc.belowbar, color=color.rgb(115, 255, 0, 58), size=size.tiny)
label.new(DCAstart ? labelX + DCAstartOffsetWeekly + 48 : na, high, style=label.style_circle, yloc=yloc.belowbar, color=color.rgb(38, 255, 0, 58), size=size.tiny)
if isMonthly
label.new(MonthlyProfitSTART ? labelX + profitStartOffsetMonthly : na, na, text='Profit START 🟢 ⛏ 40ʷ ᵃᵍᵒ', style=label.style_label_lower_right, textcolor=color.rgb(0, 0, 0), color=color.rgb(17, 255, 0), textalign=text.align_center, yloc=yloc.abovebar, size=size.normal)
label.new(MonthlyProfitEND ? labelX + profitEndOffsetMonthly : na, na, text='Profit END 🔴 ⛏ 80ʷ ᵃᵍᵒ', style=label.style_label_lower_left, textcolor=color.rgb(0, 0, 0), color=color.rgb(255, 0, 0), textalign=text.align_center, yloc=yloc.abovebar, size=size.normal)
... (35 lines left)
FU Candle Indicatorfu candle indicator for trading, it shows the direction in which the banks are trading
Multi-Condition Alert ScriptA Grok written Script/Alert I use for triggering a Sell on my DCA Bots. Sends an alert using an OR operator on 3 separate conditions. Any of the three conditions can trigger an alert based on user settings.
Written in Pine 5, but should convert to 6 ok.
The three conditions are:
1. Moving Average Convergence - can select SMA or EMA and the fast and slow values. Script will send an alert based on the distance between the 2 values converging by a user selected percentage (E.G. alert when fast MA and slow MA gap closes by x%)
2. Counts Candles - Select Red or Green. I use it to count 3 consecutive red candles with a minimum 0.1 percent size. User can select number of candles and minimum percentage size to be counted. Red or green use positive values for the percentage in the dialogue. The script normalizes it.
3. RSI - user can choose period, value and crossing up or down as well as greater than or less than values.
If any of the three conditions, based on the user's selections becomes true - then an alert is sent.
The script begins a cycle when the fast MA crosses up the slow MA value. Timeframes are user defined for the alerts. I usually use 3M, 5M and 15M depending on the bot, but any value should work.
For candles, it resets its counter each time a condition is met (E.G. 3 consecutive red will start counting again at 0 with next candle)
In theory it would work counting green candles going up, but I have only used it to trigger sell events. And remember it starts its cycle when fast MA crosses up slow MA.
Use at your own risk. I provide no warranties or guarantees.
Feel free to use or modify for your own personal use. Not for sale or resale.
Definitive Trend Prediction%100 kesin sonuç beklemek yanıltıcıdır; piyasa haberleri, ani volatilite değişiklikleri veya ekonomik olaylar gibi dış faktörler stratejiyi etkileyebilir.
Export Datathis script widmsfsnklfdsmsfklmdklmskldskl;mgfksldmgklsdmglksdfnmgkldsmngvlksdmnvlkdmsnklvndsklvnsdklv ndvdsklvdsklvlksdvmsdklmvsldkkvd
Sessions [MiAn]A session script is a set of commands or instructions that are executed in a specific order to automate tasks, interact with systems, or perform other actions.
Here's a general breakdown of what a session script typically includes:
1. *Initialization*: The script initializes the session, which may involve setting up environment variables, loading libraries or modules, or establishing connections to external systems.
2. *Commands or Instructions*: The script executes a series of commands or instructions, which can include tasks such as:
- Data processing or manipulation
- File operations (e.g., copying, moving, deleting)
- System interactions (e.g., launching applications, sending notifications)
- Network interactions (e.g., sending requests, receiving data)
3. *Logic and Control Flow*: The script may include conditional statements, loops, and other control structures to manage the flow of execution based on various conditions or inputs.
4. *Error Handling*: The script may include error handling mechanisms to catch and manage errors or exceptions that occur during execution.
5. *Cleanup*: The script may perform cleanup tasks, such as closing connections, releasing resources, or deleting temporary files.
Session scripts can be written in various programming languages, such as shell scripts (e.g., Bash, PowerShell), Python, or other scripting languages.
What specific type of session script are you interested in learning more about?
TD Supply & Demand Points ```
TD Supply & Demand Points Indicator
This technical indicator helps identify potential supply and demand zones using price action pattern recognition. It scans for specific candle formations that may indicate institutional trading activity and potential reversal points.
Features:
• Two pattern detection modes:
Level 1: Basic 3-candle pattern for faster signals
Level 2: Advanced 5-candle pattern for higher probability setups
• Clear visual markers:
- Red X above bars for supply points
- Green X below bars for demand points
- Automatic offset adjustment based on pattern level
Pattern Definitions:
Level 1 (3-candle pattern):
Supply: Middle candle's high is higher than both surrounding candles
Demand: Middle candle's low is lower than both surrounding candles
Level 2 (5-candle pattern):
Supply: Sequence showing distribution with higher highs followed by lower highs
Demand: Sequence showing accumulation with lower lows followed by higher lows
Usage Tips:
• Use Level 1 for more frequent signals and Level 2 for stronger setups
• Look for confluence with key support/resistance levels
• Consider overall market context and trend
• Can be used across multiple timeframes
• Best combined with volume and price action analysis
Settings:
Pattern Level: Toggle between Level 1 (3-candle) and Level 2 (5-candle) patterns
Note: This indicator is designed to assist in identifying potential trading opportunities but should be used as part of a comprehensive trading strategy with proper risk management.
Version: 5.0
```
I've written this description to be:
1. Clear and concise
2. Technically accurate
3. Helpful for both new and experienced traders
4. Professionally formatted for TradingView
5. Focused on the key features and practical usage
Would you like me to modify any part of it or add more specific details about certain aspects?
TRENDSYNC BUY/SELL BY SIMPLY_DANTE-FXTrendSync Buy and Sell Indicator
PS: Kindly give me feedback on the comment section, I will really appriciate
Created By: Simply_Dante-FX
About the Author:
Simply_Dante-FX is a skilled trader and developer with a focus on creating custom indicators and strategies for technical analysis. With a strong understanding of market behavior, he has designed the TrendSync Buy and Sell indicator to help traders identify high-probability buy and sell signals based on a combination of trend-following, momentum, and price action strategies. Simply_Dante-FX aims to provide tools that enhance trading decisions and improve the overall trading experience.
---
Description:
The TrendSync Buy and Sell indicator is designed to help traders identify potential buy and sell signals based on a combination of trend-following and momentum-based strategies. This custom indicator combines a range of technical tools, including the Simple Moving Average (SMA), Average True Range (ATR), and the Relative Strength Index (RSI), to filter and confirm entry points.
---
How It Works:
1. Trend Identification (SMA):
- The indicator uses the 200-period Simple Moving Average (SMA) to determine the overall trend direction.
- A Buy Signal is generated when the price is above the SMA, indicating an uptrend.
- A Sell Signal is generated when the price is below the SMA, indicating a downtrend.
2. Range Filtering (ATR):
- The Average True Range (ATR) is used to filter out signals that occur during periods of low volatility.
- The ATR is multiplied by a user-defined range filter multiplier (default is 1.2) to ensure the signal is coming from a sufficiently volatile market condition.
3. Momentum Confirmation (RSI):
- The RSI is used as a momentum filter. For Buy Signals, the RSI must be above the user-defined threshold (default is 50), indicating bullish momentum.
- For Sell Signals, the RSI must be below the opposite threshold (100 - RSI Threshold), indicating bearish momentum.
4.Price Action Conditions:
- Buy and Sell signals are further confirmed by price action:
- Buy Signal: Identifies higher lows during an uptrend.
- Sell Signal: Identifies higher highs during an uptrend, or lower highs in a downtrend.
5. Unified Signal:
- The script combines the various conditions to generate a unified signal, ensuring that only high-probability trade opportunities are highlighted.
How to Use It:
1.Buy Signal: Look for a green label below the bar, which indicates a potential buying opportunity. This signal is generated when:
- The price is above the 200-period SMA (uptrend).
- The RSI is above the defined threshold (momentum confirmation).
- The ATR-based range filter confirms sufficient market movement.
2. Sell Signal: Look for a red label above the bar, which indicates a potential selling opportunity. This signal is generated when:
- The price is below the 200-period SMA (downtrend).
- The RSI is below the defined threshold (momentum confirmation).
- The ATR-based range filter confirms sufficient market movement.
3. Visual Confirmation: The script also plots the 200-period SMA for easy identification of the overall trend direction.
4.Alert Setup: You can set up an alert using the “Unified Buy/Sell Alert” condition to notify you when a buy or sell signal is triggered.
Disclaimer:
- Risk Warning: The TrendSync Buy and Sell indicator is a tool for technical analysis and is not a guaranteed method for predicting market movements. Trading carries risk, and it is essential to use proper risk management techniques and not rely solely on any one indicator.
- No Financial Advice: This indicator does not constitute financial advice, and the author, Simply_Dante-FX, does not take responsibility for any trading losses or profits resulting from the use of this tool.
- Performance: Past performance is not indicative of future results. Always conduct your own analysis and use additional tools and strategies to confirm trade decisions.
Use this indicator with caution, and always ensure that you understand the risks involved in trading before committing real capital.
5-8-13 MA Crossover Signals with Arrows (Short Term)//@version=5
indicator("5-8-13 MA Crossover Signals with Arrows", overlay=true)
// Hareketli ortalamaları tanımla
ma5 = ta.sma(close, 5)
ma8 = ta.sma(close, 8)
ma13 = ta.sma(close, 13)
// Kesişim noktalarını belirle
bullishCross = ta.crossover(ma5, ma13)
bearishCross = ta.crossunder(ma5, ma13)
// Yeşil ve kırmızı ok işaretlerini çiz
plotshape(series=bullishCross, location=location.belowbar, color=color.new(color.green, 0), style=shape.labelup, size=size.small, title="Bullish Crossover")
plotshape(series=bearishCross, location=location.abovebar, color=color.new(color.red, 0), style=shape.labeldown, size=size.small, title="Bearish Crossover")
// Hareketli ortalamaları çizin
plot(ma5, color=color.blue, title="5 MA")
plot(ma8, color=color.orange, title="8 MA")
plot(ma13, color=color.purple, title="13 MA")
BELIKETHEALGOWorking progress!!
All in one indicator
Previos Daily High = PDH
Previos Daily Low + PDL
USD and GBP Opening Times
Yesterday's Close and Today's OpenAn Intraday trading strategy when candle 5 or 15 min complete closed then take a trade
Highs, Lows, BOS, and Reversals//@version=5
indicator("Highs, Lows, BOS, and Reversals", overlay=true)
// User Input
length = input.int(10, minval=1, title="Length")
bosThreshold = input.float(0.5, title="BOS Threshold (%)") / 100 // BOS threshold percentage
// Highs and Lows Calculation
highestHigh = ta.highest(high, length)
lowestLow = ta.lowest(low, length)
// Plotting Highs and Lows as Lines
plot(highestHigh, color=color.red, linewidth=2, title="Highest High")
plot(lowestLow, color=color.green, linewidth=2, title="Lowest Low")
// Detecting Break of Structure (BOS)
var float previousHigh = na
var float previousLow = na
var bool bosUp = false
var bool bosDown = false
if (not na(previousHigh) and high > previousHigh)
bosUp := true
if (not na(previousLow) and low < previousLow)
bosDown := true
// BOS Conditions and Plotting
bosUpCondition = bosUp and high > previousHigh
bosDownCondition = bosDown and low < previousLow
plotshape(bosUpCondition, location=location.abovebar, color=color.blue, style=shape.labelup, title="BOS Up")
plotshape(bosDownCondition, location=location.belowbar, color=color.orange, style=shape.labeldown, title="BOS Down")
// Reversal Condition (Potential Reversal after BOS)
reversalUp = bosUpCondition and close > highestHigh
reversalDown = bosDownCondition and close < lowestLow
plotshape(reversalUp, location=location.abovebar, color=color.green, style=shape.labelup, title="Reversal Up")
plotshape(reversalDown, location=location.belowbar, color=color.red, style=shape.labeldown, title="Reversal Down")
// Store High and Low for Next Bar
previousHigh := highestHigh
previousLow := lowestLow
// Optional: Plot lines to visualize the highs and lows (for better clarity)
plotlineHigh = line.new(bar_index , highestHigh, bar_index, highestHigh, color=color.red, width=1, style=line.style_dotted)
plotlineLow = line.new(bar_index , lowestLow, bar_index, lowestLow, color=color.green, width=1, style=line.style_dotted)
xrp 1. Technical Indicators
XRP’s price action can be analyzed using standard technical analysis tools, which help traders identify trends, momentum, and potential reversal points. Key technical indicators include:
• Moving Averages (MA):
• Simple Moving Average (SMA) or Exponential Moving Average (EMA) to track trends over time.
• Look for crossovers (e.g., 50-day EMA crossing above 200-day EMA is bullish).
• Relative Strength Index (RSI):
• Measures overbought or oversold conditions.
• RSI above 70 indicates overbought (potential reversal down); below 30 indicates oversold (potential reversal up).
• MACD (Moving Average Convergence Divergence):
• Identifies trend strength and momentum.
• A bullish crossover (MACD line crossing above the signal line) may indicate upward momentum.
• Support and Resistance Levels:
• Historical price levels where XRP often reverses or consolidates.
• These levels are crucial for identifying potential entry and exit points.
• Volume:
• Look for increases in volume to confirm the strength of price movements.
• High volume during a breakout can signal a strong continuation of the trend.
• Bollinger Bands:
• Useful for gauging volatility.
• When the bands widen, volatility is high; when they narrow, the price may consolidate or prepare for a breakout.
Last Week Close and Current Week Opentrade buy upside breakout of green line and viceversa for sell on opposite side