LIT - Super Indicator by NoronFX - Cup TradesThis is a powerful indicator designed for liquidity traders, bringing together all the essential tools for professional trading. It includes:
The main market sessions
Mitigation minutes
Key liquidity points such as PDH/PDL, PWH/PWL, and PMH/PML
An intelligent checklist
Customizable features like a watermark and configurable labels.
Narzędzia Pine
Litecoin LTC Logarithmic Fibonacci Growth CurvesHOW THIS SCRIPT IS ORIGINAL: there is no similar script dedicated to LTC, although there are similar ones dedicated to BTC. (This was created by modifying an old public and open source similar script dedicated to BTC.)
WHAT THIS SCRIPT DOES: draws a channel containing the price of LTC within which the Fibonacci extensions are highlighted. The reference chart to use is LTC/USD on Bitfinex (because it has the oldest data, given that Tradingview has not yet created an LTC index), suggested with weekly or monthly timeframe.
HOW IT DOES IT: starting from two basic curves that average the upper and lower peaks of the price, the relative Fibonacci extensions are then built on the basis of these: 0.9098, 0.8541, 0.7639, 0.618, 0.5, 0.382, 0.2361, 0.1459, 0.0902.
HOW TO USE IT: after activating the script you will notice the presence of two areas of particular interest, the upper area, delimited in red, which follows the upper peaks of the price, and the lower area, delimited in green, which follows the lower peaks of the price. Furthermore, the main curves, namely the two extremes and the median, are also projected into the future to predict an indicative trend. This script is therefore useful for understanding where the price will go in the future and can be useful for understanding when to buy (near the green lines) or when to sell (near the red lines). It is also possible to configure the script by choosing the colors and types of lines, as well as the main parameters to define the upper and lower curve, from which the script deduces all the other lines that are in the middle.
Very easy to read and interpret. I hope this description is sufficient, but it is certainly easier to use it than to describe it.
RSI + MA Buy/Sell Signals//@version=5
indicator("RSI + MA Buy/Sell Signals", overlay=true)
// Inputs
rsiLength = input(14, title="RSI Length")
maLength = input(50, title="Moving Average Length")
oversold = input(30, title="Oversold Level")
overbought = input(70, title="Overbought Level")
// RSI and Moving Average
rsi = ta.rsi(close, rsiLength)
ma = ta.sma(close, maLength)
// Buy Condition
buySignal = ta.crossover(rsi, oversold) and close > ma
// Sell Condition
sellSignal = ta.crossunder(rsi, overbought) and close < ma
// Plot Signals
plotshape(series=buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(series=sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// Plot Moving Average
plot(ma, title="Moving Average", color=color.blue)
Futures_No-Trade-ZoneMarks the chart with a warning period before Futures market close (yellow) and when the market is actually closed (red).
EMA Crossover + RSI Filter (1-Hour)//@version=5
strategy("EMA Crossover + RSI Filter (1-Hour)", overlay=true)
// Input parameters
fastLength = input.int(9, title="Fast EMA Length")
slowLength = input.int(21, title="Slow EMA Length")
rsiLength = input.int(14, title="RSI Length")
overbought = input.int(70, title="Overbought Level")
oversold = input.int(30, title="Oversold Level")
// Calculate EMAs
fastEMA = ta.ema(close, fastLength)
slowEMA = ta.ema(close, slowLength)
// Calculate RSI
rsi = ta.rsi(close, rsiLength)
// Buy Condition
buyCondition = ta.crossover(fastEMA, slowEMA) and rsi > 50 and rsi < overbought
// Sell Condition
sellCondition = ta.crossunder(fastEMA, slowEMA) and rsi < 50 and rsi > oversold
// Plot EMAs
plot(fastEMA, color=color.blue, title="Fast EMA")
plot(slowEMA, color=color.red, title="Slow EMA")
// Plot Buy/Sell Signals
plotshape(series=buyCondition, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(series=sellCondition, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// Execute Trades
if (buyCondition)
strategy.entry("Buy", strategy.long)
if (sellCondition)
strategy.entry("Sell", strategy.short)
Double Screen Backtest Strategy//@version=5
indicator(shorttitle="BB", title="Bollinger Bands", overlay=true, timeframe="", timeframe_gaps=true)
length = input.int(20, minval=1)
maType = input.string("SMA", "Basis MA Type", options = )
src = input(close, title="Source")
mult = input.float(2.0, minval=0.001, maxval=50, title="StdDev")
ma(source, length, _type) =>
switch _type
"SMA" => ta.sma(source, length)
"EMA" => ta.ema(source, length)
"SMMA (RMA)" => ta.rma(source, length)
"WMA" => ta.wma(source, length)
"VWMA" => ta.vwma(source, length)
basis = ma(src, length, maType)
dev = mult * ta.stdev(src, length)
upper = basis + dev
lower = basis - dev
offset = input.int(0, "Offset", minval = -500, maxval = 500)
plot(basis, "Basis", color=#FF6D00, offset = offset)
p1 = plot(upper, "Upper", color=#2962FF, offset = offset)
p2 = plot(lower, "Lower", color=#2962FF, offset = offset)
fill(p1, p2, title = "Background", color=color.rgb(33, 150, 243, 95))
Volatility Regime Indicator (VRI)This indicator allows you to weight 3 variables.
1. The term spread (3rd Month Vix Contract - VIX)
2.The Volatility Risk Premium (VIX - Historical Volatility) 10 day historical volatility by default
3.SPX Momentum (Short EMA vs Long EMA)
Play with the weightings and variable to suit your approach.
Dynamic Bollinger Bands for Multiple Timeframes How It Works:
Dynamic Settings Based on Timeframe:
15-Minute (15M): 10-period, 1.5 deviation.
1-Hour (1H): 14-period, 2.0 deviation.
4-Hour (4H): 20-period, 2.0 deviation.
Daily (1D): 20-period, 2.0 deviation.
3-Day (3D): 20-period, 2.0 deviation.
Weekly (1W): 20-period, 2.0 deviation.
Monthly (1M): 20-period, 2.0 deviation (for long-term trend tracking).
Plotting:
Upper band, lower band, and basis are calculated and plotted dynamically based on the current chart's timeframe.
How to Use:
When you switch between any of the listed timeframes (15-min, 1H, 4H, Daily, 3D, Weekly, or Monthly), the Bollinger Bands settings will adjust accordingly to provide the most accurate signals for that timeframe.
Multi-Timeframe EMA TrackerBu Pine Script kodu, belirli bir varlık için çoklu zaman dilimlerinde (1 Saat, 4 Saat, 1 Gün, 1 Hafta ve 1 Ay) hareketli ortalamaları (EMA) hesaplar ve fiyatın en yakın üst ve alt EMA seviyelerini bulur. Bu özellik, yatırımcılara veya trader'lara destek ve direnç bölgelerini hızlı bir şekilde belirleme konusunda yardımcı olur. Kod aşağıdaki başlıca işlevleri sunar:
Çoklu EMA Hesaplama: Kod, 20, 50, 100 ve 200 periyotlu EMA'ları farklı zaman dilimlerinde hesaplar.
En Yakın EMA Seviyelerini Bulma: Fiyatın üstündeki ve altındaki en yakın EMA seviyeleri tanımlanır.
Grafikte Görselleştirme: En yakın EMA seviyeleri çizgiler ve etiketlerle grafikte işaretlenir. Her zaman dilimine özel renk kodlaması yapılır.
Dinamik Etiketleme: EMA seviyelerinin hangi zaman dilimine ve periyoda ait olduğu, grafikte gösterilen etiketlerle belirtilir.
Bu araç, özellikle teknik analizde EMA'ları kullanarak stratejiler geliştiren trader'lar için yararlıdır. Destek ve direnç seviyelerini daha iyi görselleştirerek, karar alma süreçlerini hızlandırır.
This Pine Script code calculates Exponential Moving Averages (EMAs) for multiple timeframes (1 Hour, 4 Hour, 1 Day, 1 Week, and 1 Month) and identifies the closest EMA levels above and below the current price. It is a useful tool for traders to quickly identify potential support and resistance levels. The script offers the following main functionalities:
Multi-Timeframe EMA Calculation: The code computes EMAs for 20, 50, 100, and 200 periods across various timeframes.
Finding Nearest EMA Levels: It determines the nearest EMA levels above and below the current price dynamically.
Graphical Visualization: The closest EMA levels are visualized on the chart with lines and labels, using color coding for each timeframe.
Dynamic Labeling: Labels on the chart indicate the specific timeframe and period of each EMA level.
This tool is particularly useful for traders who rely on EMAs to develop their strategies. By visualizing support and resistance levels, it simplifies decision-making and enhances technical analysis.
Combined Indicators (Fractals, EMAs, CCI, Volume, SMMA)Combined Indicators (Fractals, EMAs, CCI, Volume, SMMA)
Buy/Sell Signals Boinger band//@version=5
indicator("Buy/Sell Signals", overlay=true)
// Define the Bollinger Band parameters
length = input(20, title="Bollinger Band Length")
stdDev = input(2.0, title="Bollinger Band Standard Deviation")
// Calculate the Bollinger Band
basis = ta.sma(close, length)
upper = basis + stdDev * ta.stdev(close, length)
lower = basis - stdDev * ta.stdev(close, length)
// Plot the Bollinger Band
plot(basis, color=color.new(color.blue, 0), linewidth=2)
plot(upper, color=color.red, linewidth=2)
plot(lower, color=color.green, linewidth=2)
// Define the buy signal conditions
lowerBandTouch = close <= lower
threeGreenCandles = close > open and close > open and close > open
// Define the sell signal conditions
upperBandTouch = close >= upper
threeRedCandles = close < open and close < open and close < open
// Generate the buy and sell signals
buySignal = lowerBandTouch and threeGreenCandles
sellSignal = upperBandTouch and threeRedCandles
// Plot the buy and sell signals
plotshape(buySignal, location=location.belowbar, color=color.green, style=shape.labelup, text="Buy")
plotshape(sellSignal, location=location.belowbar, color=color.red, style=shape.labeldown, text="Sell")
// Alert conditions
alertcondition(buySignal, title="Buy Signal", message="Buy signal generated!")
alertcondition(sellSignal, title="Sell Signal", message="Sell signal generated!")
WebHook Message GeneratorLibrary "WebHook_Message_Generator"
Goal: Simplify the order ticket generation for webhook message
This library has been created in order to simplify the webhook message generation process.
Instead of having to fidget around with string concatenations this method allows you to generate a JSON based message that contains the required information to automte your trades.
How to use?
1) import the library
2) Call the method: GenerateOT () (OT = OrderTicket)
3) Declare your orders:
3.1) Create instances for the buy/sell/close order tickets - store each one in a variable
3.2) Call the variable inside the strategy's function as a alert message: ( alert_message=VARIABLE ). You can use the appropriate strategy function depending on your order ticket exemple: strategy.entry(alert_message=LongOrderTicket) or strategy.entry(alert_message=ShortOrderTicket) or strategy.close(alert_message=CloseOrderTicket) or strategy.exit(alert_message=LongOrderTicket) ...
4) Set up the alerts to your webhook
5) IMPORTANT to set the alert's message : {{strategy.order.alert_message}}
DONE! You will now have a dynamic webhook message that will send the correct information to your automation service.
Got Questions, Modifications, Improvements?
Comment below or Private message me!
The method you can import:
GenerateOT(license_id, symbol, action, order_type, trade_type, size, price, tp, sl, risk, trailPrice, trailOffset)
CreateOrderTicket: Establishes a order ticket following appropriate guidelines.
Parameters:
license_id (string) : Provide your license id
symbol (string) : Symbol on which to execute the trade
action (string) : Execution method of the trade : "MRKT" or "PENDING"
order_type (string) : Direction type of the order: "BUY" or "SELL"
trade_type (string) : Is it a "SPREAD" trade or a "SINGLE" symbol execution?
size (float) : Size of the trade, in units
price (float) : If the order is pending you must specify the execution price
tp (float) : (Optional) Take profit of the order
sl (float) : (Optional) Stop loss of the order
risk (float) : Percent to risk for the trade, if size not specified
trailPrice (float) : (Optional) Price at which trailing stop is starting
trailOffset (float) : (Optional) Amount to trail by
Returns: Return Order string
Dynamic Fibonacci Retracement (23.6%, 50%, 61.8%)How the Script Works:
Swing High and Low: The script looks for the highest high and lowest low within the lookback period (default is 50 bars). These points define the range for calculating the Fibonacci retracement levels.
Fibonacci Levels: The script calculates the 23.6%, 50%, and 61.8% retracement levels between the swing high and swing low, then plots them as horizontal lines on your chart.
Customizable Appearance: The colors of the Fibonacci levels are customizable through the script, with:
Green for the 23.6% level
White for the 50% level
Golden for the 61.8% level
Labels: The script adds labels next to each Fibonacci level to clearly identify them on the chart.
Example Use Case:
Trend Analysis: This script can be used for identifying potential reversal zones in trending markets. If price is in an uptrend, the Fibonacci retracement levels could act as support levels for a pullback.
Trading Decision: When price pulls back to one of these Fibonacci levels (23.6%, 50%, or 61.8%), it can be an opportunity to make a decision about entering a trade, such as buying during a pullback in an uptrend or selling in a downtrend.
Modify the Script:
If you'd like to adjust any features (such as the Fibonacci levels, colors, or lookback period), simply go back to the Pine Editor, make your changes, and click Save again. The changes will update on your chart once you click Add to Chart.
Bedtime BackgroundJust a simple script to indicate when we wont be able to trade, a little help for manual backtesting to get more accurate results
VWAP and Price ConditionsThis Pine Script indicator overlays a Volume Weighted Average Price (VWAP) line on the chart, allowing traders to visualize price conditions relative to VWAP. It also provides signals when prices move above or below the VWAP, along with alerts for crossing events.
Features
1. VWAP Calculation:
*The VWAP is calculated for a specific session (e.g., market open to market close).
*It dynamically resets based on the defined session start and end times.
2. Customizable Inputs:
*Session Start Time: Define the session start time (e.g., market open at 9:30 AM).
*Session End Time: Define the session end time (e.g., market close at 4:00 PM).
*Show VWAP Line: Toggle to display or hide the VWAP line.
*Show Price Signals: Toggle to display or hide visual signals for price conditions.
3. Visual Signals:
*Green Triangle: Indicates that the price is above the VWAP.
*Red Triangle: Indicates that the price is below the VWAP.
4. Alerts:
*Alert when the price crosses above the VWAP.
*Alert when the price crosses below the VWAP.
DCA (ASAP) V0 PTTScript Name: DCA (ASAP) V0 PTT
Detailed Description:
This script implements the Dollar-Cost Averaging (DCA) strategy, allowing you to automatically manage buy/sell orders safely and efficiently. Below are the key features of this script:
1. Purpose and Operation:
o Supports both Long and Short trading modes.
o Designed to optimize profitability using the DCA method, where Safety Orders are triggered when the price moves against the predicted direction.
o Helps users maintain their Target Profit in various market conditions.
2. Main Features:
o Automatic Order Placement: The initial Base Order is opened as soon as no active order exists.
o Safety Order Management: Safety Orders are automatically placed when the price moves against the initial order. The volume and distance of these orders are customizable.
o Order Closing: Orders are closed upon reaching the Target Profit, accounting for transaction fees.
o Detailed Information Display: Displays open orders, trading statistics, and performance metrics directly on the chart.
3. Customizable Parameters:
o Base Order Size: The size of the initial order.
o Target Profit (%): Target profit as a percentage of the total order volume.
o Safety Order Size: The size of each Safety Order.
o Price Deviation (%): The percentage distance between consecutive Safety Orders.
o Safety Order Volume Scale: The scaling factor for increasing the volume of subsequent Safety Orders.
o Max Safety Orders: The maximum number of Safety Orders allowed per deal.
4. Unique Features:
o Backtest Range Support: Enables you to limit backtesting to a specific time range of interest.
o Comprehensive Statistics: Displays detailed tables including open trades, pending orders, ROI, trading days, and realized profit.
o Integrated Trading Fees: Includes transaction fees in profit calculations for precise results.
5. Usage Instructions:
o Select the trading mode (Long or Short) from the "Strategy" input.
o Customize parameters such as Base Order, Safety Order, and Target Profit according to your requirements and the asset being traded.
o Monitor the performance of the strategy through the displayed information tables.
Notes:
• This script does not disclose detailed calculation logic but provides an overview of the concepts and usage.
• Designed for trading on exchanges that support margin or spot trading.
CAD CHF JPY (Index) vs USDDescription:
Analyze the combined performance of CAD, CHF, and JPY against the USD with this customized Forex currency index. This tool enables traders to gain a broader perspective of how these three currencies behave relative to the US Dollar by aggregating their movements into a single index. It’s a versatile tool designed for traders seeking actionable insights and trend identification.
Core Features:
Flexible Display Options:
Choose between Line Mode for a simplified view of the index trend or Candlestick Mode for detailed analysis of price action.
Custom Weight Adjustments:
Fine-tune the weight of each currency pair (USD/CAD, USD/CHF, USD/JPY) to better reflect your trading priorities or market expectations.
Moving Average Integration:
Add a moving average to smooth the data and identify trends more effectively. Choose your preferred type: SMA, EMA, WMA, or VWMA, and configure the number of periods to suit your strategy.
Streamlined Calculation:
The index aggregates data from USD/CAD, USD/CHF, and USD/JPY using a weighted average of their OHLC (Open, High, Low, Close) values, ensuring accuracy and adaptability to different market conditions.
Practical Applications:
Trend Identification:
Use the Line Mode with a moving average to confirm whether CAD, CHF, and JPY collectively show strength or weakness against the USD. A rising trendline signals currency strength, while a declining line suggests USD dominance.
Weight-Based Analysis:
If CAD is expected to lead, adjust its weight higher relative to CHF and JPY to emphasize its influence in the index. This customization makes the indicator adaptable to your market outlook.
Actionable Insights:
Identify key reversal points or breakout opportunities by analyzing the interaction of the index with its moving average. Combined with other technical tools, this indicator becomes a robust addition to any trader’s toolkit.
Additional Notes:
This indicator is a valuable resource for comparing the collective behavior of CAD, CHF, and JPY against the USD. Pair it with additional oscillators or divergence tools for a comprehensive market overview.
Perfect for both intraday analysis and swing trading strategies. Combine it with EUR GPB AUD (Index) indicator.
Good Profits!
EUR GBP AUD (Index) vs USDDescription:
This indicator calculates a weighted index using three major Forex pairs (EUR/USD, GBP/USD, AUD/USD) to represent their collective performance against the US Dollar (USD). With added functionality for moving averages, it provides a comprehensive tool for analyzing market trends, tracking momentum, and customizing strategies. Offers a holistic view of how major currencies are performing relative to the USD, making it easier to identify market trends and their potential impacts.
Display Modes:
Line (Default): A dynamic line chart with color changes indicating whether the index is above or below 1 USD.
Candles: Japanese candlestick visualization for detailed price action analysis.
Customizable Weights:
Adjust the weight assigned to each currency pair (EUR/USD, GBP/USD, AUD/USD) to reflect your trading priorities. Default weights are balanced, but you can customize them to suit your strategy, ensuring the total does not exceed
Moving Average Integration:
Includes a fully customizable moving average:Choose from SMA, EMA, WMA, or VWMA.Adjust the period length (default: 50).The moving average is plotted alongside the index to help identify trends and key levels.
Weighted Average Calculation:
Uses OHLC (Open, High, Low, Close) data to compute a precise weighted average for the index.
How to Use:
The indicator is designed to track the collective performance of major currencies against the USD. Here are some examples of how it can be used:
Example 1: Trend Confirmation with Moving Averages
Overlay the index with the moving average to confirm trends:If the index is trading above the moving average and the line is green, it signals strength in the major currencies relative to the USD.If the index is below the moving average and the line is red, it suggests potential USD strength.
Example 2: Customize Analysis with Weighted Strategy
Adjust the weights for EUR/USD, GBP/USD, and AUD/USD based on your trading priorities. For instance:If you expect EUR/USD to outperform, increase its weight in the calculation.Use the candlestick mode to observe intraday price action near support/resistance levels for potential trade setups.
Example 3: Momentum Analysis with Trend CCI
Combine this index with your custom Trend CCI indicator to enhance momentum analysis and identify potential trading opportunities:
Rising Index + Trend CCI > +100: Indicates strong bullish momentum in major currencies against the USD. This could signal a continuation of the uptrend or a good time to hold long positions.
Falling Index + Trend CCI < -100: Suggests bearish momentum, indicating a potential continuation of USD strength and an opportunity for short trades or exiting long positions.
Trend CCI Divergence: If the index is rising but the Trend CCI starts to fall, this could indicate weakening bullish momentum and the potential for a reversal.
Explore More:
Check out my other scripts to find CAD CHF JPY (Index) vs USD as well.
es.tradingview.com
Quarterly SessionsWith this indicator you can configure a time range and the indicator will split it into four quarters and print vertical lines to visually display them.
RSI Overbought/Oversold Strategy - Haisreeit should be work 4hrs 100% this 80 over bought and 20 over sold straregy.
Combo Alert Script V5It is the multiple alarm adding version of "Kenan's Deluxe Combo Indicator Alert Script" that I published 5 years ago. I created this script 4 years ago but I am publishing it for the first time.
With this script, we can add 6 long and 6 short alarms to the same script.
Indicators and oscillators included in this strategy are:
1. Ema 9/21/50
2. Macd
3. Macd Dema
4. Ichimoku
5. Dmi
6. Stochastic
7. Aroon
8. Bollinger Band
9. Rsi
10. Chande Momentum Oscillator
11. Exponential Ease of Movement ( Eom )
12. Klinger Oscillator
13. Stochastic RSI
14. Ultimate Oscillator
15. Woodies CCI
16. Rate Of Change Lenght( Roc ) oscillator
17. WaveTrend Oscillator . It was created by @fskrypt.
18. Ehlers Adaptive CG Indicator . It was created by LazyBear
19. Insync Index. It was created by LazyBear
Note: This Alarm section of this script was prepared with the support of the tradingview team. Normally, you need to add 4800 alarms to add 4800 alarms, but with the advice of the tradingview team, we added the alarms to the code and thus saved on alarms. In this way, we were able to add 4800 alarms as 400 alarms. Endless thanks to the tradingview team, who think about users instead of commercial profits :)