【幣友科技】牛市支撐線 - 以週為主本指標腳本為牛市支撐線,其中由 21 週 EMA 慢線及 20 週SMA快線所交叉面積部分組成。當價格突破所組成的部分,可視為「牛市」。反之,當價格跌破所組成的部分,稱為「熊市」。反彈亦可作為回踩依據,當價格>牛市支撐線,並遠離支撐帶,進而再次回到牛市支撐線,反彈住可視為「回踩」,反之亦然。本指標有進行週期優化,可具體顯示當期週線未收盤之日線日份,精度以週線為主。
當 21 週EMA > 20 週SMA,可視為「看漲」,因其較緩慢之慢線超越快線,因此視為「看漲」。
當 21 週EMA < 20 週SMA,可視為「看跌」,因其較快訴之快線超越慢線,因此視為「看跌」。
1. 本量化僅適合用作於長期,切勿使用於短期。
2. 指標皆有「滯後性」,請自行斟酌使用。
3. 指標不一定完全反應各種情況,請自行進行判斷。
4. 投資有風險,請為自行的資金操作負責。
【團隊介紹】
幣友科技,是一個由台灣區塊鏈相關人才於 2023 年成立的社群。幣友團隊主要由「區塊鏈工程師、加密貨幣交易員」組合而成,由區塊鏈技術派和交易派組成強大陣容。我們主打交易和技術雙並肩的「開源文化社群」,為想進入區塊鏈領域而不知從何下手的新手而生,也為了台灣的區塊鏈社群而共同努力。
【團隊連結】
幣友科技官網:https://bityo.tw
© 幣友科技 BITYO 2024.
Bands and Channels
BB+4 EMA SPSCALPERBollinger Bands with 4 exponential moving averages. Helps in identifying strong trends, trend reversals using moving average crossovers etc.
【幣友科技】牛市支撐線 - 以日為主本指標腳本為牛市支撐線,其中由 147 日 EMA 慢線及 140 日SMA快線所交叉面積部分組成。當價格突破所組成的部分,可視為「牛市」。反之,當價格跌破所組成的部分,稱為「熊市」。反彈亦可作為回踩依據,當價格>牛市支撐線,並遠離支撐帶,進而再次回到牛市支撐線,反彈住可視為「回踩」,反之亦然。本指標有進行週期優化,可具體顯示當期週線未收盤之日線日份,精度以日線為主。
當 147 日EMA > 140日SMA,可視為「看漲」,因其較緩慢之慢線超越快線,因此視為「看漲」。
當 147 日EMA < 140 日SMA,可視為「看跌」,因其較快訴之快線超越慢線,因此視為「看跌」。
1. 本量化僅適合用作於長期,切勿使用於短期。
2. 指標皆有「滯後性」,請自行斟酌使用。
3. 指標不一定完全反應各種情況,請自行進行判斷。
4. 投資有風險,請為自行的資金操作負責。
【團隊介紹】
幣友科技,是一個由台灣區塊鏈相關人才於 2023 年成立的社群。幣友團隊主要由「區塊鏈工程師、加密貨幣交易員」組合而成,由區塊鏈技術派和交易派組成強大陣容。我們主打交易和技術雙並肩的「開源文化社群」,為想進入區塊鏈領域而不知從何下手的新手而生,也為了台灣的區塊鏈社群而共同努力。
【團隊連結】
幣友科技官網: bityo.tw
© 幣友科技 BITYO 2024.
Auto Fibonacci Retracement by YilmazerBelirtilen bar sayısı ve fibonacci değerlerine göre fibonacci düzeltme seviyelerini grafik üzerinde çizer. Eğer grafikte belirtilenden daha az bar var ise bu durumda grafikte yer alan max bar sayısını dikkate alarak çizim yapar.
Draws Fibonacci retracement levels on the chart based on the specified number of bars and Fibonacci values. If the chart has fewer bars than specified, it uses the maximum number of bars available on the chart for drawing.
Jakes main INDICATOR really great tool still a work in progress. I'm fine tunning this still mostly around false signals and volitility
RSI BB Backtest StrategyRSI BB Backtest strategy. It is in initial phase. A lot of changes will be made in due course.
RSI Guppy ATR Direnç/Kanal SinyaliRSI ve ATR: RSI ve ATR hesaplamaları standart şekilde yapılır.
Sinyaller: RSI aşırı alım/aşırı satım seviyeleri ve Guppy MMA'lar kullanılarak alım/satım sinyalleri oluşturulur.
alım sinyalleri çok iyi bence ve değişik değerler vererek kendi stratejinize göre kullanabilirsiniz
Half-Trend Channel [BigBeluga]Half Trend Channel is a powerful trend-following indicator designed to identify trend direction, fakeouts, and potential reversal points. The combination of upper/lower bands, midline coloring, and specific signals makes it ideal for spotting trend continuation and market reversals.
The base of the channel is calculated using smoothed half-trend logic.
// Initialize half trend on the first bar
if barstate.isfirst
hl_t := close
// Update half trend value based on conditions
switch
closeMA < hl_t and highestHigh < hl_t => hl_t := highestHigh
closeMA > hl_t and lowestLow > hl_t => hl_t := lowestLow
=> hl_t := hl_t
// Smooth
float s_hlt = ta.hma(hl_t, len)
🔵 Key Features:
Upper and Lower Bands:
The bands adapt dynamically to market volatility.
Price movements toward the bands help identify areas of overextension and potential reversal points.
Midline Trend Signal:
The midline changes color to reflect the current trend:
Green Midline: Indicates an uptrend.
Purple Midline: Signals a downtrend.
Fakeout Signals ("X"):
"X" markers appear when price briefly breaches the outer bands but fails to sustain the move.
Fakeouts help traders identify areas where price momentum weakens.
Reversal Signals (Triangles):
Triangles (▲ and ▼) mark potential tops and bottoms:
▲ Up Triangles: Suggest a potential bottom and a reversal to the upside.
▼ Down Triangles: Indicate a potential top and a reversal to the downside.
Dynamic Trend Labels:
At the last bar, the indicator displays labels like "Trend Up" or "Trend Dn" , reflecting the current trend direction.
🔵 Usage:
Use the colored midline to determine the overall trend direction.
Monitor "X" fakeout signals to spot failed breakouts or momentum exhaustion near the bands.
Watch for reversal triangles (▲ and ▼) to identify potential trend reversals at tops or bottoms.
Combine the bands and midline signals to confirm trade entries and exits:
Enter long trades when price bounces off the lower band with a green midline.
Consider short trades when price reverses from the upper band with a purple midline.
Use the trend label (e.g., "Trend Up" or "Trend Dn") for quick confirmation of the current market state.
The Half Trend Channel is an essential tool for traders who want to follow trends, avoid fakeouts, and identify reliable tops and bottoms to optimize their trading decisions.
3 Candle Strategy with HighlightIt has a very good accuracy of 70% across any stock or Indices it is very useful to understand the trend reversal easily and tackle the sudden shift of the market very easily
Strategy by Nachi Chennai//@version=5
indicator("EMA Scalping Strategy", overlay=true)
// Input for EMA settings
ema_short = input.int(9, title="Short EMA", minval=1)
ema_medium = input.int(21, title="Medium EMA", minval=1)
ema_long = input.int(50, title="Long EMA", minval=1)
// EMA calculations
shortEMA = ta.ema(close, ema_short)
mediumEMA = ta.ema(close, ema_medium)
longEMA = ta.ema(close, ema_long)
// Input for RSI settings
rsi_length = input.int(14, title="RSI Length", minval=1)
rsi_overbought = input.int(70, title="RSI Overbought Level", minval=50)
rsi_oversold = input.int(30, title="RSI Oversold Level", minval=1)
// RSI calculation
rsi = ta.rsi(close, rsi_length)
// MACD settings
= ta.macd(close, 12, 26, 9)
// Conditions for Buy and Sell
buyCondition = ta.crossover(shortEMA, mediumEMA) and close > longEMA and rsi > 50 and macdLine > signalLine
sellCondition = ta.crossunder(shortEMA, mediumEMA) and close < longEMA and rsi < 50 and macdLine < signalLine
// Plotting EMAs
plot(shortEMA, color=color.new(color.blue, 0), title="Short EMA (9)")
plot(mediumEMA, color=color.new(color.orange, 0), title="Medium EMA (21)")
plot(longEMA, color=color.new(color.red, 0), title="Long EMA (50)")
// Plot Buy and Sell signals
plotshape(series=buyCondition, title="Buy Signal", location=location.belowbar, color=color.new(color.green, 0), style=shape.labelup, text="BUY")
plotshape(series=sellCondition, title="Sell Signal", location=location.abovebar, color=color.new(color.red, 0), style=shape.labeldown, text="SELL")
// Background Highlighting
bgcolor(buyCondition ? color.new(color.green, 90) : na, title="Buy Highlight")
bgcolor(sellCondition ? color.new(color.red, 90) : na, title="Sell Highlight")
$TRUMPT 多空策略分享【$TRUMP多空策略分享】
这是一个结合趋势跟随和波段交易的策略,通过多重技术指标确认入场,配合动态仓位管理和灵活止盈机制。
策略核心逻辑:
入场信号
多头:快速EMA上穿慢速EMA + MACD金叉 + RSI<70
空头:快速EMA下穿慢速EMA + MACD死叉 + RSI>30
风险管理
止损:5%
第一止盈:8%
第二止盈:12%
杠杆:3倍
仓位管理
基于ATR动态调整仓位大小
单笔最大风险控制在5%
最大仓位不超过40%账户权益
回测数据:
净利润:145.37 USDT (14.56%)
交易次数:164次
胜率:39.02%
盈亏比:1.468
最大回撤:84.43 USDT (6.90%)
平均每笔:0.89 USDT
策略特点:
多重指标过滤,提高交易质量
分批止盈,动态调整目标位
完善的风控体系,确保长期稳定
适合波动性较大的币种
注意:回测表现不代表未来收益,请理性对待,严格执行风控。
Moving Average Crossoverchatgpt testing script
New to pine script trading and copied this script from chatgpt and just want to see what it does \.
No idea what the words mean even though i'm a python programmer
Bollinger Bands + RSI + Heikin Ashi Breakout (Naman)Bollinger Bands + RSI + Heikin Ashi Candles (Smooth Breakout Strategy)
Objective:
Filter noise using Heikin Ashi candles to identify clean breakouts.
How It Works:
Bollinger Bands: Indicate breakout direction.
RSI: Confirm momentum (e.g., rising RSI > 50).
Heikin Ashi Candles: Smooth price action for cleaner signals.
Application:
Enter long when Heikin Ashi candles turn green and close above the upper Bollinger Band with RSI > 50.
Exit when Heikin Ashi candles turn red or RSI enters overbought.
sl for pro tradersThis script calculates the Average True Range (ATR) of a financial instrument, which measures market volatility. The ATR value is smoothed using one of four moving average methods chosen by the user: RMA (default), SMA, EMA, or WMA. Here's a breakdown of the functionality:
Inputs:
Length: Determines the period over which the ATR is calculated (default is 14).
Smoothing: Allows the user to select the smoothing method for the ATR from options like RMA, SMA, EMA, or WMA.
Smoothing Logic:
A function ma_function is defined to apply the selected smoothing method (RMA, SMA, EMA, or WMA) to the true range (ta.tr(true)) over the specified length.
Dividing the ATR by 2:
The calculated ATR is divided by 2 before being displayed. This adjustment ensures that if the original ATR value is 10, the script will now output 5.
Plot:
The modified ATR value (original ATR divided by 2) is displayed on a separate panel as a line chart, using a red color (#B71C1C).
Purpose of Update: The division by 2 scales down the ATR values for specific use cases where such an adjustment is desired. This could be for custom strategies or better alignment with other indicators.
13/21 EMA Cloud//@version=5
indicator(title="13/21 EMA Cloud", shorttitle="EMA Cloud", overlay=true)
// Inputs for the EMA lengths
short_ema_length = input.int(title="Short EMA Length", defval=13)
long_ema_length = input.int(title="Long EMA Length", defval=21)
// Calculating the 13-period and 21-period EMAs
short_ema = ta.ema(close, short_ema_length)
long_ema = ta.ema(close, long_ema_length)
// Plotting the EMAs
plot(short_ema, title="13 EMA", color=color.green, linewidth=2)
plot(long_ema, title="21 EMA", color=color.red, linewidth=2)
// Plotting the Cloud
fill(plot(short_ema), plot(long_ema), color=short_ema > long_ema ? color.green : color.red, transp=80)
// Alert Conditions
alertcondition(short_ema > long_ema, title="Bullish Crossover", message="13 EMA has crossed above 21 EMA")
alertcondition(short_ema < long_ema, title="Bearish Crossover", message="13 EMA has crossed below 21 EMA")
RSI Divergence with Bullish CandleKey Concepts in the Script:
RSI Calculation: The RSI is calculated with the user-defined period (rsiLength). The script uses the default 14-period RSI but you can adjust it.
Bullish Divergence:
Price Low: The script checks for the lowest price over the last 20 bars (ta.lowest(close, 20)).
RSI Low: The script checks for the lowest RSI over the same 20 bars.
Divergence Condition: Bullish divergence is identified when the price forms a lower low (priceLow1 < priceLow2), while the RSI forms a higher low (rsiLow1 > rsiLow2), and the RSI is below the oversold level (typically 30).
Bullish Candle Pattern:
A Bullish Engulfing pattern is defined as the current candle closing higher than it opened, and the close being above the previous candle's high.
A Hammer pattern is defined as a candlestick where the close is higher than the open, and the low is the lowest of the last 5 bars.
Buy Signal: The script generates a buy signal when both the bullish divergence and bullish candle are confirmed at the same time.
Donchian Channels + Volume Strategy / Owl of ProfitDonchian Channels + Volume Strategy
This strategy combines Donchian Channels with Volume analysis to identify potential breakout opportunities and confirm them with volume strength. It is designed to capture trend reversals and breakouts based on price action and volume dynamics.
Features:
Donchian Channels:
Tracks the highest high and lowest low over a customizable period.
Provides dynamic support and resistance levels for breakout identification.
Volume Confirmation:
Uses a Volume SMA to validate breakout signals by ensuring above-average volume.
Entry Conditions:
Long: Triggered when the price crosses above the previous upper Donchian Channel, with volume greater than the average.
Short: Triggered when the price crosses below the previous lower Donchian Channel, with volume greater than the average.
Exit Conditions:
Long Exit: Triggered when the price crosses below the current lower Donchian Channel.
Short Exit: Triggered when the price crosses above the current upper Donchian Channel.
Customization Options:
Adjust the Donchian Channel period for breakout sensitivity.
Modify the Volume SMA period to fine-tune volume confirmation.
Visualization:
Dynamic Donchian Channels plotted with shaded areas for better zone visibility.
Visual markers for entry and exit signals directly on the chart.
This strategy is designed for educational and testing purposes. Use it as a foundation for backtesting and adapting to your trading style.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
CCI / Owl of ProfitCCI Strategy Example
This strategy uses the Commodity Channel Index (CCI) to identify potential long and short trading opportunities. It features customizable smoothing options and optional Bollinger Bands for added precision.
Features:
CCI Calculation:
CCI is calculated using the source (default: HLC3) with customizable period length.
Plots CCI values along with key levels (+100, -100, and 0) to identify overbought/oversold conditions.
Smoothing Options:
Includes various moving average types: SMA, EMA, SMMA (RMA), WMA, and VWMA.
Optionally applies Bollinger Bands to the smoothed CCI values for dynamic overbought/oversold levels.
Entry Conditions:
Long: Triggered when CCI crosses above -100.
Short: Triggered when CCI crosses above +100.
Customization Options:
Adjust CCI length and source (e.g., close, hlc3).
Select MA type and length for smoothing.
Enable Bollinger Bands with customizable standard deviation multiplier.
Visualization:
Clear CCI plot with shaded background for oversold and overbought zones.
Optional smoothed CCI with Bollinger Bands for advanced analysis.
This strategy is designed for educational and testing purposes. Use it as a foundation for backtesting and adapting to your trading needs.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
Chande Momentum Oscillator + BB / Owl of ProfitChande Momentum Oscillator + Bollinger Bands Strategy
This strategy combines the Chande Momentum Oscillator (CMO) with Bollinger Bands to identify overbought and oversold conditions and generate entry and exit signals based on price action and momentum.
Features:
Bollinger Bands:
Visualize volatility and identify price breakouts using customizable period and standard deviation.
Signals are triggered when the price crosses above or below the Bollinger Bands.
Chande Momentum Oscillator (CMO):
Detects momentum with a customizable length.
Confirms overbought or oversold conditions with upper and lower thresholds.
Entry Conditions:
Long: Price crosses below the lower Bollinger Band, and CMO is below the oversold level.
Short: Price crosses above the upper Bollinger Band, and CMO is above the overbought level.
Exit Conditions:
Long Exit: Price crosses above the Bollinger Basis or CMO enters overbought.
Short Exit: Price crosses below the Bollinger Basis or CMO enters oversold.
Customization Options:
Adjust Bollinger Bands length and standard deviation for sensitivity.
Modify CMO length and thresholds to refine momentum detection.
Visualization:
Bollinger Bands are shaded for clear identification of overbought and oversold zones.
CMO and its thresholds are plotted for easy reference.
This strategy is designed for educational and testing purposes. Use it as a foundation for backtesting and adapting to your trading approach.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
Bollinger Bands Filter (TradeChartist) / Owl of Profit remakeThis strategy, created by TradeChartist, uses Bollinger Bands to filter market conditions and generate precise signals for long and short positions based on price action relative to the Bollinger Bands.
Special thanks to TradeChartist for the inspiration!
Features:
Bollinger Bands Logic:
Long Entry: Triggered when the price crosses above the upper Bollinger Band.
Short Entry: Triggered when the price crosses below the lower Bollinger Band.
Customizable Settings:
Adjust the SMA period and Standard Deviation multiplier for Bollinger Bands to suit your trading style.
Enable or disable bar coloring based on Bollinger Bands logic.
Alerts and Visualization:
Clear alerts for both Long and Short signals.
Visual signals with triangle markers directly on the chart.
Shaded Bollinger Bands with customizable transparency for easier zone identification.
Bar Coloring:
Green for bullish conditions when the price is above the upper band.
Red for bearish conditions when the price is below the lower band.
This strategy is designed for educational and testing purposes. Use it as a foundation for backtesting and customization to your trading approach.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
BB + MA / Owl of ProfitThis strategy combines Bollinger Bands (BB) and a Moving Average (MA) to identify trend-following entry and exit signals. It leverages Bollinger Bands for volatility-based breakouts and a Moving Average for trend confirmation.
Features:
Bollinger Bands:
Detects price volatility with customizable period and multiplier.
Generates signals based on price crossing the upper or lower bands.
Moving Average:
Supports both SMA (Simple Moving Average) and EMA (Exponential Moving Average).
Confirms trend direction for entry and exit conditions.
Entry Conditions:
Long: Price crosses above the lower Bollinger Band and is above the MA.
Short: Price crosses below the upper Bollinger Band and is below the MA.
Exit Conditions:
Long Exit: Price crosses below the MA or drops below it.
Short Exit: Price crosses above the MA or rises above it.
Customization Options:
Adjust Bollinger Bands period and multiplier for volatility sensitivity.
Choose between SMA or EMA for the Moving Average.
Visualization:
Bollinger Bands with shaded areas for easy identification of price ranges.
Visual markers for entry and exit signals directly on the chart.
This strategy is designed for educational and testing purposes. Use it as a foundation for further customization and backtesting on your preferred markets.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
Fartcoin log line bot and topThe first script for bitcoin went perfect. Lets see if the same works for fartcoin, because we all know, hot air rises...