Kingdom纏論策略(Kingdom chanlun strategy)七年交易經驗
清華碩畢
全球前十大公司S+工程師
西元2022年報酬64%
西元2023年報酬88%
西元2024年報酬121%
四個月體脂32.2% -> 16.8% 意志力
drive.google.com
雲端硬碟附上二年實盤IBKR盈透對帳單、經歷佐證(2024年報酬包含加密貨幣投資,績效報表難整合)
我是金恩,在學期間修習過會計學、經濟學、貨幣銀行學、投資學與財務管理...等金融專業,且精通微積分、統計學與程式設計等數理科目,
但依然到交易第四年才開始穩定獲利,西元2022年接觸中國傳奇股神(世人尊稱纏師) ─ 纏中說禪操盤術,
結合自身對市場/數學的理解,加以修改創新,製作出基於數學幾何/混沌分形的量化投資系統;
纏師臨終前無償分享畢生所學知識給全人類,並留下「知識本就屬於全人類」...等金句,
令我深受其影響及感動,因此本人也願意將開發的量化策略以纏師學派通稱命名,並傳播於後世。
對於一般個人投資者(散戶)來說,從無到有打造試圖超越大盤的交易系統是一條極為坎坷的道路,
需經歷無數次痛苦的虧損磨練,失眠在輾轉反側的夜,消耗許多時間精力於其中,
甚至花費大把金錢於市面上濫竽充數的投資課程/量化策略上,最後卻撲了空,
更惡劣的莫過於帶單老師/量化團隊虧損,翻臉不認人、惡人先告狀責備學生/客戶自身學藝不精/玻璃心碎,
(金恩本人也曾經因好奇心作祟,被某網紅團隊EXCEL畫的績效圖吸引,浪費1000 USDT購買三個月的實盤量化虧損策略)
針對此亂象,金恩特別設計一款符合朝九晚五的大眾上班族量化策略,績效由第三方平台Tradingview(世界第一大看盤網站)公證,
無未來函數與重繪,確保一定的報酬比例、超高勝率、回測歷史最長、操作頻率低、極小回檔幅度與多品種通用,
多品種操作/單品種槓桿能輕鬆打敗大盤,
2022年下跌熊市,朝七晚八的工作強度,金恩依然獲得64%的年報酬。
(純素人無腦按策略沒辦法如此高,但穩定高效的操作思路是同樣的)
盈利因子為整個交易期間的淨利除以虧損(gross Profit/ gross loss),大於1的盈利因子表示盈利系統;2或更高的盈利因子是良好,而高於3的盈利因子被認為是優秀的
量化回測績效簡易描述如下:
美股標普ES1!回測24年勝率86%,盈利因子7.7
美股納茲達克NQ1!回測18年勝率91%,盈利因子13.7
美股羅素M2K1!回測4年勝率61%,盈利因子4.6
台股期指TXF1!回測11年勝率86%,盈利因子3.4
印度五十NIFTY1!回測22年勝率83%,盈利因子3.2
日股J225回測8年勝率84%,盈利因子2.8
港股恆生HSI1!回測36年勝率80%,盈利因子2.4
加密比特幣BTCUSD回測11年勝率82%,盈利因子3.6
加密以太幣ETHUSD回測8年勝率89%,盈利因子2.2
黃金GOLD回測66年勝率77%,盈利因子2.1
量化策略獲取方式請見雲端硬碟填寫GOOGLE表單,付款後一至二個工作日邀請使用,有問題可私訊Telegram ID:@thes80124
付款GOOGLE表單:https://docs.google.com/forms/d/e/1FAIpQLSePK9moDDRhxMdgdofP0K0OVY4mEU5iPQr6-i8ceiE0-fYJlg/viewform?usp=header
Kingdom纏論策略單月VIP使用權限160 USDT或台幣TWD 5000支付(每個月限額100位容量,避免策略失效及高手仿製)
Kingdom纏論策略一年VIP使用權限1600 USDT或台幣TWD 50000支付(總共限額1000位容量,避免策略失效及高手仿製)
Kingdom MACD輔助看盤指標永久使用權限50 USDT或台幣TWD 1500支付
อินดิเคเตอร์และกลยุทธ์
SCE - Single Candle EntryThe SCE - Single Candle Entry Strategy indicator is designed for traders looking to capitalize on powerful single-candle patterns and their combinations to identify potential entries and reversals. This indicator focuses specifically on The Strat methodology, making it accessible for both scalpers and swing traders across any timeframe.
Key Features
Identifies and marks number 3 candles (outside bars)
Detects powerful 3-2 combinations
Shows extra strong setups with potential reversal signals
Clean and uncluttered visual design
Customizable display options
Comprehensive alert system
Understanding the Signals
Number 3 Candles
A number 3 is an outside bar that makes both a higher high AND lower low than the previous candle
Bullish 3: closes above its open (marked with green '3')
Bearish 3: closes below its open (marked with red '3')
3-2 Combinations (★)
A powerful setup occurs when a number 2 follows a number 3 in the same direction:
Bullish: A bullish 3 followed by a bullish 2 that closes above the high of the 3
Bearish: A bearish 3 followed by a bearish 2 that closes below the low of the 3
Strong 3-2 Combinations (⚡)
Even more powerful setups that could indicate potential reversal points:
Strong Bullish: A bullish 3-2 that forms after a bearish candle
Strong Bearish: A bearish 3-2 that forms after a bullish candle
Settings
The indicator allows you to toggle:
Number 3 candles display
Regular 3-2 combinations
Strong 3-2 combinations
Tips for Usage
Look for strong 3-2 combinations (⚡) as potential reversal signals
Combine with other indicators or price action for confirmation
Use the alerts function to ensure you never miss a setup
Works effectively on any timeframe
Can be used for both scalping and swing trading
Disclaimer
This indicator is meant for educational and informational purposes only. Always conduct your own analysis and manage your risk appropriately.
Get ready to simplify your entries.
3 PRICE ACTION CANDLESTICK RULESSimple rule to buy and sell
Buy when
Current high>previous high
current low>previous low
current close>previous high
Sell when
Current high<previous high
current low<previous low
current close<previous low
Cruzamento de Médias Móveis + Multi EMA + Tabela RSI📊 Indicador Multi-Timeframe com Cruzamento de Médias + RSI Comparativo BTC
Este indicador combina análise técnica avançada com comparativo de RSI do Bitcoin, oferecendo uma visão completa do mercado em múltiplos timeframes.
🔥 PRINCIPAIS FUNCIONALIDADES:
➤ Médias Móveis:
- Cruzamento de SMA 9 e 21 com sinais visuais
- Sistema multi-EMA (12, 26, 100, 200, 300)
- Sinais de entrada e saída automáticos
➤ Painel RSI Multi-Timeframe:
- Análise simultânea de 7 timeframes (5m, 15m, 1h, 4h, 1D, 1W, 1M)
- Comparativo automático com BTC/USDT
- Indicadores visuais de sobrecompra/sobrevenda
- Sistema de cores intuitivo
⚡ BENEFÍCIOS:
- Visualização rápida das condições de mercado
- Comparação instantânea com Bitcoin
- Identificação de divergências entre ativos
- Sinais claros de reversão e tendência
- Interface limpa e intuitiva
🔧 PERSONALIZÁVEL:
- Períodos das médias móveis ajustáveis
- Posicionamento flexível da tabela
- Período do RSI configurável
💡 IDEAL PARA:
- Day Trading
- Swing Trading
- Análise de Correlação com Bitcoin
- Identificação de Momentum
- Gestão de Risco
📌 INSTRUÇÕES:
1. Ajuste os períodos das médias conforme sua estratégia
2. Monitore os cruzamentos para sinais
3. Use o painel RSI para confirmar momentum
4. Compare com BTC para decisões mais informadas
🎯 OBJETIVO:
Fornecer uma ferramenta completa para análise técnica que combine tendência e momentum, permitindo decisões mais precisas baseadas na correlação com Bitcoin.
-------------------
✨ Se este indicador ajudou sua análise, não esqueça de deixar sua ⭐!
📬 Comentários e sugestões são sempre bem-vindos.
LiquidityMatrixLibraryLibrary "LiquidityMatrixLibrary"
DDL(sPP, dPP, SRs, SRd, ShowHLLs, ShowLLLs, ShowHLLd, ShowLLLd)
Parameters:
sPP (int)
dPP (int)
SRs (float)
SRd (float)
ShowHLLs (bool)
ShowLLLs (bool)
ShowHLLd (bool)
ShowLLLd (bool)
EMA Crossover Strategy by QuantdexQuantdex EMA Crossover Strategy
The Quantdex EMA Crossover Strategy is a powerful trend-following system designed to identify high-probability trading opportunities. It utilizes three exponential moving averages (EMAs) to capture market momentum, confirm trends, and provide precise entry and exit points.
Key Components:
Short-Term EMA:
Reacts quickly to price movements, signaling potential trade entries based on momentum shifts.
Medium-Term EMA:
Filters out short-term market noise and helps validate intermediate trends.
Long-Term EMA:
Represents the overall market direction, serving as a critical trend filter and support/resistance indicator.
Strategy Rules:
Bullish Entry:
When the short-term EMA crosses above the medium-term EMA, and both are aligned above the long-term EMA.
Confirms strong upward momentum in a long-term uptrend.
Bearish Entry:
When the short-term EMA crosses below the medium-term EMA, and both are aligned below the long-term EMA.
Confirms strong downward momentum in a long-term downtrend.
Exit Rules:
Exit long positions when the short-term EMA crosses back below the medium-term EMA.
Exit short positions when the short-term EMA crosses back above the medium-term EMA.
Advantages:
Effectively identifies the dominant market trend using a multi-timeframe approach.
Minimizes false signals by requiring confirmation from all EMAs.
Adaptable for swing traders and position traders across various markets.
The Quantdex EMA Crossover Strategy combines simplicity with accuracy, making it a reliable tool for consistent and disciplined trading.
Intraday Volume### Intraday Volume Indicator Explanation
--- this was Mostly created by OpenAI ChatGPT --- it's pretty good!
--- My Commentary: One of the problems I find is with Volume is - it is skewed by the overwhelming volume around the Open and Close. So, as an experiment, I asked ChatGPT to create an indicator to plot the volume everywhere BUT the open.
I added in the CandleColor() function and set the times.
I also changed the Intraday Volume calculation from Cumulative to live.
still Chat GPT - did about 90% of the heavy lift! And, wrote the summary !
----
The "Intraday Volume" indicator is a custom script designed for use on the TradingView platform. It provides a visual representation of the total accumulated trading volume during the intraday trading session, specifically between the market open and close times. Below is a detailed explanation of its functionality:
#### **Key Features:**
1. **Session Times:**
- The indicator defines the intraday session as the period between 9:30 AM EST (market open) and 4:00 PM EST (market close).
- It uses the `timestamp` function to set these times dynamically for each trading day.
2. **Intraday Volume Calculation:**
- During the defined intraday session, the indicator accumulates the trading volume from each bar (candlestick).
- Outside the intraday session, the volume is reset to `na` (not available) to ensure only intraday data is plotted.
3. **Plotting the Volume:**
- The accumulated intraday volume is plotted as a blue column chart in a separate pane below the price chart.
- This provides a clear visualization of how the trading volume evolves throughout the trading session.
4. **Horizontal Reference Line:**
- A horizontal line is added at zero as a visual reference, making it easier to interpret the volume data.
#### **Use Cases:**
- **Volume Analysis:**
- Traders can use the indicator to identify periods of high or low trading activity during the intraday session.
- Peaks in the volume chart may correspond to key market events, such as news releases or significant price movements.
- **Trend Confirmation:**
- Comparing intraday volume with price action can help traders confirm the strength of a trend or the likelihood of a reversal.
- **Custom Time Frames:**
- Although this script is tailored for regular U.S. market hours, it can be adapted for other markets or time zones by modifying the session times.
#### **Customization:**
- **Colors and Styles:**
- The plot color (blue) and style (columns) can be customized to suit user preferences.
- **Session Times:**
- Users can change the session start and end times to match their trading needs or regional market hours.
This indicator is especially useful for intraday traders seeking insights into trading volume dynamics within the trading day. By visualizing the intraday volume, traders can gain a deeper understanding of market behavior and make informed decisions.
EMA Crossover: 9 EMA and 25 EMA mohit jain9 ema 25 ema it shows crosses over above and crosses down .
by mohit jain
Volume Delta Candles HTF [TradingFinder] LTF Volume Candles 🔵 Introduction
In financial markets, understanding the concepts of supply and demand and their impact on price movements is of paramount importance. Supply and demand, as fundamental pillars of economics, reflect the interaction between buyers and sellers.
When buyers' strength surpasses that of sellers, demand increases, and prices tend to rise. Conversely, when sellers dominate buyers, supply overtakes demand, causing prices to drop. These interactions play a crucial role in determining market trends, price reversal points, and trading decisions.
Volume Delta Candles offer traders a practical way to visualize trading activity within each candlestick. By integrating data from lower timeframes or live market feeds, these candles eliminate the need for standalone volume indicators.
They present the proportions of buying and selling volume as intuitive colored bars, making it easier to interpret market dynamics at a glance. Additionally, they encapsulate critical metrics like peak delta, lowest delta, and net delta, allowing traders to grasp the market's internal order flow with greater precision.
In financial markets, grasping the interplay between supply and demand and its influence on price movements is crucial for successful trading. These fundamental economic forces reflect the ongoing balance between buyers and sellers in the market.
When buyers exert greater strength than sellers, demand dominates, driving prices upward. Conversely, when sellers take control, supply surpasses demand, and prices decline. Understanding these dynamics is essential for identifying market trends, pinpointing reversal points, and making informed trading decisions.
Volume Delta Candles provide an innovative method for evaluating trading activity within individual candlesticks, offering a simplified view without relying on separate volume indicators. By leveraging lower timeframe or real-time data, this tool visualizes the distribution of buying and selling volumes within a candle through color-coded bars.
This visual representation enables traders to quickly assess market sentiment and understand the forces driving price action. Buyer and seller strength is a critical concept that focuses on the ratio of buying to selling volumes. This ratio not only provides insights into the market's current state but also serves as a leading indicator for detecting potential shifts in trends.
Traders often rely on volume analysis to identify significant supply and demand zones, guiding their entry and exit strategies. Delta Candles translate these complex metrics, such as Maximum Delta, Minimum Delta, and Final Delta, into an easy-to-read visual format using Japanese candlestick structures, making them an invaluable resource for analyzing order flows and market momentum.
By merging the principles of supply and demand with comprehensive volume analysis, tools like the indicator introduced here offer unparalleled clarity into market behavior. This indicator calculates the relative strength of supply and demand for each candlestick by analyzing the ratio of buyers to sellers.
🔵 How to Use
The presented indicator is a powerful tool for analyzing supply and demand strength in financial markets. It helps traders identify the strengths and weaknesses of buyers and sellers and utilize this information for better decision-making.
🟣 Analyzing the Highest Volume Trades on Candles
A unique feature of this indicator is the visualization of price levels with the highest trade volume for each candlestick. These levels are marked as black lines on the candles, indicating prices where most trades occurred. This information is invaluable for identifying key supply and demand zones, which often act as support or resistance levels.
🟣 Trend Confirmation
The indicator enables traders to confirm bullish or bearish trends by observing changes in buyer and seller strength. When buyer strength increases and demand surpasses supply, the likelihood of a bullish trend continuation grows. Conversely, decreasing buyer strength and increasing seller strength may signal a potential bearish trend reversal.
🟣 Adjusting Timeframes and Calculation Methods
Users can customize the indicator's candlestick timeframe to align with their trading strategy. Additionally, they can switch between moving average and current candle modes to achieve more precise market analysis.
This indicator, with its accurate and visual data display, is a practical and reliable tool for market analysts and traders. Using it can help traders make better decisions and identify optimal entry and exit points.
🔵 Settings
Lower Time Frame Volume : This setting determines which timeframe the indicator should use to identify the price levels with the highest trade volume. These levels, displayed as black lines on the candlesticks, indicate prices where the most trades occurred.
It is recommended that users align this timeframe with their primary chart’s timeframe.
As a general rule :
If the main chart’s timeframe is low (e.g., 1-minute or 5-minute), it is better to keep this setting at a similarly low timeframe.
As the main chart’s timeframe increases (e.g., daily or weekly), it is advisable to set this parameter to a higher timeframe for more aligned data analysis.
Cumulative Mode :
Current Candle : Strength is calculated only for the current candlestick.
EMA (Exponential Moving Average) : The strength is calculated using an exponential moving average, suitable for identifying longer-term trends.
Calculation Period : The default period for the exponential moving average (EMA) is set to 21. Users can modify this value for more precise analysis based on their specific requirements.
Ultra Data : This option enables users to view more detailed data from various market sources, such as Forex, Crypto, or Stocks. When activated, the indicator aggregates and displays volume data from multiple sources.
🟣 Table Settings
Show Info Table : This option determines whether the information table is displayed on the chart. When enabled, the table appears in a corner of the chart and provides details about the strength of buyers and sellers.
Table Size : Users can adjust the size of the text within the table to improve readability.
Table Position : This setting defines the table’s placement on the chart.
🔵 Conclusion
The indicator introduced in this article is designed as an advanced tool for analyzing supply and demand dynamics in financial markets. By leveraging buyer and seller strength ratios and visually highlighting price levels with the highest trade volume, it aids traders in identifying key market zones.
Key features, such as adjustable analysis timeframes, customizable calculation methods, and precise volume data display, allow users to tailor their analyses to market conditions.
This indicator is invaluable for analyzing support and resistance levels derived from trade volumes, enabling traders to make more accurate decisions about entering or exiting trades.
By utilizing real market data and displaying the highest trade volume lines directly on the chart, it provides a precise perspective on market behavior. These features make it suitable for both novice and professional traders aiming to enhance their analysis and trading strategies.
With this indicator, traders can gain a better understanding of supply and demand dynamics and operate more intelligently in financial markets. By combining volume data with visual analysis, this tool provides a solid foundation for effective decision-making and improved trading performance. Choosing this indicator is a significant step toward refining analysis and achieving success in complex financial markets.
MCX Magic Candle 1.1 with Fibonacci Pivot Points and Day Filterprice action and fibbo level basd stratergy.excellent accuracy and pf.
Relative Strength Indexindicator(title="Relative Strength Index", shorttitle="RSI", format=format.price, precision=2, timeframe="", timeframe_gaps=true)
rsiLengthInput = input.int(14, minval=1, title="RSI Length", group="RSI Settings")
rsiSourceInput = input.source(close, "Source", group="RSI Settings")
calculateDivergence = input.bool(false, title="Calculate Divergence", group="RSI Settings", display = display.data_window, tooltip = "Calculating divergences is needed in order for divergence alerts to fire.")
change = ta.change(rsiSourceInput)
up = ta.rma(math.max(change, 0), rsiLengthInput)
down = ta.rma(-math.min(change, 0), rsiLengthInput)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
rsiPlot = plot(rsi, "RSI", color=#7E57C2)
rsiUpperBand = hline(70, "RSI Upper Band", color=#787B86)
midline = hline(50, "RSI Middle Band", color=color.new(#787B86, 50))
rsiLowerBand = hline(30, "RSI Lower Band", color=#787B86)
fill(rsiUpperBand, rsiLowerBand, color=color.rgb(126, 87, 194, 90), title="RSI Background Fill")
midLinePlot = plot(50, color = na, editable = false, display = display.none)
fill(rsiPlot, midLinePlot, 100, 70, top_color = color.new(color.green, 0), bottom_color = color.new(color.green, 100), title = "Overbought Gradient Fill")
fill(rsiPlot, midLinePlot, 30, 0, top_color = color.new(color.red, 100), bottom_color = color.new(color.red, 0), title = "Oversold Gradient Fill")
// Smoothing MA inputs
GRP = "Moving Average"
TT_BB = "Only applies when 'SMA + Bollinger Bands' is selected. Determines the distance between the SMA and the bands."
maTypeInput = input.string("SMA", "Type", options = , group = GRP, display = display.data_window)
maLengthInput = input.int(14, "Length", group = GRP, display = display.data_window)
bbMultInput = input.float(2.0, "BB StdDev", minval = 0.001, maxval = 50, step = 0.5, tooltip = TT_BB, group = GRP, display = display.data_window)
var enableMA = maTypeInput != "None"
var isBB = maTypeInput == "SMA + Bollinger Bands"
// Smoothing MA Calculation
ma(source, length, MAtype) =>
switch MAtype
"SMA" => ta.sma(source, length)
"SMA + Bollinger Bands" => 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)
// Smoothing MA plots
smoothingMA = enableMA ? ma(rsi, maLengthInput, maTypeInput) : na
smoothingStDev = isBB ? ta.stdev(rsi, maLengthInput) * bbMultInput : na
plot(smoothingMA, "RSI-based MA", color=color.yellow, display = enableMA ? display.all : display.none)
bbUpperBand = plot(smoothingMA + smoothingStDev, title = "Upper Bollinger Band", color=color.green, display = isBB ? display.all : display.none)
bbLowerBand = plot(smoothingMA - smoothingStDev, title = "Lower Bollinger Band", color=color.green, display = isBB ? display.all : display.none)
fill(bbUpperBand, bbLowerBand, color= isBB ? color.new(color.green, 90) : na, title="Bollinger Bands Background Fill", display = isBB ? display.all : display.none)
// Divergence
lookbackRight = 5
lookbackLeft = 5
rangeUpper = 60
rangeLower = 5
bearColor = color.red
bullColor = color.green
textColor = color.white
noneColor = color.new(color.white, 100)
_inRange(bool cond) =>
bars = ta.barssince(cond)
rangeLower <= bars and bars <= rangeUpper
plFound = false
phFound = false
bullCond = false
bearCond = false
rsiLBR = rsi
if calculateDivergence
//------------------------------------------------------------------------------
// Regular Bullish
// rsi: Higher Low
plFound := not na(ta.pivotlow(rsi, lookbackLeft, lookbackRight))
rsiHL = rsiLBR > ta.valuewhen(plFound, rsiLBR, 1) and _inRange(plFound )
// Price: Lower Low
lowLBR = low
priceLL = lowLBR < ta.valuewhen(plFound, lowLBR, 1)
bullCond := priceLL and rsiHL and plFound
//------------------------------------------------------------------------------
// Regular Bearish
// rsi: Lower High
phFound := not na(ta.pivothigh(rsi, lookbackLeft, lookbackRight))
rsiLH = rsiLBR < ta.valuewhen(phFound, rsiLBR, 1) and _inRange(phFound )
// Price: Higher High
highLBR = high
priceHH = highLBR > ta.valuewhen(phFound, highLBR, 1)
bearCond := priceHH and rsiLH and phFound
plot(
plFound ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bullish",
linewidth=2,
color=(bullCond ? bullColor : noneColor),
display = display.pane
)
plotshape(
bullCond ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bullish Label",
text=" Bull ",
style=shape.labelup,
location=location.absolute,
color=bullColor,
textcolor=textColor
)
plot(
phFound ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bearish",
linewidth=2,
color=(bearCond ? bearColor : noneColor),
display = display.pane
)
plotshape(
bearCond ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bearish Label",
text=" Bear ",
style=shape.labeldown,
location=location.absolute,
color=bearColor,
textcolor=textColor
)
alertcondition(bullCond, title='Regular Bullish Divergence', message="Found a new Regular Bullish Divergence, `Pivot Lookback Right` number of bars to the left of the current bar.")
alertcondition(bearCond, title='Regular Bearish Divergence', message='Found a new Regular Bearish Divergence, `Pivot Lookback Right` number of bars to the left of the current bar.')
Bitmo cross
//@version=6
indicator('Bitmo Cross', shorttitle = 'Bitmo CROSS - MM', overlay = true, timeframe = '')
// Bitmo GROUP FOR PUBLIC USE - By : Mohsen Mohammadi
//Moving Average Exponential
len = input.int(21, minval = 1, title = 'EMA')
src = close
out = ta.ema(src, len)
//Moving Average
len2 = input.int(50, minval = 1, title = 'MA 1')
src2 = close
out2 = ta.sma(src2, len2)
//Moving Average
len3 = input.int(100, minval = 1, title = 'MA 2')
src3 = close
out3 = ta.sma(src3, len3)
//Moving Average
//Moving Average
len4 = input.int(200, minval = 1, title = 'MA 2')
src4 = close
out4 = ta.sma(src4, len4)
plot(out, title = 'EMA', color = color.new(color.blue, 0))
plot(out2, color = color.new(color.red, 0), title = 'MA 1')
plot(out3, color = color.new(color.green, 0), title = 'MA 2')
plot(out4, color = color.new(color.purple, 0), title = 'MA 3')
Bollinger Bubble BreakoutThe Bollinger Bubble Breakout (BBB) indicator is a tool for analyzing price movements using Bollinger Bands combined with additional moving averages. It is based on the idea, known as the "Bollinger Bubble Theory," that when a candle closes outside the Bollinger Bands, the price often returns quickly to the 7-period Exponential Moving Average (EMA).
Bollinger Bands are made up of a middle line, which is typically a moving average, and two outer bands that represent standard deviations from this line. These bands help identify when the price is overbought or oversold. The BBB indicator builds on this by adding customizable options for the middle line, allowing the user to choose between different types of moving averages, such as SMA or EMA.
The indicator provides visual signals when the price moves outside the bands. A buy signal appears when the price closes below the lower band, and a sell signal appears when it closes above the upper band. These signals are marked directly on the chart for clarity.
The BBB indicator also includes options to display a 7-period EMA and a 200-period SMA. The EMA shows the short-term reversion level, while the SMA helps identify the overall trend. This combination of tools makes the BBB indicator useful for spotting price reversals and understanding the market's trend context.
This indicator is easy to use and helps traders identify opportunities when price action becomes extreme. It is particularly helpful for those who look for mean reversion setups or want to combine short-term signals with long-term trend analysis.
Buy and Sell Signals & Price Projections## Overview
The Buy and Sell signals is a trend-following trading indicator that uses ATR (Average True Range) for generating buy and sell signals. It includes price projections and risk management features to help traders make informed decisions.
## Key Features
1. ATR-based trend following
2. Price projections for potential targets
3. Support for both long and short positions
4. Risk/Reward calculations
5. Visual stop-loss levels
6. Customizable sensitivity
## Input Parameters
### Strategy Settings
1. **Sensitivity Multiplier** (Default: 1.0)
- Controls how sensitive the indicator is to price movements
- Lower values = more sensitive = more signals
- Higher values = less sensitive = fewer signals
- Recommended range: 0.5 to 2.0
2. **ATR Period** (Default: 10)
- Period for ATR calculation
- Lower values = faster reaction to price changes
- Higher values = more stable signals
- Recommended range: 8 to 14
3. **Use Heikin Ashi** (Default: false)
- When enabled, uses Heikin Ashi candles instead of regular candles
- Can help reduce noise in the signals
- Recommended for higher timeframes
### Visual Settings
1. **Show Price Projections** (Default: true)
- Displays potential price targets based on ATR
- Helps in setting take-profit levels
2. **Target Distance** (Default: 2.0)
- Multiplier for calculating price targets
- Higher values = further price targets
- Recommended range: 1.5 to 3.0
3. **Enable Short Signals** (Default: true)
- Toggles short position signals
- Disable for long-only strategies
4. **Show Stop Lines** (Default: true)
- Displays dynamic stop-loss levels
- Helps in managing trade risk
## Signal Interpretation
### Buy Signals
- Green arrows appear below candles
- Conditions:
1. Price crosses above the trailing stop
2. EMA confirms the movement
3. Risk/Reward ratio meets minimum requirement
### Sell Signals
- Red arrows appear above candles
- Conditions:
1. Price crosses below the trailing stop
2. EMA confirms the movement
3. Risk/Reward ratio meets minimum requirement
### Visual Indicators
- **Green Bars**: Bullish trend
- **Red Bars**: Bearish trend
- **Circles**: Price targets
- **Dashed Lines**: Stop-loss levels
## Recommended Timeframes
- Primary: 4H and Daily
- Secondary: 1H and Weekly
- Not recommended for timeframes below 15 minutes
## Best Practices
### Entry Strategy
1. Wait for signal confirmation (arrow appearance)
2. Check the risk/reward ratio
3. Verify trend alignment with higher timeframe
4. Consider market conditions and volatility
### Stop Loss Placement
1. Use the displayed stop lines as reference
2. Add small buffer (1-2%) for high-volatility assets
3. Consider average daily range when setting stops
### Take Profit Strategy
1. Use projected targets as initial reference
2. Consider trailing stops for strong trends
3. Partial profit-taking at projection levels
## Risk Management
1. Never risk more than 1-2% of account per trade
2. Wait for minimum risk/reward ratio (default 2.0)
3. Use proper position sizing based on stop distance
4. Consider market volatility when entering trades
## Common Settings Adjustments
### For Conservative Trading
- Increase Sensitivity Multiplier to 1.5-2.0
- Increase ATR Period to 14-20
- Increase minimum Risk/Reward ratio to 2.5-3.0
### For Aggressive Trading
- Decrease Sensitivity Multiplier to 0.5-0.8
- Decrease ATR Period to 8-10
- Decrease minimum Risk/Reward ratio to 1.5
## Troubleshooting
### Too Many Signals
- Increase Sensitivity Multiplier
- Increase ATR Period
- Switch to higher timeframe
### Too Few Signals
- Decrease Sensitivity Multiplier
- Decrease ATR Period
- Consider lower timeframe
### False Signals
- Enable Heikin Ashi mode
- Increase Sensitivity Multiplier
- Wait for additional confirmation
## Alerts Setup
1. Configure alerts for "UT Long" and "UT Short"
2. Set appropriate alert conditions:
- Once Per Bar Close
- Once Per Bar
- "Alert on all timeframes" for multiple TF monitoring
## Performance Tips
1. Combine with volume analysis
2. Use with support/resistance levels
3. Consider market structure
4. Monitor higher timeframe trends
50-period SMA and 200-period EMA CrossExplanation of the Code:
SMA and EMA Calculation:
The sma50 variable is calculated using the ta.sma function for a 50-period simple moving average.
The ema200 variable is calculated using the ta.ema function for a 200-period exponential moving average.
Plotting:
The SMA is plotted in blue using the plot function.
The EMA is plotted in orange using the plot function.
Crossover and Crossunder Detection:
The script uses ta.crossover and ta.crossunder to detect when the 50-period SMA crosses above or below the 200-period EMA.
Alert Conditions:
alertcondition is used to create conditions for setting alerts. Alerts will trigger whenever the 50-period SMA crosses above or below the 200-period EMA.
Buy/Sell Labels:
plotshape is used to display labels on the chart whenever the SMA crosses the EMA. A green "BUY" label appears when the SMA crosses above the EMA, and a red "SELL" label appears when the SMA crosses below the EMA.
CryptoCompass_EVENTSIntroducing our innovative TradingView indicator, designed through comprehensive analysis of Bitcoin's halving cycles and market dynamics. Leveraging vital research insights, this tool integrates the historical performance of BTC, ETH, and total market capitalization to create a quantitative automated trading strategy. We enhance this approach with time-tested Fibonacci time and price analysis, along with Elliott Wave techniques and on-chain data, to provide a multi-dimensional view of the market. This indicator highlights critical trends, such as significant price data following each halving, projections for future peaks, and the subtle patterns of diminishing returns. Optimize your trading with a solution built on proven methodologies to navigate Bitcoin's evolving landscape efficiently.
druw Alert Signalindikator ini didesain untuk trend signal jika garis ema sudah cross dan memberikan signal buy dan sell anda boleh melakukan transaksi
Two MA Crossover Spot Strategy with Summary TableIndicator that uses 2 simple moving averages to buy and sell based on momentum (works best in trending markets, worst in stagnant markets). Summary table gives estimated returns.
For alerts, buy when FastMA crosses above the SlowMA and sell when it crosses below upon candle close.
5am Range by Lee5am session high and low marker, can change it to anytime but the team i work with know about this range
Lot Size Calculator for XAUUSDLot Size Calculator for XAUUSD – Professional Risk Management Tool
Descripción:
Este script está diseñado específicamente para traders que operan en XAUUSD (oro frente al dólar estadounidense) y buscan gestionar su riesgo de manera profesional y eficiente. Con una interfaz visual mejorada y cálculos precisos, esta herramienta te permitirá determinar el tamaño ideal de tu lote en función de tu balance, porcentaje de riesgo y Stop Loss.
Características principales:
1. Cálculo automático del tamaño del lote:
Basado en tu balance, porcentaje de riesgo y Stop Loss en pips.
2. Interfaz profesional:
• Una tabla elegante que muestra:
• Balance de la cuenta.
• Monto en riesgo (USD).
• Tamaño del lote calculado.
• Etiqueta flotante en el gráfico para una visualización rápida.
3. Totalmente personalizable:
• Ajusta parámetros como el balance, porcentaje de riesgo y tamaño del Stop Loss directamente desde el panel de inputs.
4. Optimización para XAUUSD:
Aunque está diseñado específicamente para oro (XAUUSD), puede adaptarse a otros instrumentos ajustando el valor por pip.
5. Fácil de usar:
Configúralo en segundos y obtén resultados en tiempo real.
¿Cómo usar este script?
1. Ingresa tu balance total en USD.
2. Define el porcentaje de riesgo que deseas asumir por operación.
3. Establece el tamaño de tu Stop Loss en pips.
4. Ajusta el valor por pip si operas tamaños de lote distintos al estándar (1 lote = $10 por pip).
5. El script calculará automáticamente el tamaño ideal del lote y lo mostrará en una tabla profesional y en una etiqueta flotante en tu gráfico.
Ideal para:
• Traders principiantes que buscan controlar su riesgo de forma estructurada.
• Traders avanzados que operan con estrategias en XAUUSD.
• Cualquier persona que desee una herramienta de cálculo de lotaje rápida y eficiente directamente en TradingView.
Notas:
• El valor por pip predeterminado es 10 USD por pip para 1 lote estándar. Ajusta este valor si operas tamaños de lote diferentes.
• Funciona mejor en gráficos de XAUUSD, pero puedes adaptarlo a otros instrumentos cambiando el valor por pip.
¡Optimiza tu gestión de riesgo y mejora tus resultados operativos con este script profesional!
[blackcat] L2 Six Round Positioning█ OVERVIEW
The script is an indicator designed to plot the direction (up, down, no change) of several moving averages (MA) on a separate chart, without overlaying the price data. It calculates Simple Moving Averages (SMA) for 3, 5, 8, 34, 60, 120, and 250 periods and uses conditional logic to determine the color and position of the plotted columns based on whether each MA is increasing, decreasing, or unchanged.
█ LOGICAL FRAMEWORK
The script is structured into three main sections:
1 — Input Parameters: None explicitly defined, but the script uses default settings for the indicator function.
2 — Calculations: Computes Simple Moving Averages (SMA) for seven different periods.
3 — Plotting: Uses conditional logic to plot columns representing the direction of each MA, with positions and colors indicating whether the MA is increasing, decreasing, or unchanged.
The flow of data is straightforward: the script calculates the SMAs, determines their direction, sets the appropriate color, and then plots the columns.
█ CUSTOM FUNCTIONS
• No custom functions are defined in this script. All calculations and plotting are done using built-in Pine Script functions such as ta.sma for SMA calculation and plot for plotting.
█ KEY POINTS AND TECHNIQUES
• Use of ta.sma: The script effectively uses the ta.sma function to calculate Simple Moving Averages for different periods.
• Conditional Logic: The script employs conditional logic (ternary operators) to determine the color and position of the plotted columns based on the direction of each MA.
• Plotting with plot: The plot function is used extensively to display the direction of each MA with different colors and positions.
• Color Transparency: The use of color.new with transparency (e.g., color.new(color.green, 50)) allows for visually distinct colors that are not too overpowering.
█ EXTENDED KNOWLEDGE AND APPLICATIONS
• Modifications: The script could be enhanced by adding input parameters to allow users to customize the periods of the moving averages, colors, and transparency levels.
• Extensions: Similar techniques could be applied to other types of moving averages (e.g., EMA, WMA) or to other technical indicators.
• Strategy Development: This indicator could serve as a component in a larger trading strategy by providing insights into the overall trend direction across multiple timeframes.
• Related Concepts: Understanding of moving averages, conditional logic, and plotting techniques in Pine Script would be beneficial for further development and customization of this script.
Gann & Fibonacci Strategy with IchimokuThis Pine Script implements a comprehensive trading strategy that combines Gann Square levels, Fibonacci retracements, and the Ichimoku Cloud to generate buy and sell signals for trading stocks and cryptocurrencies.
Key features include:
Dynamic Support and Resistance: Utilizes Gann and Fibonacci levels to identify critical price zones for potential reversals or breakouts.
Trend Confirmation: Ensures buy signals only occur when the price is above or breaking through the Ichimoku Cloud, indicating bullish momentum.
Risk Management: Incorporates ATR-based stop-loss and reward-to-risk-based take-profit levels for precise trade management.
Multi-Timeframe Analysis: Allows toggling between daily and weekly timeframes for flexible strategy application.
Signal Alerts: Provides visual buy/sell signals and alerts to facilitate timely trading decisions.
This strategy is adaptable for scalping, day trading, and swing trading, depending on the selected timeframe.