inwCoin ATR Grid Strategy ( incomplete )Due to Pine Script limitation that we cannot open both short and long order at the same time. So this GRID idea cannot backtest yet.
This strategy is for using with CTC Okex Bot grid system only.
The idea is to check how wide the grid with ATR so you can setup each grid size in CTC Bot every day ( or cut loss some grid accordingly )
"bot"に関するスクリプトを検索
WARB STARD [v0.5] -- BACKTESTER
WARB*STARD is a more HTF bot script that operates best on the H4 time frame.
Like my other bots, it uses a very very simple technique; just a pair of moving averages... (that's all you need folks). Keeping it simple is almost always the best approach and I feel leans toward more favourable performance, going forward into the unknown. After all, backtests are hypothetical.
Features include
* separate long/short settings (I feel this is justified in e.g. growth markets)
* internally use heikin ashi candles (TV's backtester uses the wrong open/close price for HA)
* multi-exchange weighted price for BTCUSD
* generates take profit warnings
Will update this backtest page when necessary and create a separate published script for signals.
inwCoin HMA AlertSimple alert to go along with the inwCoin HMA Strategy
Please not that the alerts are persistent 2.70% , if you already enter the position,
just ignore the rest of the same alert until the opposite alert show up
( long then short / or short then long , if change, just close and enter opposite position )
You can set the alert and let it tell you to iOS app via TradingView app ( yey! )
Please note that, if you don't have bot to track your trailing start/stop. you have to enter the TP/SL manually ( also tracking the position )
So... be careful to follow this alert. just try it with small amount of money first.
and make sure to set stop loss every time because OKEX is a portfolio killer if you don't have any stop loss.
** if you cannot trailing stop bot, just uncheck the "Aggressive Strategy" in both strategy and alert to reduce alert to minimum level.
Hull_TSI Strategy v3True Strength Index, but Exponential Moving Average taken out and replaced with Hull Moving Average
this version uses 3 Hull MA's as well as the TSI value crossovers above or below the upper/lower lines
This version is the closest to the API bot featured at gekkoplus.com
Hull_TSI bot is competing in the competition
" Gekko Plus is hosting a strategy contest. Submit the best performing Gekko strategy and win 0.1 BTC! "
15 Nov 2018: Strategy contest start
10 Dec 2018: Strategy contest end
12 Dec 2018: Contest evaluation, announcement of winners!
Most Profitable HelloEpicWorld v2.0[Eric] This is the most profitable un-repaint fully support auto trading Algo on earth.
Usage:
Buy and Sell && Stop Loss
1. When it shows buy, you can buy it immediately or wait for a small dump to buy it, stop loss at the red cross below.(Both buy and stop signal support alert autoview bots auto trading)
2. When it shows sell, you can sell it immediately or wait for a small pump to sell it, stop loss at the green cross above.(Both buy and stop signal support alert autoview bots auto trading)
Background Color:
It can be turn on and off in the settings. When it is green, you have a 78% probability to get a win trade on buying the pullback. And a 73% probability to get a win trade on selling the pullback when it's red. So, even missed the buy and sell signal, you can still open a trade in the middle, but I don't recommend this kind of trades, it's no good for Risk/Reward ratio. The best ratio is when the signal show up. Background color is more suitable using to hold your trades after entering.
Forex:
Bitcoin:
Altcoin:
MarketSpeed:
RSIC:
3 HULLs & ICHIMOKU divided by PRICEBasically just another form of moving average, for quick swings, built for testing/use with API cryptobots, simple switch from buy to sell.
Hull MA(2 candles back) times 3 plus Ichimoku divided by price(1 candle back) = value1
Hull MA(3 candles back) times 3 plus Ichimoku divided by price(1 candle back) = value2
if value1>value2 then buy else sell
calculates price from 1 candle back, and calculates signal from 2nd and 3rd candle prices, so no repainting? so best on low timeframes.
for when use in bot, would not need 1 candle lag. Lag is for TV chartists to not have to suffer repainting.
Bots do not repaint. they are not "painting" anything, they simply open or close orders, which cannot be "repainted"
but here on TV chart, when you refresh the browser page, the script recalculates, and signals may be repainted.
hopefully this will not repaint. please test. thankyou
MACs EasyMoney - LongTermSignalsIntroducing " MACs EasyMoney - LongTermSignals " Indicator. Specially designed for weekly and 1 Month duration charts . Picks the calls perfectly :)
Latest other updates:
BOT Trading Integration is completed for the following indicators,
1) MACs EasyMoney - Swing Trade Signals
2) MACs EasyMoney - Scalp Trade Signals
Strategy Test Report for the BOT script shows the following results,
* Profitable Percent = 99.42%
* Profitable Factor = 93.76
Thanks,
Mac.
ShroomDaddy's Trend Detector Indicator (Free to use)This indicator shows you the trend of the coin or stock of your choice. It works on all time frames and could be used as a secondary indicator while swing or longer term trading. My goal is to add it to strategies or bots to stop them from trading in the red.
To use this, add it to your favorites and then go to any chart to use it like a regular indicator. If you enjoyed this, like and leave some feedback. If you wanna talk about scripting and bots, join me in my discord: discord.gg
Pharoceus PT-V2 CryptoScalper RSI+BB+SRSI+Stochastic IndicatorThis is the updated Version of the ProfitTrailerV2 RSI+BB+StochRSI+Stochastic Oscillator Signal+Alerts
Description
This is an all-in-one indicator with alerts that most people call signals and it's designed for Cryptocurrency leverage trading. This indicator features, the most popularly used indicators in technical analysis and are the basic technical analysis indicators any successful trader should master before going into more advance technical analysis tools. The Pharoceus ProfitTrailerV2 CryptoScalper RSI+BB+SRSI+Stochastic Oscillator Signal+Alerts features the Bollinger Bands, Relative Strength Index, Stochastic RSI and Stochastic Oscillator, and it was designed for use with Pharoceus ProfitTrailerV2 CryptoScalper and can also be used with all other trading bots or on its own as a powerful market leveraging and trading indicator using alerts.
The ProfitTrailerV2 RSI+BB+SRSI+Stochastic Oscillator Signal+Alerts can be customized to any trader specific trading patterns and offers the ability to choose a combination of indicators from the featured ones to use. With the Buy and Sell Signal feature, trading on any cryptocurrency exchange can be automated and with the alerts feature, the Pharoceus ProfitTrailerV2 CryptoScalper RSI+BB+SRSI+Stochastic Oscillator Signal+Alerts will automated buying and selling signals for any crypto trading bot but I'll always recommend using for making buys only when using with any bot. This indicator/script can be used with any base pair; BTC, ETH, and USD or USDT.
As mentioned above, all four indicators can be combined to find a very safe and secure buy and profitable sell signals, which maximizes your profit margins and overall earnings over time. Also, 2 or 3 could be combined as well, depending on the traders knowledge on how to use each indicator independently to find its best settings. My recommendation would be to test all independently and or together with very little capital to find what works best for you. I recommend this because the cryptocurrency market in a very volatile market and unpredictable, some combination of indicators would work for some certain coin pairs and not all, while others would work better with a different setting and a particular coin pair.
As with all script use at your own risk and only trade what you can afford to lose, while this indicator isn't designed to lose you money and I will not be held liable for any losses due to misuse. I am also not a financial advisor and the ProfitTrailerV2 RSI+BB+SRSI+Stochastic Oscillator Signal+Alerts will be made available soon as it's still undergoing rigorous testing and it's in no way and manner affiliated with any group of individuals or bot.
Trade Smart and with only what you can afford. Donations are also welcome to encourage my work, This is a totally free to use script to help traders, small time or big time that works towards making the indicator sharing world accessible to all who will not definitely be ripped-off and support a community of sharing.
discord.gg
BTC: 199qMzu4gvr3bUXWEpLG5uS6TEKKvw5pbe
ETH: 0xf8339952a224a228f2f8c58a5666a8ffleddebfb
BCH: qqmmds8u3f8m6ek387jtefg07525dvaxzqrshd86gz
Ichimoku Cloud Strategy for CryptoVersion 1.0
This strategy uses the Ichimoku Cloud indicators and is based on a bot i developed. The bot has more entry/exit rules which will hopefully be added in the near future.
Still a profitable strategy even in it's simplest form.
Do not run this strategy on a timeframe < 1h, best timeframe will be 4h
Happy Trading!!
If you find this strategy useful, please consider a donation to:
BTC: 1PGuWcQwb4WZyFYX4ehyqcJWcbX42jW7Y6
ETH: 0x912aD30Ff9A49c69D51ECeE5A65A7E7d5321ED0C
ProfitTrailerV2 RSI+BB+SRSI+Stochastic Oscillator Signal+AlertsThis is an all-in-one indicator with alerts that most people call signals and it's designed for Cryptocurrency leverage trading. This indicator features, the most popularly used indicators in technical analysis and are the basic technical analysis indicators any successful trader should master before going into more advanced technical analysis tool. The ProfitTrailerV2 RSI+BB+SRSI+Stochastic Oscillator Signal+Alerts features the Bollinger Bands, Relative Strength Index, Stochastic RSI and Stochastic Oscillator, and it was designed for use with ProfitTrailer V2 and can also be used with all other trading bots or on its own as a powerful market leveraging and trading indicator using alerts.
The ProfitTrailerV2 RSI+BB+SRSI+Stochastic Oscillator Signal+Alerts can be customized to any trader specific trading patterns and offers the ability to choose a combination of indicators from the featured ones to use. With the Buy and Sell Signal feature, trading on any cryptocurrency exchange can be automated and with the alerts feature, the ProfitTrailerV2 RSI+BB+SRSI+Stochastic Oscillator Signal+Alerts will automated buying and selling signals for any crypto trading bot but I'll always recommend using for making buys only when using with any bot. This indicator/script can be used with any base pair; BTC, ETH, and USD or USDT.
As mentioned above, all four indicators can be combined to find a very safe and secure buy and profitable sell signals, which maximizes your profit margins and overall earnings over time. Also, 2 or 3 could be combined as well, depending on the traders knowledge on how to use each indicator independently to find its best settings. My recommendation would be to test all independently and or together with very little capital to find what works best for you. I recommend this because the cryptocurrency market in a very volatile market and unpredictable, some combination of indicators would work for some certain coin pairs and not all, while others would work better with a different setting and a particular coin pair.
As with all script use at your own risk and only trade what you can afford to lose, while this indicator isn't designed to lose you money and I will not be held liable for any losses due to misuse. I am also not a financial advisor and the ProfitTrailerV2 RSI+BB+SRSI+Stochastic Oscillator Signal+Alerts will be made available soon as it's still undergoing rigorous testing.
CMYK RMI TRIPLE Automated strategy▼ This is the strategy version of the script.
◊ Introduction
This script makes use of three RMI 's, that indicate Overbought/Oversold on different timescales that correspond with Frequency’s that move the market.
◊ Origin
The Relative Momentum Index was developed by Roger Altman and was introduced in his article in the February, 1993 issue of Technical Analysis of Stocks & Commodities magazine.
While RSI counts up and down ticks from close to close, the Relative Momentum Index counts up and down ticks from the close relative to a close x number of days ago.
This results in an RSI that is smoother, and has another setting for fine tuning results.
This bot originated out of Project XIAM , an investigative script that outlined my approach towards Automated Trading Strategies.
Are you interested in writing bots yourself ? check out the beta version of this script.
It has many bugs, but also most of the Skeleton.
◊ Usage
This script is intended for Automated Trading with AUTOVIEW or TVAUTOTRADER , on the 1 minute chart.
◊ Features Summary
Overlay Mode
Indicator Mode
Three RMI's
Trend adjustment
Pyramiding
Ignore first entries
Take Profit
Stop Loss
Interval between Entries
Multiring Fix
Alert signal Seperation
◊ Community
Wanna try this script out ? need help resolving a problem ?
CMYK :: discord.gg
AUTOVIEW :: discordapp.com
TRADINGVIEW UNOFFICIAL :: discord.gg
◊ Setting up Autoview Alerts
Use the study version of this script, To set up The Alerts Autoview Picks up on.
The Signals to work with are :
Open 1 Long
Use this to open one Long Position.
With quantity being : /
Once per bar
Being larger than 0
Comment example : e=exchange b=long q=amount t=market
Open 1 Short
Use this to open one Short Position.
With quantity being : /
Once per bar
Being larger than 0
Comment example : e=exchange b=short q=amount t=market
Close1 Position
Use this to Close The amount of one Open Position.
With quantity* being : /
Once per bar
Being larger than 0
Comment example : e=exchange c=position q=amount t=market
*Beware when using a percental % quantity, instead of an absolute quantity.
Percental Quantities are based on the , Not
And will change in absolute value relative to the amount of open trades.
Close All positions
Use this to Close All Open Positions.
With quantity being :
Once per bar
Being larger than 0
Comment example : e=exchange c=position t=market
For the specific Syntax used in the comment of the alert, visit Autoview .
◊ Setting up TVAutotrader
Use the strategy version of this script, And load it into TVAT .
◊ Backtesting
Use the strategy version of this script for backtesting.
◊ Contact
Wanna try this script out ? need help resolving a problem ?
CMYK :: discord.gg
PT Magic Triggers So its me again. I have decided to create Trend Trigger Script for PT Magic addon for a trading bot Profit Trailer. If you do not own this bot and Addon the following explanation will not help you.
For each Trend you define number of minutes and it then calculates the percentage change between the close price now and X candles before.
Same calculation is for all 6 Triggers i beleive that is all you need :)
Hope it helps you all.
LTC: LYHj4WDN7BPu5294cSpqK3SgWSWdDX56Qt
BTC: 1NPVzeDSsenaCS9QdPro877hkMk93nRLcD
MACD, backtest 2015+ only, cut in half and doubledThis is only a slight modification to the existing "MACD Strategy" strategy plugin!
found the default MACD strategy to be lacking, although impressive for its simplicity. I added "year>2014" to the IF buy/sell conditions so it will only backtest from 2015 and beyond ** .
I also had a problem with the standard MACD trading late, per se. To that end I modified the inputs for fast/slow/signal to double. Example: my defaults are 10, 21, 10 so I put 20, 42, 20 in. This has the effect of making a 30min interval the same as 1 hour at 10,21,10. So if you want to backtest at 4hr, you would set your time interval to 2hr on the main chart. This is a handy way to make shorter time periods more useful even regardless of strategy/testing, since you can view 15min with alot less noise but a better response.
Used on BTCCNY OKcoin, with the chart set at 45 min (so really 90min in the strategy) this gave me a percent profitable of 42% and a profit factor of 1.998 on 189 trades.
Personally, I like to set the length/signals to 30,63,30. Meaning you need to triple the time, it allows for much better use of shorter time periods and the backtests are remarkably profitable. (i.e. 15min chart view = 45min on script, 30min= 1.5hr on script)
** If you want more specific time periods you need to try plugging in different bar values: replace "year" with "n" and "2014" with "5500". The bars are based on unix time I believe so you will need to play around with the number for n, with n being the numbers of bars.
Asset Corr. with BTC/USD (Macroeconomics X BTC/USD) by NorraxScript Overview
This TradingView script, titled "Asset Correlation with BTC/USD (Macroeconomics X BTC)", calculates and displays the correlation between various macroeconomic indicators and Bitcoin (BTC/USD) price movements, as well as their impacts on Bitcoin's price direction. The script is designed to analyze and visualize the influence of different assets on Bitcoin in a tabular format.
Key Features:
Assets Monitored: The script tracks the price variations of five key assets:
DXY: U.S. Dollar Index (a measure of the value of the U.S. dollar against a basket of foreign currencies).
XAUUSD: Gold price (in USD).
SP500: The S&P 500 index (a stock market index representing 500 large companies in the U.S.).
US10Y: U.S. 10-year Treasury bond yield (a key indicator of government bond market performance).
USDT.D: USDT Dominance (the percentage dominance of Tether (USDT) in the cryptocurrency market).
Percentage Variation Calculation:
The script calculates the 24-hour percentage variation for each asset by comparing the previous day's closing price with the current price.
The variation is used to understand the relative price movement of each asset over a 24-hour period.
Direction Calculation:
Based on the variation, the direction of the asset's movement is determined:
Up (⬆️): If the asset's price is increasing.
Down (⬇️): If the asset's price is decreasing.
Neutral (—): If there is no significant change in the price.
Weighting Scheme:
Each asset is assigned a weight (importance) in the analysis:
DXY: Weight 3
XAUUSD: Weight 2
SP500: Weight 2
US10Y: Weight 3
USDT Dominance: Weight 3
These weights are used to calculate the dominance (overall influence) of these assets on Bitcoin's price movement.
BTC Price Impact:
The BTC Price Impact for each asset is calculated based on its directional movement and its correlation with Bitcoin. This is represented by arrows indicating the impact:
⬆️: Positive impact (asset movement aligns with an increase in Bitcoin price).
⬇️: Negative impact (asset movement aligns with a decrease in Bitcoin price).
Dominance Calculation:
The dominance result is a sum of the weighted correlations and directions for all assets. It represents the overall influence of the assets on Bitcoin's price:
⬆️: Dominance is positive (overall macroeconomic conditions or market trends are aligned with a rising Bitcoin price).
⬇️: Dominance is negative (overall market conditions suggest a falling Bitcoin price).
—: No significant dominance (market conditions are neutral or unclear).
Table Visualization:
The script creates a table at the top of the chart that displays the following columns:
Asset: Name of the asset being analyzed.
Wgt: Weight of the asset (its influence on the analysis).
Dir: Direction of the asset (⬆️, ⬇️, or —).
Var %: The percentage variation of the asset's price over the last 24 hours.
BTC Impact: The direction of the asset's impact on Bitcoin price (⬆️ or ⬇️).
Additionally, the Dominance row is displayed at the bottom of the table, showing the overall weighted dominance of these assets on Bitcoin's price, with an arrow indicating the direction.
Summary
This script helps traders and analysts by visualizing the relationship between key macroeconomic assets and Bitcoin's price movement. It calculates the variations, directions, and impacts of these assets, and uses a weighted system to determine their overall influence on Bitcoin. The table format provides an easy-to-read overview of how these assets are behaving in relation to Bitcoin, allowing for more informed decision-making.
This setup is especially useful for those looking to monitor how traditional market indicators (like gold, the S&P 500, and the US Dollar Index) correlate with Bitcoin's price action and potentially predict Bitcoin's movement based on these correlations.
(NOTE)
For better visualization of the table, after adding it to the chart, right-click on it >> Visual Order >> Bring to Front.
-----
Portugues >>
Este script do TradingView, intitulado "Asset Correlation with BTC/USD (Macroeconomics X BTC)", calcula e exibe a correlação entre vários indicadores macroeconômicos e os movimentos do preço do Bitcoin (BTC/USD), bem como seus impactos na direção do preço do Bitcoin. O script foi projetado para analisar e visualizar a influência de diferentes ativos no Bitcoin em um formato tabular.
Principais Características:
Ativos Monitorados: O script acompanha as variações de preço de cinco ativos-chave:
DXY: Índice do Dólar dos EUA (uma medida do valor do dólar dos EUA em relação a uma cesta de moedas estrangeiras).
XAUUSD: Preço do ouro (em USD).
SP500: O índice S&P 500 (um índice do mercado de ações que representa 500 grandes empresas dos EUA).
US10Y: Rendimento dos títulos do Tesouro dos EUA de 10 anos (um indicador chave do desempenho do mercado de títulos governamentais).
USDT.D: Dominância do USDT (percentual de dominância do Tether (USDT) no mercado de criptomoedas).
Cálculo da Variação Percentual:
O script calcula a variação percentual de 24 horas para cada ativo, comparando o preço de fechamento do dia anterior com o preço atual.
A variação é usada para entender o movimento relativo de preço de cada ativo ao longo de um período de 24 horas.
Cálculo da Direção:
Com base na variação, a direção do movimento do ativo é determinada:
Cima (⬆️): Se o preço do ativo está subindo.
Baixo (⬇️): Se o preço do ativo está caindo.
Neutro (—): Se não houver uma mudança significativa no preço.
Sistema de Pesos:
Cada ativo recebe um peso (importância) na análise:
DXY: Peso 3
XAUUSD: Peso 2
SP500: Peso 2
US10Y: Peso 3
USDT Dominance: Peso 3
Esses pesos são usados para calcular o domínio (influência geral) desses ativos sobre o movimento do preço do Bitcoin.
Impacto no Preço do BTC:
O Impacto no Preço do BTC de cada ativo é calculado com base no seu movimento direcional e na sua correlação com o Bitcoin. Isso é representado por setas indicando o impacto:
⬆️: Impacto positivo (o movimento do ativo está alinhado com um aumento no preço do Bitcoin).
⬇️: Impacto negativo (o movimento do ativo está alinhado com uma queda no preço do Bitcoin).
Cálculo do Dominância:
O resultado da dominância é uma soma das correlações ponderadas e direções de todos os ativos. Ele representa a influência geral desses ativos no preço do Bitcoin:
⬆️: A dominância é positiva (as condições macroeconômicas ou tendências de mercado estão alinhadas com um aumento no preço do Bitcoin).
⬇️: A dominância é negativa (as condições de mercado sugerem uma queda no preço do Bitcoin).
—: Sem dominância significativa (as condições de mercado são neutras ou indefinidas).
Visualização em Tabela:
O script cria uma tabela no topo do gráfico que exibe as seguintes colunas:
Ativo: Nome do ativo sendo analisado.
Peso: Peso do ativo (sua influência na análise).
Direção: Direção do ativo (⬆️, ⬇️ ou —).
Variação %: A variação percentual do preço do ativo nas últimas 24 horas.
Impacto BTC: A direção do impacto do ativo no preço do Bitcoin (⬆️ ou ⬇️).
Além disso, a linha de Dominância é exibida na parte inferior da tabela, mostrando o resultado geral ponderado da dominância desses ativos sobre o preço do Bitcoin, com uma seta indicando a direção.
Resumo
Este script ajuda traders e analistas a visualizar a relação entre ativos macroeconômicos chave e os movimentos do preço do Bitcoin. Ele calcula as variações, direções e impactos desses ativos e usa um sistema ponderado para determinar sua influência geral sobre o Bitcoin. O formato da tabela fornece uma visão geral fácil de ler de como esses ativos estão se comportando em relação ao Bitcoin, permitindo decisões mais informadas.
Essa configuração é especialmente útil para aqueles que desejam monitorar como os indicadores tradicionais de mercado (como o ouro, o índice S&P 500 e o Índice do Dólar dos EUA) se correlacionam com o preço do Bitcoin e, possivelmente, prever os movimentos do Bitcoin com base nessas correlações.
(OBS)
Para melhor visualização da tabela, depois de adicioná-la ao gráfico, clique com o botão direito em cima >> ordem visual >> trazer para o topo.
Signal Tester [Cometreon]Signal Tester is a powerful tool that allows you to analyze and visualize up to 100 historical positions directly on the TradingView chart. This indicator is ideal for quickly testing the effectiveness of trading signals from various sources.
Key Features:
Graphical visualization of entry and exit signals
Support for analysis on different timeframes
Ability to test signals from bots, groups, or personal strategies
Technical Details and Customizable Inputs:
Position Selection : Choose up to 100 recent positions, both long and short, to display signals directly on the chart.
Data Entry : Easily select the date and position type (long/short) in the settings.
How to Use the Indicator:
Enter entry and exit signals in the indicator settings.
Analyze the results directly on the chart.
Add the generated signals to the Strategy Tester to verify their effectiveness.
Start testing your trading signals now with TradeLab Beta's Signal Tester access this powerful tool and take your market analysis to the next level!
Don't waste any more time and visit the link to get access to all Cometreon indicators.
Asset Correlation with XAU/USD (Macroeconomics X Gold) by NorraxThis TradingView Pine Script, titled "Assets Correlation with XAU/USD (Macroeconomics X Gold)," creates a visual representation of how specific assets are correlated with XAU/USD (gold priced in U.S. dollars). The script monitors the daily directional influence of six financial assets: DXY (U.S. Dollar Index), SP500 (S&P 500), US10Y (10-Year Treasury Yield), USOIL (U.S. Oil), USDJPY (U.S. Dollar/Japanese Yen), and AUDUSD (Australian Dollar/U.S. Dollar). Each asset is given a specific "weight" to indicate its influence on XAU/USD.
For each asset, the script shows:
Weight: The relative importance of the asset in the correlation.
Direction: Displays an up or down arrow based on the asset's 24-hour movement.
Variation (%): The 24-hour percentage price change for the asset.
Impact on Price: Reflects each asset's impact on XAU/USD, based on its defined correlation. Up arrows indicate a bullish influence, while down arrows represent a bearish influence on gold's price.
The "Dominance" row calculates the overall directional influence on XAU/USD, based on the weighted sum of the directional values of each asset. If the dominance result is positive, it implies an upward trend for XAU/USD; if negative, a downward trend; if neutral, no dominant trend.
This tool is ideal for traders seeking to assess the macroeconomic influence on gold prices and to make more informed trading decisions based on broader market dynamics.
(Note) To improve the visibility of the table, after adding it to the chart, right-click on it >> visual order >> bring to front
--
Descrição em Português:
"Correlação dos Ativos com XAU/USD (Macroeconomia X Gold)"
Este script Pine do TradingView, intitulado "Correlação dos Ativos com XAU/USD (Macroeconomia X Gold)", cria uma representação visual de como determinados ativos se correlacionam com o XAU/USD (ouro cotado em dólares americanos). O script monitora a influência direcional diária de seis ativos financeiros: DXY (Índice do Dólar Americano), SP500 (S&P 500), US10Y (Rendimento do Tesouro de 10 Anos), USOIL (Petróleo dos EUA), USDJPY (Dólar Americano/Iene Japonês) e AUDUSD (Dólar Australiano/Dólar Americano). Cada ativo recebe um "peso" específico para indicar sua influência no XAU/USD.
Para cada ativo, o script exibe:
Peso: Importância relativa do ativo na correlação.
Direção: Mostra a seta para cima ou para baixo, conforme o movimento de 24 horas do ativo.
Variação (%): Diferença percentual do preço do ativo nas últimas 24 horas.
Impacto no Preço: Reflete como cada ativo impacta o XAU/USD, com base na sua correlação definida. Setas para cima indicam uma influência de alta e setas para baixo, uma influência de baixa sobre o preço do ouro.
A linha "Dominância" calcula a influência direcional geral sobre o XAU/USD, com base na soma ponderada dos valores direcionais de cada ativo. Se o resultado da dominância for positivo, implica uma tendência de alta para o XAU/USD; se for negativo, uma tendência de baixa; se for neutro, nenhuma tendência dominante.
ólar Americano). Cada ativo recebe um "peso" específico para indicar sua influência no XAU/USD.
a ponderada dos valores direcionais de cada ativo. Se o resultado da dominância for positivo, implica uma tendência de alta para o XAU/USD; se for negativo, uma tendência de baixa; se for neutro, nenhuma tendência dominante.
Este é um recurso ideal para traders que desejam avaliar a influência macroeconômica sobre os preços do ouro e tomar decisões de negociação mais informadas com base na dinâmica mais ampla do mercado.
(OBS) Para melhorar a visibilidade da tabela, depois de adicioná-la ao gráfico, clique com o botão direito em cima >> ordem visual >> trazer para o topo.
NNFX RSI EMA FVMA MACD ALGOThis Pine Script introduces a cutting-edge trading strategy that seamlessly integrates multiple technical indicators—namely, the Flexible Variable Moving Average ( FVMA ), Relative Strength Index ( RSI ), Moving Average Convergence Divergence ( MACD ), and Exponential Moving Average ( EMA )—to deliver a sophisticated trading experience. This script stands out due to its comprehensive approach, robust risk management, and the inclusion of crucial data tables for various timeframes, making it an invaluable tool for traders seeking to enhance their market performance.
Originality of the Strategy:
The originality of this script lies in its unique combination of multiple powerful indicators, enabling traders to benefit from diverse perspectives on market dynamics. This mashup enhances decision-making processes, providing multiple layers of confirmation for trade entries and exits. The strategy is designed to offer an innovative solution for traders looking to improve their performance through well-defined rules and a solid framework.
Flexible Variable Moving Average (FVMA):
The FVMA adapts dynamically to market conditions, offering a more responsive trend line than traditional moving averages. This flexibility allows for quick identification of trends and reversals, crucial for fast-paced trading environments.
Exponential Moving Average (EMA):
By giving greater weight to recent price data, the EMA enhances sensitivity to price changes, allowing for more accurate entries and exits when used alongside the FVMA. This combination maximizes the effectiveness of the strategy in identifying optimal trading opportunities.
Relative Strength Index (RSI):
The RSI helps identify overbought or oversold conditions, integrating seamlessly with other indicators to enhance the strategy's ability to pinpoint potential reversal points. This aspect of the strategy ensures that traders can make informed decisions based on market momentum.
Moving Average Convergence Divergence (MACD):
The MACD serves as an essential confirmation tool, providing insights into trend strength and momentum. This enhances the accuracy of entry and exit signals, allowing traders to make more informed decisions based on robust technical analysis.
Multi-Take Profit (TP) and Stop Loss (SL) Levels:
The strategy supports multiple TPs, allowing traders to lock in profits at various levels while effectively managing risk through a robust SL system. This flexibility caters to diverse trading styles and risk profiles, ensuring that the strategy can adapt to individual trader needs.
Default Properties:
Take Profit Levels: TP1 is set to 2.0, and TP2 is set to 2.9, which is designed to enhance profit potential while maintaining a solid risk-reward ratio.
Stop Loss: A SL is set at 2% of the 5% account balance, which helps to preserve capital and manage risk effectively, adhering to the guideline of not risking more than 5-10% of the account balance per trade.
Labeling System for Exits: Automatic labeling of TP and SL exits on the chart provides clear visualization of trading outcomes. This feature supports informed decision-making and performance tracking, aligning with the guideline of providing transparent results.
Custom Alerts System:
The inclusion of customizable alerts for trade entries, exits, and SL/TP hits keeps traders informed in real-time, enabling prompt actions without constant market monitoring. This is crucial for effective trade management and helps traders respond quickly to market changes.
API Boxes for Automated Trading:
The strategy features API boxes, allowing traders to set up automated trading based on indicator signals. This functionality enables seamless integration with trading platforms, enhancing efficiency and streamlining the trading process, which is particularly valuable for traders looking to optimize their execution.
Data Tables for Enhanced Analysis:
The script includes data tables displaying critical insights across various timeframes: 2-hour, daily, weekly, and monthly. These tables provide a comprehensive overview of market conditions, allowing traders to analyze trends and make informed decisions based on a broad spectrum of data. By leveraging this information, traders can identify high-probability setups and align their strategies with prevailing market trends, significantly increasing their chances of success.
Default Properties:
Initial Capital: £1,000, ensuring a realistic starting point for traders.
Risk per Trade: 5% of the account balance, promoting sustainable trading practices.
Commission: 0.1%, reflecting realistic transaction costs that traders may encounter.
Slippage: 1%, accounting for potential market volatility during trade execution.
Take Profit Levels:
TP1: 2.0
TP2: 2.9
Stop Loss (SL): 2% of the 5% account balance, which is well within acceptable risk parameters.
Compliance with TradingView Guidelines:
This script fully complies with TradingView's guidelines, specifically:
Strategy Results:
The strategy is designed to publish backtesting results that do not mislead traders. The realistic parameters outlined in the default properties ensure that traders have a clear understanding of potential outcomes.
The dataset used for backtesting has sufficient trades to produce a reliable sample size, aligning with the guideline of ideally having more than 100 trades.
Any deviations from recommended practices are justified in the script description, ensuring transparency and adherence to best practices.
The script explains the default properties in detail, providing a thorough understanding of how these settings influence performance.
Why This Script is Worth Paying For:
This Pine Script offers an unparalleled trading experience through its unique combination of technical indicators, comprehensive trade management features, and detailed data tables for multiple timeframes. Here are compelling reasons to invest in this strategy:
Holistic Approach: The integration of multiple indicators ensures a well-rounded perspective on market conditions, increasing the likelihood of successful trades.
Advanced Risk Management: The flexibility of multiple TPs and SLs empowers traders to tailor their risk profiles according to individual strategies, enhancing overall profitability.
Automated Trading Capability: The inclusion of API boxes for automated trading streamlines execution, allowing traders to capitalize on opportunities without the need for manual intervention.
Comprehensive Data Analysis: The detailed data tables provide invaluable insights across different timeframes, enabling traders to make informed decisions based on robust market analysis.
In summary, this innovative Pine Script represents a powerful tool designed to empower traders at all levels. Its originality, synergistic functionality, and comprehensive features create a dynamic and effective trading environment, justifying its value and positioning it as a must-have for anyone serious about achieving consistent trading success.
Triangular Arbitrage [Starbots]Triangular arbitrage in crypto refers to a trading strategy that exploits price discrepancies between three different cryptocurrencies or currency pairs on the same exchange.
The idea is to make a series of trades that ultimately result in a profit without the risk typically involved in trading. It works by taking advantage of the inefficiencies in the pricing of cryptocurrency pairs.
Here’s how it works:
Identify the Discrepancy: A trader finds a pricing mismatch between three cryptocurrencies. For example, they identify that the exchange rates between BTC/ETH, ETH/USDT, and BTC/USDT pairs are not aligned in a way that satisfies arbitrage-free conditions.
Three Trades:
Trade 1: Start with one cryptocurrency, say USDT (Tether).
Trade 2: Use USDT to buy ETH.
Trade 3: Use ETH to buy BTC.
Final Trade: Finally, convert the BTC back into USDT.
Profit: If the exchange rates between these pairs are out of sync, the trader can end up with more USDT (or the initial cryptocurrency) than they started with. This is because the temporary price inefficiency allowed them to buy low and sell high across different pairs.
Example:
Initial position: You have 10,000 USDT.
Step 1: You buy ETH with USDT (at a rate of 1 ETH = 2000 USDT), getting 5 ETH.
Step 2: You buy BTC with ETH (at a rate of 1 BTC = 2.5 ETH), getting 2 BTC.
Step 3: You sell BTC back for USDT (at a rate of 1 BTC = 5200 USDT), getting 10,400 USDT.
This results in a profit of 400 USDT after completing the cycle, assuming no fees or slippage.
Key Points:
Risk-Free (In Theory): In theory, triangular arbitrage is risk-free because you’re taking advantage of price discrepancies and not market trends.
High Speed Required: Since the inefficiencies in the crypto market are usually very short-lived, this strategy often requires bots or automated systems to execute trades quickly.
Fees and Slippage: In reality, exchange fees, trading volume, and slippage (the difference between the expected price and the actual execution price) can eat into profits and should be carefully considered.
Triangular arbitrage opportunities arise in crypto markets due to the high volatility and fragmentation across different trading pairs and exchanges.
________________________________________________________________
Recommended Binance pairs: DOGE/BTC, TRX/BTC, LINK/BTC, RUNE/BTC, FET/BTC, WIF/BTC,.. Make sure they have big daily volume when you swap them.
You typically have 30 seconds to 2 minutes to complete all three orders, but the main challenge is slippage, especially if the trading volume is low.
<>How to use indicator?
For example, open the DOGE/BTC chart on Binance and set the timeframe to 30 seconds or 1 minute.
In the first input, enter DOGE/USDT, the symbol that's on the left of your slash (DOGE/BTC), and in the second, enter BTC/USDT, the symbol that's on the right of your slash (DOGE/BTC).
Next, select the investment and commissions option.
Indicator will automatically calculate the discrepancies between these three different cryptocurrency pairs and show you when it's profitable to trade it on the chart.
Follow the indicator's suggested orders and capitalize on the price discrepancies between the three cryptocurrencies on the same exchange. This is how Triangular Arbitrage work.
Pivot Points LIVE [CHE]Title:
Pivot Points LIVE Indicator
Subtitle:
Advanced Pivot Point Analysis for Real-Time Trading
Presented by:
Chervolino
Date:
September 24, 2024
Introduction
What are Pivot Points?
Definition:
Pivot Points are technical analysis indicators used to determine potential support and resistance levels in financial markets.
Purpose:
They help traders identify possible price reversal points and make informed trading decisions.
Overview of Pivot Points LIVE :
A comprehensive indicator designed for real-time pivot point analysis.
Offers advanced features for enhanced trading strategies.
Key Features
Pivot Points LIVE Includes:
Dynamic Pivot Highs and Lows:
Automatically detects and plots pivot high (HH, LH) and pivot low (HL, LL) points.
Customizable Visualization:
Multiple options to display markers, price labels, and support/resistance levels.
Fractal Breakouts:
Identifies and marks breakout and breakdown events with symbols.
Line Connection Modes:
Choose between "All Separate" or "Sequential" modes for connecting pivot points.
Pivot Extension Lines:
Extends lines from the latest pivot point to the current bar for trend analysis.
Alerts:
Configurable alerts for breakout and breakdown events.
Inputs and Configuration
Grouping Inputs for Easy Customization:
Source / Length Left / Length Right:
Pivot High Source: High price by default.
Pivot Low Source: Low price by default.
Left and Right Lengths: Define the number of bars to the left and right for pivot detection.
Colors: Customizable colors for pivot high and low markers.
Options:
Display Settings:
Show HH, LL, LH, HL markers and price labels.
Display support/resistance level extensions.
Option to show levels as a fractal chaos channel.
Enable fractal breakout/down symbols.
Line Connection Mode:
Choose between "All Separate" or "Sequential" for connecting lines.
Line Management:
Set maximum number of lines to display.
Customize line colors, widths, and styles.
Pivot Extension Line:
Visibility: Toggle the display of the last pivot extension line.
Customization: Colors, styles, and width for extension lines.
How It Works - Calculating Pivot Points
Pivot High and Pivot Low Detection:
Pivot High (PH):
Identified when a high price is higher than a specified number of bars to its left and right.
Pivot Low (PL):
Identified when a low price is lower than a specified number of bars to its left and right.
Higher Highs, Lower Highs, Higher Lows, Lower Lows:
Higher High (HH): Current PH is higher than the previous PH.
Lower High (LH): Current PH is lower than the previous PH.
Higher Low (HL): Current PL is higher than the previous PL.
Lower Low (LL): Current PL is lower than the previous PL.
Visual Elements
Markers and Labels:
Shapes:
HH and LH: Downward triangles above the bar.
HL and LL: Upward triangles below the bar.
Labels:
Optionally display the price levels of HH, LH, HL, and LL on the chart.
Support and Resistance Levels:
Extensions:
Lines extending from pivot points to indicate potential support and resistance zones.
Chaos Channels:
Display levels as a fractal chaos channel for enhanced trend analysis.
Fractal Breakout Symbols:
Buy Signals: Upward triangles below the bar.
Sell Signals: Downward triangles above the bar.
Slide 7: Line Connection Modes
All Separate Mode:
Description:
Connects pivot highs with pivot highs and pivot lows with pivot lows separately.
Use Case:
Ideal for traders who want to analyze highs and lows independently.
Sequential Mode:
Description:
Connects all pivot points in the order they occur, regardless of being high or low.
Use Case:
Suitable for identifying overall trend direction and momentum.
Pivot Extension Lines
Purpose:
Trend Continuation:
Visualize the continuation of the latest pivot point's price level.
Customization:
Colors:
Differentiate between bullish and bearish extensions.
Styles:
Solid, dashed, or dotted lines based on user preference.
Width:
Adjustable line thickness for better visibility.
Dynamic Updates:
The extension line updates in real-time as new bars form, providing ongoing trend insights.
Alerts and Notifications
Configurable Alerts:
Fractal Break Arrow:
Triggered when a breakout or breakdown occurs.
Long and Short Signals:
Specific alerts for bullish breakouts (Long) and bearish breakdowns (Short).
Benefits:
Timely Notifications:
Stay informed of critical market movements without constant monitoring.
Automated Trading Strategies:
Integrate with trading bots or automated systems for executing trades based on alerts.
Customization and Optimization
User-Friendly Inputs:
Adjustable Parameters:
Tailor pivot detection sensitivity with left and right lengths.
Color and Style Settings:
Match the indicator aesthetics to personal or platform preferences.
Line Management:
Maximum Lines Displayed:
Prevent chart clutter by limiting the number of lines.
Dynamic Line Handling:
Automatically manage and delete old lines to maintain chart clarity.
Flexibility:
Adapt to Different Markets:
Suitable for various financial instruments including stocks, forex, and cryptocurrencies.
Scalability:
Efficiently handles up to 500 labels and 100 lines for comprehensive analysis.
Practical Use Cases
Identifying Key Support and Resistance:
Entry and Exit Points:
Use pivot levels to determine optimal trade entry and exit points.
Trend Confirmation:
Validate market trends through the connection of pivot points.
Breakout and Breakdown Strategies:
Trading Breakouts:
Enter long positions when price breaks above pivot highs.
Trading Breakdowns:
Enter short positions when price breaks below pivot lows.
Risk Management:
Setting Stop-Loss and Take-Profit Levels:
Utilize pivot levels to place strategic stop-loss and take-profit orders.
Slide 12: Benefits for Traders
Real-Time Analysis:
Provides up-to-date pivot points for timely decision-making.
Enhanced Visualization:
Clear markers and lines improve chart readability and analysis efficiency.
Customizable and Flexible:
Adapt the indicator to fit various trading styles and strategies.
Automated Alerts:
Stay ahead with instant notifications on key market events.
Comprehensive Toolset:
Combines pivot points with fractal analysis for deeper market insights.
Conclusion
Pivot Points LIVE is a robust and versatile indicator designed to enhance your trading strategy through real-time pivot point analysis. With its advanced features, customizable settings, and automated alerts, it equips traders with the tools needed to identify key market levels, execute timely trades, and manage risks effectively.
Ready to Elevate Your Trading?
Explore Pivot Points LIVE and integrate it into your trading toolkit today!
Q&A
Questions?
Feel free to ask any questions or request further demonstrations of the Pivot Points LIVE indicator.
Average True Range with Price MAATR with Price Moving Average Indicator
This custom indicator combines the Average True Range (ATR) with a Price Moving Average (MA) to help traders analyze market volatility in percent to the price.
Key Components:
Average True Range (ATR)
Price Moving Average (MA)
ATR/Price in Percent
ATR/Price in Percent
Purpose: This ratio helps traders understand the relative size of the ATR compared to the current price, providing a clearer sense of how significant the volatility is in proportion to the price level.
Calculation: ATR is divided by the current closing price and multiplied by 100 to express it as a percentage. This makes it easier to compare volatility across assets with different price ranges.
Plot: This is plotted as a percentage, making it easier to gauge whether the volatility is proportionally high or low compared to the asset's price.
Usage:
This indicator is designed to help identify the most volatile tokens, making it ideal for configuring a Grid Bot to maximize profit. By focusing on high-volatility assets, traders can capitalize on larger price swings within the grid, increasing the potential for more profitable trades.
Features:
Customizable Smoothing Method: Choose from RMA (Relative Moving Average), SMA (Simple Moving Average), EMA (Exponential Moving Average), or WMA (Weighted Moving Average) for both ATR and the Price Moving Average.
Dual Perspective: The indicator provides both volatility analysis (ATR) and trend analysis (Price MA) in a single view.
Proportional Volatility: The ATR/Price (%) ratio adds a layer of context by showing how volatile the asset is relative to its current price.
Enhanced Local Polynomial Regression [Yosiet]Local Polynomial Regression (LPR) is an advanced statistical method that offers a flexible approach to estimating the underlying trend in financial time series data.
The Mathematical Explanation
The core idea of LPR is to fit a polynomial of degree p at each point x using weighted least squares. The weight of each data point decreases with its distance from x, controlled by a kernel function and a bandwidth parameter.
The general form of the local polynomial estimator is:
β̂(x) = argmin Σ K((Xi - x) / h) (Yi - β0 - β1(Xi - x) - ... - βp(Xi - x)^p)^2
Where:
β̂(x) is the vector of estimated coefficients
K is the kernel function
h is the bandwidth
Xi and Yi are the predictor and response variables
p is the degree of the polynomial
Our implementation uses the Epanechnikov kernel:
K(u) = 3/4 * (1 - u^2) for |u| ≤ 1, 0 otherwise
The Implementation
This script implements LPR for the easier way to interpret its values with the following key components:
Input Parameters: Can adjust the lookback period, bandwidth, and polynomial degree.
Kernel Function: The Epanechnikov kernel is used for weighting.
LPR Function: Implements the core algorithm using matrix operations.
Signal Generation: Generates buy/sell signals based on crossovers of smoothed price and LPR results.
How to Use
Apply the indicator to your chart in TradingView.
Adjust the input parameters:
Lookback Period: Controls how many past bars are considered.
Bandwidth: Affects the smoothness of the regression line.
Polynomial Degree: Determines the complexity of the local fit.
Signal Smoothing Length: Adjusts the responsiveness of buy/sell signals.
Monitor buy/sell signals for potential trade entries.
Limitations
Sensitivity to Parameters: The choice of bandwidth and polynomial degree significantly impacts the results.
Lag: Like all trend-following indicators, LPR may lag behind rapid price movements.
Edge Effects: The indicator may be less reliable at the edges of the data (recent bars).
Recommendations
Parameter Optimization: Experiment with different lookback periods, bandwidths, and polynomial degrees to find the best fit for your trading style and timeframe.
Combine with Other Indicators: Use LPR in conjunction with momentum oscillators or volume indicators for confirmation.
Multiple Timeframes: Apply LPR on different timeframes to gain a more comprehensive view of the trend.
Avoid Overfitting: Be cautious of using high polynomial degrees, as they may lead to overfitting on historical data.
Consider Market Conditions: LPR works best in trending markets; be aware of its limitations in ranging or highly volatile conditions.
Backtest Thoroughly: Always backtest strategies based on LPR across different market conditions before live trading.
Conclusion
Local Polynomial Regression offers a sophisticated approach to trend analysis in financial markets. By providing a flexible, adaptive trend line, it can help traders identify potential entry and exit points with greater precision than traditional moving averages. However, like all technical indicators, it should be used as part of a comprehensive trading strategy that includes proper risk management and consideration of fundamental factors.
if you have an strategy or idea and need to make it real through an indicator or trading bot, you can DM or comment
Rsi Long-Term Strategy [15min]Hello, I would like to present to you The "RSI Long-Term Strategy" for 15min tf
The "RSI Long-Term Strategy " is designed for traders who prefer a combination of momentum and trend-following techniques. The strategy focuses on entering long positions during significant market corrections within an overall uptrend, confirmed by both RSI and volume. The use of long-term SMAs ensures that trades are made in line with the broader market trend. The stop-loss feature provides risk management by limiting losses on trades that do not perform as expected. This strategy is particularly well-suited for longer-term traders who monitor 15-minute charts but look for substantial trend reversals or continuations.
Indicators and Parameters:
Relative Strength Index (RSI):
- The RSI is calculated using a 10-period length. It measures the magnitude of recent price changes to evaluate overbought or oversold conditions. The script defines oversold conditions when the RSI is at or below 30 and overbought conditions when the RSI is at or above 70.
Volume Condition:
-The strategy incorporates a volume condition where the current volume must be greater than 2.5 times the 20-period moving average of volume. This is used to confirm the strength of the price movement.
Simple Moving Averages (SMA):
- The strategy uses two SMAs: SMA1 with a length of 250 periods and SMA2 with a length of 500 periods. These SMAs help identify long-term trends and generate signals based on their crossover.
Strategy Logic:
Entry Logic:
A long position is initiated when all the following conditions are met:
The RSI indicates an oversold condition (RSI ≤ 30).
SMA1 is above SMA2, indicating an uptrend.
The volume condition is satisfied, confirming the strength of the signal.
Exit Logic:
The strategy closes the long position when SMA1 crosses under SMA2, signaling a potential end of the uptrend (a "Death Cross").
Stop-Loss:
A stop-loss is set at 5% below the entry price to manage risk and limit potential losses.
Buy and sell signals are highlighted with circles below or above bars:
Green Circle : Buy signal when RSI is oversold, SMA1 > SMA2, and the volume condition is met.
Red Circle : Sell signal when RSI is overbought, SMA1 < SMA2, and the volume condition is met.
Black Cross: "Death Cross" when SMA1 crosses under SMA2, indicating a potential bearish signal.
to determine the level of stop loss and target point I used a piece of code by RafaelZioni, here is the script from which a piece of code was taken
I hope the strategy will be helpful, as always, best regards and safe trades
;)