Cerca negli script per "bot"
CS Basic Scripts - Stochastic Special (Strategy)This Stochastic Special Strategy features inputs for:
- Custom Backtesting Date Range
- Long and Short Strategy Discinctions
- Utilize SMI, RSI, Martingale, and Body-Filter Strategy
- Adjust the SMI Percent Lengths and Limit
- Automate with the Autoview Trading Bot
Strategy script may be tested by favoriting and adding to any chart.
Study script is available for automated trading at www.cryptoscores.org
[Backtest]QQE Cross v6.0 by JustUncleLDescription:
This is the Backtest version of the " QQE Cross v6.0 by JustUncleL" Tool, can be used to optimize settings.
Flying Buddha Inside Bars Indicator v1 by JustUncleLDescription:
=============
This indicator plots MAs and paints Triggered Alert Arrows base on Flying Buddha candle patterns.
The “Flying Buddha” Pattern is defined as:
---------------------------------------------
A candlestick chart with two moving averages: the 5 period exponential moving average (fast EMA) and the 10 period simple moving average (slow SMA), both applied to the closing price. The default “Flying Buddha” pattern is any candlestick which:
1. Has a LOW above the fast EMA, when the fast EMA is above the slow SMA (a bearish “Flying Buddha”); or
2. Has a HIGH below the fast EMA, when the fast EMA is below the slow SMA (a bullish “Flying Buddha”).
Alert Trigger:
---------------
A Flying Buddha Alert is triggered on the first candle that is a non-flying Buddha candle after a Flying Buddha Pattern candle sequence. Flying Buddhas can optionally be filtered by InsideBars and PinBars.
The Alert Trigger is optionally filtered by the Directional MA (default=EMA 89), and/or by Minimum Sequence length of Flying Buddhas.
Moving Averages:
------------------
You can select between 11 different types of moving averages, for each MA line in Flying Buddha MAs (fastMA and slowMA) and the Directional Filter MA:
SMA = Simple Moving Average.
EMA = Exponential Moving Average.
WMA = Weighted Moving Average
VWMA = Volume Weighted Moving Average
SMMA = Smoothed Simple Moving Average.
DEMA = Double Exponential Moving Average
TEMA = Triple Exponential Moving Average.
HullMA = Hull Moving Average
SSMA = Ehlers Super Smoother Moving average
ZEMA = Near Zero Lag Exponential Moving Average.
TMA = Triangular (smoothed) Simple Moving Average.
NOTE: This is a concept indicator, I also intend to release a trading BOT suitable for Autoview, based on this concept indicator.
Pork ChopApproach for detecting price 'chop'.
It's quite simple; instead of trying to detect chop, just measure the weakness of a trend.
This is done by essentially taking two moving averages, measuring their relative difference and then take a moving average of this difference of 'n' periods (Lookback)
The result can be measured against a threshold 'floor' which determines the weakness of the trend and thus, chop.
I use portions from NGBaltic's work: www.tradingview.com so the responsiveness of the detection is slightly higher than bog standard EMAs.
Might be of some interest to bot developers, play with the settings!
Cheers
SimpleMA smoothed crossover strategyExperimental simple Bot script for ETH/USD 1 hour chart. welcome to test on other pairs. put feedback in comments.
This is a crossbreed between SMA and HULLMA
APEX - BB MadnessOverlaying up to 4 Bollinger Bands over each other.
Individually BBs only show coloring background and the overlaping area where the bot would try to buy is a lime rectangle.
APEX - VWAPVolume weigted average price for APEX Bot.
For Detector Price above it will mark all candles that even have a high wick above which would also happen in the bot but would most likely not trigger ...its up to you to understand the meaning of it.
MG - Range trader - 1.0This one is a bit of an experiment..
The theory is, if you have an asset that you firmly believe will rise in the future for fundamental reasons and are happy to hold until that happens i.e. a be a position trader, you can take advantage of market volatility at the same time in a relatively safe way, so theoretically, you profit when the price goes up or down
E.g. You have $1000, an asset in which you want to become a position trader and you are happy to either make more money or more of the asset as you believe that will make you more money in the future, you could wait until a decent retracement, maybe around a good support level, then buy $500 of the asset and simply sell if it goes up by X, buy if it goes down by X. If you keep doing this, you will end up with either with more of the asset or more money. You have a sure gain either way (if you are happy to have either money or asset)
There are some considerations:
The higher the trade size, the faster profit compounds and the faster you exhaust your available buys and sells
- E.g. If asset is $100, you have $500 and you plan to buy / sell every $10 change, if the asset drops straight to $40, your last buy will be at $50, at which point, the asset is still dropping. But it you only plan to buy / sell $5 every $10 price, you will be able to buy right down to 0.
In times of strong trend, it may be better to avoid this approach altogether as there may not be so much oscillation or at least to use a small if not minimum order size.
Application:
The buy and sell triggers can be connected using autoview to convert this indicator into a range trading bot
Advanced Chaikin Money Flow (CMF)TL;DR: change the aggregation to EMA to achieve similar results to Twiggs Money Flow. Play with the rest of parameters to get the desired results.
This script allows customization of CMF. It also includes all the improvements made by Twiggs Money flow.
Regular CMF does not take price gaps into account as you can see in the chart below. True range fixes this issue, as done in Twiggs Money flow (TMF).
More info here: www.incrediblecharts.com
Customization Options:
- You can change the effect of volume by setting volume exponent. 0 to 10 reduces the effect and 10+ increases it. In exchanges with too much wash trading, you may want to reduce volume effect.
- You can factor in price in CMF. It gives you a slightly different results. See my Volume x price (VxP) indicator for why it might be useful.
- The range can be changed to percentage (similar to RSI)
PS: I do not recommend using CMF in today's Crypto markets. Chaikin uses the same multiplier in CMF and Accumulation/Distribution Line (ADL). ADL is a totally broken indicator for BTC. If you look at the period after ATH (chart below), you will notice that ADL keeps increasing implying accumulation. While it is clear that there was distribution going on. The reason might be the artificially inflated prices in Crypto that is achieved by the help of bots and having "certain" exchanges as a price reference. So, my reasoning is that if ADL is a broken indicator, so should be CMF. CMF diverges from BTC price frequently. This is a double edged sword IMO. Still CMF is a much better indicator than ADL because it works relative to prior periods which covers some of its flaws.
Note for super nerds: Twiggs Money Flow includes true range and Welles Wilder's Moving Average (WWMA). I have seen some other scripts using their own calculations for WWMA which is not efficient. WWMA is equal to built-in RMA/SMMA which is equal to EMA with length 2x-1.
CoryT's Noro's Ichimoku AlertsA few months ago I took Noro's Ichimoku Cloud and used the AV bot template to throw stops on it. I took some code from JustUncleL
to make it not so hideous. Trailing Stops are turned off, stop losses are turned off (you really don't need them with this), and this is currently a Long/Short strategy, the Longs Only and Shorts Only options are broken right now, I'm tired and you guys can either fix it yourselves or deal with it like this for now.
Hint: If you wanna use this as a long-only strategy just have AV close your buy orders whenever a short is triggered.
CoryT's Noro's IchimokuA few months ago I took Noro's Ichimoku Cloud and used the AV bot template to throw stops on it. I took some code from JustUncleL
to make it not so hideous. Trailing Stops are turned off, stop losses are turned off (you really don't need them with this), and this is currently a Long/Short strategy, the Longs Only and Shorts Only options are broken right now, I'm tired and you guys can either fix it yourselves or deal with it like this for now.
Hint: If you wanna use this as a long-only strategy just have AV close your buy orders whenever a short is triggered.
Hull - Moving Average spreadAn idea i had using the trend indicator Hull Moving Average for bot trading. I am using a lot of EMA Spread indicators lately and i just wanted to make a Hull like Spread for comparision.
In General if combined with CandleStick Patterns / Momentum like StochRSI etc. You will receive pretty decent signals for Panic DIPS that have a high change of rebound.
ToDo ... Enhance the Script with Offset so that it reacts to market moves.
Breakout Range LS alert 893 popup trigger ver For Japanese major donchain breakout bot's logic.
it's trigger are price range and highest/lowest price.
this script put on symbol/text in chart when price reach on trigger:)
recommend to use on 1h chart.
include alertcondition for TV alert.
PT Feeder - HighLowPricePercentageYet another script to help people set the Addon PT Feeder for a trading bot Profit Trailer. Same rule applies if you do not own this the following explanation will not help you.
- Add the script to your favourites
- Edit Minutes for short term and long term for both indicators
- Set candle size you are using default is 5 Minutes
HighLowPricePercentage (Source PT Feeder Wiki)
"This is a property to try and check the variance of the price from the norm and is over the MinutesToMeasureTrend time window. The math is:
firstVariance = (high.ActualPrice - low.ActualPrice) / 2
medianVariance = high.ActualPrice - firstVariance
highLowPercentage = (latestActualPrice - medianVariance) / latestActualPrice * 100".
LongerTermHighLowPricePercentage (Source PT Feeder Wiki)
"This is a property to try and check the variance of the price from the norm and is over the LongerTermMinutesToMeasureTrend time window. The math is the same as the HighLowPricePercentage".
Sources:
PT Feeder Wiki - github.com
LTC: LYHj4WDN7BPu5294cSpqK3SgWSWdDX56Qt
BTC: 1NPVzeDSsenaCS9QdPro877hkMk93nRLcD
Autoview Build-a-bot - 5m chartTHIS IS NOT MINE
i configured every input for the best performance on BTC/USD 5m chart
the original is awesome
(no repaint)
Autoview Build-a-bot - 1m chartTHIS IS NOT MINE
i configured every input for the best performance on BTC/USD 1m chart
the original is awesome
(no repaint)
Tabajara 3.0 (by André Machado) + 200SMA + BBTrata-se do popular seguidor de tendência desenvolvido pelo mestre André Machado, adicionando-se a ele as Bandas de Bollinger para aproveitar a contração/squeeze, juntamente com a média simples de 200 períodos aritmética para seguir a tendência mais longa.
OBS: Para colorir os candles é necessário que seja alterada a coloração padrão do gráfico de verde/vermelho para preto/branco, clicando no gráfico com o botão direito do mouse e indo em "propriedades".
CMARSI Strategy (on ETHUSD) Seems working goodthere it is, it's using the Connor RSI with little variations.
C onnor M oving A verage RSI
Progressive Profit Taking with Trailing StopThis is version 2 of
Special features:
Added partial profit taking as price rises. Profit taking is triggered by price crossing an EMA.
After profit taking, price has to rise by a user-specified percent before taking profits again.
Also includes condition for fully closing position after meeting specified profit target.
To incorporate into your algo, turn the plotshape functions into alertcondition.