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
Autoview
[ALERTS] Range Filter"This is an experimental study designed to filter out minor price action for a clearer view of trends.
Inspired by the QQE's volatility filter, this filter applies the process directly to price rather than to a smoothed RSI .
First, a smooth average price range is calculated for the basis of the filter and multiplied by a specified amount.
Next, the filter is calculated by gating price movements that do not exceed the specified range.
Lastly the target ranges are plotted to display the prices that will trigger filter movement.
Custom bar colors are included. The color scheme is based on the filtered price trend."
Thanks to Donovan Wall...
Enjoy!
[ALERTS] ADX and DIThe average directional index (ADX) is a technical analysis metric. Analysts use it to determine the relative strength of a trend, with the direction of the trend either upwards or downwards.
The Average Directional Index (ADX) along with the Negative Directional Indicator (-DI) and the Positive Directional Indicator (+DI) are momentum strength indicators that evolved for use in stock trading. Commodities trader J. Welles Wilder pioneered their use. Technical traders who use charting techniques want to know when first spotting a shifting trend how strong that trend is and how likely it is to sustain itself over time. The ADX helps investors determine trend strength as they plan their investment strategies.
Confirmation on a chart and other momentum indicators help investors spot trend reversals. But some trends are more potent than others and investors want to better understand the strength of a trend. The ADX identifies a strong positive trend when the ADX is over 25 and a weak trend when the ADX is below 20. Investors can determine directional movement by analyzing the difference between two consecutive low prices and their correlated highs. The movement is +DM when the current high price, less the previous high price, is greater than the previous low price less the current low. The opposite applies in determining the negative or –DI.
When analyzing charts, stock price is the single most important variable to follow. ADX and other indicators are supplementary to price movements in providing additional directional information and support. For example, some of the best trends come about from price range consolidation. It is those tugs of war between buying and selling volumes that lead to breakouts and other trading opportunities.
The Inventor of the Average Directional Index
J. Welles Wilder, Jr. is a former American engineer and real estate developer who went on to revolutionize trading analysis by applying mathematical systems to the world of investing. In addition to developing the ADX, Wilder is also responsible for several other commonly used technical analysis tools including the Average True Range (ATR), the Relative Strength Index (RSI) and the Parabolic SAR.
www.investopedia.com
This script has alerts and includes the filter for markets with no trend defined.
Green Alert --> Long
Red Alert --> Short
Yellow Area --> Weak trend. ADX below threshold
Green candles --> Bullish Market
Red Candles --> Bearish Market
Orange candles --> No defined trend
Enjoy!
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
[STUDY]HullMA OCC & SL/TP V3Another Open Close Cross. Now with Hull Moving Average: Alerts, SL TP, ...
Best results at 4h.
Enjoy!
[ALERTS] lamBOTghiniIt is a script based on changes in trend of EMAs.
You can copy it, modify it to your liking and maybe even buy a lambo.
Try it and if you can think of how to improve it please comment.
Enjoy!!!
Ehlers-Smoothed Stochastic RSI AlertES Stoch RSI Alert for use with AutoView using script by fskrypt.
Sell Alert <=20.0
Buy Alert >=80.0
[STUDY]Kagi Emulator OCC & SL/TP V3This is the script with alerts for the previous backtest.
Modify "reversal" according to the pair
It has take profit and stop loss too.
Thanks and Enjoy...
[Autoview][BackTest] Blank R0.13BThis is a fork of JustUncleL's
Dual MA Ribbons R0.13
It is now a blank template for making new strategies / alerts for autoview
The changes are as follows:
Removed actual algo
Establish functions for long Signal, long Close Signal and short Signal, short Close Signal to minimize the places code must be edited to update / replace algos
Make allow Long and allow short and invert trade directions independent options
Added support for alternate candle types
Added autoset backtest period feature, and optional coloring
Moved strategy calls in to functions so they can all be commented out or activated / disabled in a single block at the top of the script
[Autoview][Alerts]Blank R0.13BThis is a fork of JustUncleL's
Dual MA Ribbons R0.13
It is now a blank template for making new strategies / alerts for autoview
The changes are as follows:
Removed actual algo
Establish functions for long Signal, long Close Signal and short Signal, short Close Signal to minimize the places code must be edited to update / replace algos
Make allow Long and allow short and invert trade directions independent options
Added support for alternate candle types
Added autoset backtest period feature, and optional coloring
Moved strategy calls in to functions so they can all be commented out or activated / disabled in a single block at the top of the script
[Autoview][Alerts]Dual MA Ribbons R0.12 by JustUncleLSorry I have had trouble getting the TradingView to point to the "Alerts" script instead of the "Backtest".
This is the Alerts part of this pair of Scripts. This part creates alerts to be picked up by the Chrome Add-on.
[Autoview][BackTest]Dual MA Ribbons R0.12 by JustUncleLThis is an implementation of a strategy based on two MA Ribbons, a Fast Ribbon and a Slow Ribbon. This strategy can be used on Normal candlestick charts or Renko charts (if you are familiar with them).
The strategy revolves around a pair of scripts: One to generate alerts signals for Autoview and one for Backtesting, to tune your settings.
The risk management options are performed within the script to set SL(StopLoss), TP(TargetProfit), TSL(Trailing Stop Loss) and TTP (Trailing Target Profit). The only requirement for Autoview is to Buy and Sell as directed by this script, no complicated syntax is required.
The Dual Ribbons are designed to capture the inferred behavior of traders and investors by using two groups of averages:
> Traders MA Ribbon: Lower MA and Upper MA (Aqua=Uptrend, Blue=downtrend, Gray=Neutral), with center line Avg MA (Orange dotted line).
> Investors MAs Ribbon: Lower MA and Upper MA (Green=Uptrend, Red=downtrend, Gray=Neutral), with center line Avg MA (Fuchsia dotted line).
> Anchor time frame (0=current). This is the time frame that the MAs are calculated for. This way 60m MA Ribbons can be viewed on a 15 min chart to establish tighter Stop Loss conditions.
Trade Management options:
Option to specify Backtest start and end time.
Trailing Stop, with Activate Level (as % of price) and Trailing Stop (as % of price)
Target Profit Level, (as % of price)
Stop Loss Level, (as % of price)
BUY green triangles and SELL dark red triangles
Trade Order closed colour coded Label:
>> Dark Red = Stop Loss Hit
>> Green = Target Profit Hit
>> Purple = Trailing Stop Hit
>> Orange = Opposite (Sell) Order Close
Trade Management Indication:
Trailing Stop Activate Price = Blue dotted line
Trailing Stop Price = Fuschia solid stepping line
Target Profit Price = Lime '+' line
Stop Loss Price = Red '+' line
Dealing With Renko Charts:
If you choose to use Renko charts, make sure you have enabled the "IS This a RENKO Chart" option, (I have not so far found a way to Detect the type of chart that is running).
If you want non-repainting Renko charts you MUST use TRADITIONAL Renko Bricks. This type of brick is fixed and will not change size.
Also use Renko bricks with WICKS DISABLED. Wicks are not part of Renko, the whole idea of using Renko bricks is not to see the wick noise.
Set you chart Time Frame to the lowest possible one that will build enough bricks to give a reasonable history, start at 1min TimeFrame. Renko bricks are not dependent on time, they represent a movement in price. But the chart candlestick data is used to create the bricks, so lower TF gives more accurate Brick creation.
You want to size your bricks to 2/1000 of the pair price, so for ETHBTC the price is say 0.0805 then your Renko Brick size should be about 2*0.0805/1000 = 0.0002 (round up).
You may find there is some slippage in value, but this can be accounted for in the Backtest by setting your commission a bit higher, for Binance for example I use 0.2%
Special thanks goes to @CryptoRox for providing the initial Risk management Framework in his "How to automate this strategy for free using a chrome extension" example.
SMA Diff StdHello Tradingviewers
I don’t claim that anything I share is original, but I will never intentionally steal someone else’s work other than using plug and play pieces of code that are shared publicly because that’s how I’m learning to code in the first place
I started learning to trade and code on this very platform few months ago, AKA noob on both fronts and I still am. Many thanks to those of you who share their ideas, studies and strategies with us for free. I personally owe you most of what I know trading-related
Long story short, I ended up experimenting with all different kinds of code, some of it has no kind of logic behind it at least for me, but the results are somehow interesting, that’s why I thought about sharing them, also it is fun anyway 😊
--------------------------------------------------------------------------
Indicator info:
- Alert conditions implemented “autoview friendly”
- Use Heikin Ashi candles for better smoothing
- WARNING: Avoid use in a bear market
Any kind of feedback is appreciated, coding advice and such…
Feel free to use and share but please no commercial use. Happy trading everyone
--------------------------------------------------------------------------
As crypto is my only source of income, donations are most welcome if any of my work prove useful to you. Just a cup of tea that is
ETH/TUSD: 0xc66c009140553ef5dec23045399d9dcfddd096a5
LTC: LW4TP527c3HK6FnewXRZt3i6jnrhAynJMA
XVG: DE7uD66rYdmpqe4Fd3MxsXv7F1kNfCrzLk
Gunbot - Bbands - UnlockedThis is a repost, the first version was locked and I am unable to unlock it. So I'm simply publishing it anew.
Original Post
Original Description
This is more of a test run than anything. Gunbot approximation courtesy of Vosechu and the original can be found here.
AutoView - Hodl to SodlWrite your own strategy and use Hodl to Sodl to send Alerts for when to buy & sell, and automatically plot your anticipated buys/sells to the chart. A must have for AutoView users. Requires Pine Script coding. Not compatible with "Strategy Tester" tab and "Paper Trading" tab in TradingView.
Hodl-Sodl itself is not a strategy. It is a framework for building AutoView strategies. For demonstration purposes, the image featured with this script shows an example of a very simple CCI strategy (and not a very good one), but you would presumably replace that with your own ideas. If you'd like a little help plugging in your own strategy, contact jdhadwin for custom coding.
MP ZeroLag EMAStudy version companion to my Zerolag Strategy :)
As usual, all proceeds go to the betterment of these scripts as well as my upcoming surgery (Carpel Tunnel Syndrome, yuck)
1Dsg49Zt2FQ9BnUHrmXQwvhL5dd3teqa7g
ltc addy- LYUpgsHSHnKeYdNaj9bu9prK4QsnJXEQtP
pinkcoin addy- 2PoeXyAk3rF9FmMC8azme2mGzMYsEiZ5eS
MP EMA V SMA StudySo I took an idea from various scripts out there that fcus on EMAs, EMA Ribbons, SMAs, including gains. The idea behind this is to eliminate excess noise by cross referencing values from both SMA and EMA in a more competitive environment. What this does is provide the trend determined by EMAs while using a SMA gain to cut out the fluff so to speak. Works good on multiple coins but is not supported by backtesting since I have not completed the Strategy script as of yet. Currently using this for 1h timeframes on ETHUSD coin in Kraken's exchange. As usual it's all open source and free. Enjoy! Friendly with autoview.
Any questions feel free to pop into our Discord at discord.gg .
All donations go to providing better resources for further testing and script sharing, as well as my upcoming carpel tunnel syndrome surgery.
1Dsg49Zt2FQ9BnUHrmXQwvhL5dd3teqa7g
ltc addy- LYUpgsHSHnKeYdNaj9bu9prK4QsnJXEQtP
pinkcoin addy- 2PoeXyAk3rF9FmMC8azme2mGzMYsEiZ5eS
MP Rollercoaster Strat
This TMA strategy is called rollercoaster for the rounded ways it follows the moving average. Tried pinpointing entry/exit points as well as I could. Included alertconditions as well as syntax at the bottom for use with Autoview in a margin or spot trading environment. There is also the Study side for syntax and alertconditions use :) (autoview users and more!)
As usual, free to use, change it to suit your needs, please don't resell for profit.
For carpel tunnel surgery!
btc addy- 1Dsg49Zt2FQ9BnUHrmXQwvhL5dd3teqa7g
ltc addy- LYUpgsHSHnKeYdNaj9bu9prK4QsnJXEQtP
pinkcoin addy- 2PoeXyAk3rF9FmMC8azme2mGzMYsEiZ5eS
MP Rollercoaster Study
This TMA study is called rollercoaster for the rounded ways it follows the moving average. Tried pinpointing entry/exit points as well as I could. Included alertconditions as well as syntax at the bottom for use with Autoview in a margin or spot trading environment. There is also the Strategy side chart use :)
As usual, free to use, change it to suit your needs, please don't resell for profit.
For carpel tunnel surgery!
btc addy- 1Dsg49Zt2FQ9BnUHrmXQwvhL5dd3teqa7g
ltc addy- LYUpgsHSHnKeYdNaj9bu9prK4QsnJXEQtP
pinkcoin addy- 2PoeXyAk3rF9FmMC8azme2mGzMYsEiZ5eS
MACD Study DASH/BTC 3H ALERTS for AutoviewAutoview qualified Study Script Alerts for Autoview
Please Set Up Alert 1x Bars Close
For Margin Trading (Poloniex)
ULTIMATE PINE INJECTOR V1.2 INSERT
MACD Created by user ChrisMoody
NO REPAINT
With Stopp Loss and Trailing Stopp and Backtest
Now is for Free for all !
Accumulation/Distribution ViewsThis is a script for a view I wanted to go along with the Autoview plugin I bought. Keep in mind this is my first script and was created for me to learn the Pinescript framework. This isn't meant to be perfect. Indicator colors are usually blue or green or red. Also keep in mind since this is my first script in a new framework, the more stuff I build the better improvement. This is just something I wanted to first create with settings I wanted for variance and colors. The things I create in the future will obviously be an improvement.