Sumit Infusion-ndpDarvas with pivot. This script allows user to vies darvas box with ema distance and pivot .
Indicators and strategies
Ethereum MVRV Z-Score OverlayThis indicator overlays a buy and sell threshold onto a ETHUSD chart. These thresholds are calculated using the MVRV Z-Score and the provided threshold values for the MVRV Z-Score.
Highlight 3 PM Candle//@version=5
indicator("Highlight 3 PM Candle", overlay=true)
// Function to determine if the current candle is the 3 PM candle
is3pm(candleTime) =>
hour(candleTime) == 15 and minute(candleTime) == 0
// Check if the current candle is the 3 PM candle
highlight = is3pm(time)
// Highlight the 3 PM candle with a background color
bgcolor(highlight ? color.new(color.red, 80) : na)
VWAP on Straddle & Strangle From Sandeep// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © AlgoTest
//@version=5
indicator("VWAP on Straddle & Strangle", overlay = false)
var bool first = true
var strike_gap = map.new()
if first
first := false
strike_gap.put("NIFTY", 50)
strike_gap.put("BANKNIFTY", 100)
strike_gap.put("FINNIFTY", 50)
strike_gap.put("MIDCPNIFTY", 25)
strike_gap.put("SENSEX", 100)
strike_gap.put("CRUDEOIL",50)
spot = input.string( "NIFTY" , title = "Spot Symbol", options = , group = "Index")
tooltip_day = "Enter the day of the expiry. Add 0 infront, if day is in single digit. For eg : 05 instead of 5"
tooltip_month = "Enter the month of the expiry. Add 0 infront, if month is in single digit. For eg : 06 instead of 6"
tooltip_year = "Enter the year of the expiry. Use last digit of the year. For eg : 24 instead of 2024"
_day = input.string( "11" , title = "Expiry Day", tooltip = tooltip_day, group="Expiry Date")
_month = input.string( "07" , title = "Expiry Month", tooltip = tooltip_month, group="Expiry Date")
_year = input.string( "24" , title = "Expiry Year", tooltip = tooltip_year, group="Expiry Date")
tooltip_ = "You can select any Strike, you can also have VWAP on Straddle, Strangle"
strike_ce = input.int(24300, "Call Strike", tooltip = tooltip_, group = "Select Strike")
strike_pe = input.int(24300, "Put Strike", tooltip = tooltip_, group = "Select Strike")
var string symbol_CE = ""
var string symbol_PE = ""
if(spot == "SENSEX")
symbol_CE := spot+"_"+_year+_month+_day+"_C_"+str.tostring(strike_ce)
symbol_PE := spot+"_"+_year+_month+_day+"_P_"+str.tostring(strike_pe)
if(spot != "SENSEX")
symbol_CE := spot+_year+_month+_day+"C"+str.tostring(strike_ce)
symbol_PE := spot+_year+_month+_day+"P"+str.tostring(strike_pe)
= request.security( symbol_CE, timeframe.period , )
= request.security( symbol_PE, timeframe.period , )
call_volume = request.security( symbol_CE, timeframe.period , volume )
put_volume = request.security( symbol_PE, timeframe.period , volume )
straddle_open = call_open + put_open
straddle_close = call_close + put_close
straddle_high = math.max(straddle_open, straddle_close)
straddle_low = math.min(straddle_open, straddle_close)
straddle_volume = call_volume + put_volume
var float sumPriceVolume = 0.0
var float sumVolume = 0.0
var float vwap = 0.0
if (dayofweek != dayofweek )
sumPriceVolume := 0.0
sumVolume := 0.0
vwap := 0.0
sumPriceVolume += straddle_close * straddle_volume
sumVolume += straddle_volume
vwap := sumPriceVolume / sumVolume
plotcandle ( straddle_open , straddle_high , straddle_low , straddle_close , title = "Straddle" , color = straddle_close > straddle_open ? color.green : color.red )
// vwap = ta.vwap(straddle_close)
plot ( vwap , title = "VWAP on Straddle" , color = color.blue , linewidth = 2 )
entry = straddle_close < vwap and straddle_close >= vwap
exit = straddle_close >= vwap and straddle_close < vwap
plotshape(exit, title = "Exit", text = 'Exit', style = shape.labeldown, location = location.top, color= color.red, textcolor = color.white, size = size.tiny)
plotshape(entry, title = "Entry", text = 'Entry', style = shape.labelup, location = location.bottom, color= color.green, textcolor = color.white, size = size.tiny)
alertcondition(exit, "Exit", "Exit")
alertcondition(entry, "Entry", "Entry")
Aadil's Buy Sell StrategyEMA Rejection Strategy
Overview: The EMA Rejection Strategy is designed for traders who rely on technical analysis to make informed trading decisions. This strategy is ideal for identifying potential buy and sell signals based on price rejections from the Exponential Moving Average (EMA). Specifically, it focuses on detecting scenarios where the price interacts with the 9-period EMA, providing clear entry points for traders.
Features:
EMA Calculation: Uses a 9-period EMA to identify key price levels.
Buy Signal: Generated when the price drops below the EMA and then closes above it, indicating a bullish rejection.
Sell Signal: Generated when the price rises above the EMA and then closes below it, indicating a bearish rejection.
Visual Indicators: Plots the EMA on the chart and marks buy/sell signals for easy identification.
Automated Trading: Integrates with TradingView’s strategy framework to execute trades automatically based on the signals.
Who Will Use This: This strategy is suited for:
Day Traders: Who need real-time signals for quick buy and sell decisions.
Swing Traders: Who look for short to medium-term trading opportunities based on price rejections.
Technical Analysts: Who rely on EMA as a key indicator for market trends and reversals.
Automated Trading Enthusiasts: Who want to incorporate EMA-based rejections into their algorithmic trading setups.
Try it then let me know ;)
3 EMA Indicator with Options"3 EMA Indicator with Customization"
This Pine Script indicator plots three Exponential Moving Averages (EMAs) with fully customizable settings, providing traders with flexibility and control. Each EMA is individually configurable in terms of:
Period Lengths: Choose the period for each EMA (default: 50, 100, 200).
Source Type: Calculate each EMA based on a selected data source—open, high, low, or close prices.
Visibility Toggle: Show or hide each EMA independently with checkboxes for a cleaner, more customized chart.
The default colors are blue for the 50 EMA, green for the 100 EMA, and red for the 200 EMA, but all settings are adjustable in the indicator's settings panel.
Uses and Benefits
Trend Identification:
This indicator helps identify the prevailing trend by analyzing multiple EMA crossovers and alignments. For instance, a 50 EMA above the 100 and 200 EMAs often indicates a strong bullish trend.
Customizable Inputs:
Users can choose specific price sources for the EMAs (open, high, low, close), allowing them to tailor the indicator to different trading strategies, such as those focused on highs or lows.
Easy Visibility Control:
The option to enable or disable each EMA provides a flexible view, letting users focus on specific EMA values or reduce chart clutter as needed.
Support and Resistance:
EMAs act as dynamic support and resistance levels. Price reactions around the 50, 100, and 200 EMAs can reveal potential entry and exit points for trades.
Multi-Timeframe Compatibility:
The indicator works across multiple timeframes, making it versatile for intraday, swing, and long-term traders.
This script is a valuable tool for traders looking to simplify trend analysis and adjust the view to their preferred settings.
EMAS JorgeEste Script consta de una media movil de 10 periodos, una segunda media movil de 20 periodos, una tercera de 150 periodos, y una cuarta, de 200 periodos.
15-Minute Time Frame Separatorim using this indicator to find best entry using 15minute time frame . so before i need to put manually ,
Trend Bend"Trend Bend" Indicator - Recognizing a Change in Trend
"Trend Bend" is an indicator created for easy visualization of trends and their change through the crossover of two moving averages (Moving Averages - MAs). This indicator helps traders determine market direction and possible trend reversals using a simple yet effective method.
Basic Script Functions and Logic
Pair Moving Averages:
Fast MA with a default length of 10 and Slow MA with a length of 30.
The fast moving average follows the current price more closely, while the slow moving average smooths out the trend. Crossing between the two indicates a change in trend direction.
Lengths can be changed according to the user's preferences and trading style.
Trend Reversal Signals:
When the fast moving average crosses the slow moving average from the bottom up, an "UP" signal is displayed - indicating a possible uptrend.
When the fast moving average crosses the slow moving average from top to bottom, a "DOWN" signal is displayed - indicating a potential downtrend.
Daily SMAs with LTF updatesThis indicator plots Daily SMAs on lower timeframe charts and updates the SMA on every bar close of the chart's timeframe.
SystemAlpha MIXEsse indicador foi criado para ajudar a identificar facilmente quando um ativo (como ações ou criptomoedas) está em uma tendência de alta e quando essa tendência está prestes a terminar.
Ele funciona da seguinte forma:
Identificação da Tendência de Alta: O indicador usa uma combinação de médias móveis e o índice de força relativa (RSI) para verificar se o ativo está subindo de forma consistente. Quando detecta uma tendência de alta, ele marca no gráfico um alerta visual abaixo do preço, mostrando que o ativo está em alta.
Sinal de Fim da Tendência: Quando a tendência de alta mostra sinais de enfraquecimento, o indicador avisa que a alta pode estar acabando. Neste momento, ele coloca um alerta visual acima do preço, indicando um possível fim da subida.
Médias Móveis e Bandas de Bollinger: As linhas coloridas no gráfico representam médias móveis de diferentes períodos (10, 50 e 200), que ajudam a visualizar a direção geral do ativo. As Bandas de Bollinger, que envolvem o preço, mostram se o ativo está "espremido" (com pouca oscilação) ou se está se movendo com mais força.
Supertrend: Esse recurso dá suporte adicional para entender se o preço ainda está em alta ou se pode estar revertendo.
Este indicador é ideal para quem deseja visualizar rapidamente as tendências de alta e evitar ficar posicionado quando a alta acaba. É útil tanto para quem faz operações rápidas quanto para quem quer acompanhar o movimento de um ativo ao longo de um período maior.
EMA and SMA Crossover Strat.Jerrythick jerry
good good stuff
thick jerry
good good stuff
thick jerry
good good stuff
thick jerry
good good stuff
thick jerry
good good stuff
thick jerry
good good stuff
MTF CCI Scanner [KaninFx]MTF CCI Scanner (Multi-Timeframe CCI Scanner) is an indicator that analyzes CCI (Commodity Channel Index) values across multiple timeframes simultaneously, from M1, M3, M5, M15, M30, H1, H4, to D1. It displays results in a table format showing CCI values and states (Overbought, Oversold, Neutral), allowing traders to quickly visualize buying-selling pressure across all timeframes.
Optimized Fair Value Gap StrategyOptimised Fair Value Gap strategy with take profit signals. Giving traders the best chance of making successful trades
tp_sl_libLibrary "tp_sl_lib"
This library is for drawing entry, targets, stop losses in customizable ways and different versions.
Currently there are 2 versions, but maybe new versions will be added in future.
It should be used as a library with a handle tradeDrawingsUnion and the actually used version. The handling of all UI elements takes place inside the library with the following functions to control the configuration and lifetime of the objects.
The library has the purpose to be backward-compatible to previous versions and thus alowing for "easy" changing of the drawing version/style.
shrink_lines(version, start_idx, min_bars_label_length, drawings)
Parameters:
version (int)
start_idx (int)
min_bars_label_length (int)
drawings (tradeDrawingsUnion)
draw_bad_rrr(version, ep, rrr, min_bars_label_length, ep_thickness, ep_color)
Parameters:
version (int)
ep (float)
rrr (float)
min_bars_label_length (int)
ep_thickness (int)
ep_color (color)
remove_trade_drawings(version, drawings)
Parameters:
version (int)
drawings (tradeDrawingsUnion)
remove_trade_drawings_labels(version, drawings)
Parameters:
version (int)
drawings (tradeDrawingsUnion)
draw_trade_tp_sl(version, direction, ep, tp1, tp2, tp3, sl, rrr, tp1_perc, tp2_perc, tp3_perc, sizeInfo, patternStartBarIdx, tp_sl_line_length, show_tp1, show_tp2, show_tp3, show_sl, show_ep, show_size_info, tp_sl_label_pos, tp_sl_price_pos, tp_sl_rrr_pos, tp_sl_perc_pos, tp_sl_qty_pos, tp1_style, tp2_style, tp3_style, sl_style, ep_style, tp1_thickness, tp2_thickness, tp3_thickness, sl_thickness, ep_thickness, tp1_color, tp2_color, tp3_color, sl_color, ep_color, buy_color, sell_color)
Parameters:
version (int)
direction (int)
ep (float)
tp1 (float)
tp2 (float)
tp3 (float)
sl (float)
rrr (float)
tp1_perc (float)
tp2_perc (float)
tp3_perc (float)
sizeInfo (string)
patternStartBarIdx (int)
tp_sl_line_length (int)
show_tp1 (bool)
show_tp2 (bool)
show_tp3 (bool)
show_sl (bool)
show_ep (bool)
show_size_info (bool)
tp_sl_label_pos (string)
tp_sl_price_pos (string)
tp_sl_rrr_pos (string)
tp_sl_perc_pos (string)
tp_sl_qty_pos (string)
tp1_style (string)
tp2_style (string)
tp3_style (string)
sl_style (string)
ep_style (string)
tp1_thickness (int)
tp2_thickness (int)
tp3_thickness (int)
sl_thickness (int)
ep_thickness (int)
tp1_color (color)
tp2_color (color)
tp3_color (color)
sl_color (color)
ep_color (color)
buy_color (color)
sell_color (color)
tradeDrawingsUnion
Fields:
v1 (tradeDrawingsV1)
v2 (tradeDrawingsV2)
Low Price VolatilityI highlighted periods of low price volatility in the Nikkei 225 futures trading.
It is Japan Standard Time (JST)
This script is designed to color-code periods in the Nikkei 225 futures market according to times when prices tend to be more volatile and times when they are less volatile. The testing period is from March 11, 2024, to November 1, 2024. It identifies periods and counts where price movement exceeded half of the ATR, and colors are applied based on this data. There are no calculations involved; it simply uses the results of the analysis to apply color.
yptestrsilibLibrary "RSIBackgroundLib"
RSI 배경색 라이브러리
rsi_background(_symbol, _timeframe)
RSI 계산 및 배경색 반환
Parameters:
_symbol (simple string) : string 심볼
_timeframe (simple string) : string 타임프레임
Returns: RSI, RSI MA, RSI MA10, 배경색
Vexly_ML_levelsProvide a number into each box (start), (middle), (end)
this is for a buy zone, mid zone, sell zone.
This is mainly geared towards futures and is just a box drawing script.
There is no inherent alpha in this.
We use this to draw our own levels.