VIX - SHORT - SVXY - Daily Chart (Oldinvestor)This looks at he VIX and trades SVXY. Load SVXY and run the script on SVXY.
INPUTS:
Entry - You set this number to how high you want the VIX to go before SVXY will be bought. Keep in mind it buys the bar after a trigger, results may be confusing
Exit - You set this number to how low you want the VIX to go before SVXY will be sold.
Year - This as stated, It will start trading on the year you set here.
Good luck.
This script is for learning purposes, and boy did I learn something. UVXY still sucks
Cari dalam skrip untuk "the script"
Candle Patterns Strategy V1//Modify DanyChe script to work in latest version of pinescript
//The script allows you to test popular candlestick patterns on various instruments and timeframes. In addition, you can configure risk management (if the value is zero, it means the function is disabled), and you can also specify the time of the trading session (for example, so that the positions are not transferred to the next day).
//The author is grateful to JayRogers and Phi35, their code examples helped a lot in writing the strategy.
Kijun-Sen Strategy [DasanC]This strategy employs the Kijun-Sen line (from Ichimoku cloud) as a baseline for decisions.
In essence, the Kijun-Sen is a kind of moving average based on the High/Low range, similar to Donchian channels.
We wait for a crossover or crossunder to enter a new trade, then exit upon the next cross.
It works on 1H timeframe and above. It also works for all the Major FX pairs (at least from my tests).
I use the ATR and a multiplier to decide the S/L position as well as the volume of the trade.
I also use an equity protector to close out of all trades if a specific DD % level is reached. In theory, this should never happen with only one trade open at a time, however, if a user wants to modify the script to pyramid orders then the equity protector could potentially "save" an account.
The default settings should produce winning results on Major pairs. You can change the backtest time in the script by altering line #53:
>if(time > timestamp(2017,1,1,0,0) and time < timestamp(2019,1,1,0,0))
TODO:
Add 2 additional forms of confirmation
Add volume to filter losing trades
Add exit indicator
TrendaidTrendaid
is exactly what the name says
an Aid to Trend
Use this strategy to understand when the trend may shift and then use it to stay in the trends longer
simple strat
Buy when it says BULL in BLUE
Short when it says BEAR in RED
you may close your orders when it says to in PURPLE but unneeded if you want
You can adjust the stop which affects the scripts performance
You may also change from a Long to a Short line but the standard has proven to be the best overall
Let Trendaid guide you to riches
this was primarily designed for #forex but can be used in any market including #crypto
get access by joining the #CCV trading family by visiting the link below
- Cheers
SatoshiHeavy Market analyst for CCV Trading
www.cryptocurrentlyvip.com
Ema BacktesterA simple, but useful script for backtesting purposes. Find the optimal Settings for your strategy.
tips are always welcome at: 38uGQJDDZDL6wX48x4gYTccPeQ3ZHVYmY4 (btc)
I hope you enjoy the script :)
Trending CMF MultiTimeFrame - Strategythis is the strategy for the script below
Multi time frame crypto trader
E-Z Hai Cloud v0.01Very Early version of a new script I am working on. Currently setup for one hour but I want it to work well on multiple time frames.
Options for ADX aren't working atm.
Wanting to add take profits and stop losses in the future, as well as the ability for the script to check multiple time frames so it knows to hodl or dump.
Please let me know if you run into any issues.
Jawwad Elite_Crypto Trading Strategy (LTC/USD) NON-REPAINTING!!!1. Use Heiken-Ashi candles on 1H or 1 minute chart. I have tested it on LTC/USD pair.
2. Apply the script.
3. It is a non-repainting strategy. Please report if there is any problem.
4. Enjoy!!!
THE PHOENIX v0.1 wSMDAS requested - Version of my Phoenix Script with both LONG and SHORTS, Backtest results will not be accurate unless you use margin trading.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Implementation in TradingView of modified version of the "Weis Wave".
indicatior will generate Long and Close Long signals according to market trend.
(Learned the hard way that using short instead of close long to close long orders will seriously mess backtest results and create unrealistic expectations)
Added a customizable RATE OF CHANGE indicator that I called SMD (sideways market detection) to try and avoid trading on sideways market.
References: "Trades About To Happen" David H. Weis, Division 2 of the Richard D. Wyckoff Method of Trading in Stocks.
I've had best results on 2h and 4h charts, I would not recommend to go below 1h, my general rule is to run the backtest on regular candle and make sure the backtest gives goodd result, but I use the script with autoview on heikin ashi.
Backtesting: You can change the dates of the backtest as you please, the backtest runs with 1000USD and 100% of equity orders, 3 ticks slippage and 0.1% commission.
For Autoview users: Will upload LONG ALERT and CLOSE LONG ALERT studies separately as I find it easier to see whats going on on 2 seperate indicators.
NO, IT DOES NOT REPAINT.
Vortex Ocillator - backtestingbacktesting strategy for the vortex oscilator indicator, slightly modified on this version so that the buy and sell signals work with the backtesting and are consistant
original idea i posted by accident
the script with alerts
not intended to be financial advice, strategy is for made for testing
Biffy
Bitmex Bot 5m candlesThis script was made for our customers to test the strategies of our Bitmex Bot.
I'm not going to give you permission to use the Script, only if you become our client.
Telegram @rmgslash
Ichimoku + Adx StrategyA strategy based on ichimoku and dmi optimized for crypto trading
Signals created with
tenkan/kijun
chikou > close
dmi+/dmi-
dmi > thold
adx > thold
sell
tenkan/kijun
chikou<close
dmi+/dmi-
I'm still optimizing the script. If you want to use it as it is pm me.
Cheers
VWMA + SMA BBollinger + RSI Strategy (ChartArt) mod by BiO618This is a script I remade from the original ChartArt's "CA_RSI_Bolling_Strat".
I added a VWMA following the SMA basis curve.
BBand was made with the SMA curve, +2DS.
The point of adding VWMA to the script is to get a fast correlation between price change and volume change.
How to interpret it:
Since 3-Intervals-VWMA = (P1*V1 + P2*V2 + P3*V3) / (V1+V2+V3)
As the volume grows, VWMA get smaller.
If the price goes to the upper band, and the VWMA follows it, Price grew more than Volume, and a correction would happen soon.
If the price goes to the lower band, and the VWMA follows it, Price dipped with a lot of Volume, and a continuation of trend would be expected.
If the price goes to the upper band, and the VWMA stays close to SMA, Price grew with a correspondient Volume, and the continuation of trend would be expected.
If the price goes to the lower band, and the VWMA stays close to SMA, Price dipped with low Volume, a correction would happen soon.
Remember that NO INDICATOR is flawless, support your interpretation with other indicators like RSI and MACD.
Hope you enjoy it!
φ!
BitMex Trailing Stop StrategyThis script is designed for those who want to use BitMex's trailing stop. It's not meant to be used as entry exits, but rather to get an idea of how wide the trailing stop needs to be. I suggest you backtest with different values. The script can also be integrated into an existing strategy which does give entry/exits to act as its stop loss.
[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
The Falcon v2 Long only strategy Using Stop loss and take profitHello,
Here is a backtest result from the beginning of the year on BTC. The white line is the Buy & Hold return.
Comission is set to 0.05% and there is no repainting : the price variable I'm using is heikenashi(tickerid).
The indicator is built upon RSI, EMAs and some other personnal tricks so predict trends.
I coded a stop loss and take profit system : the script will simply buy and sell upon conditions.
As usual I am selling access to the script, If some are interested I will publish an alert setup version. I am also open to development or reverse engineering commissions.
VJSHARMA_BB_MACD_Stoch_Short_Trade_Strategy_V2This script has the same working behind it except for some minor tweaks.
These tweaks enable the script to generate more signals than the previous version but with a loss of 4% accuracy.
SB_Volume_oscillator_Prev_high_lowThe strategy is a take on traditional volume oscillator.
In Layman terms:
The script places an order when the oscillator crosses the zero mark in the volume oscillator.
If the previous high is greater than the absolute value of previous low then a long order is placed
And if the absolute previous low is greater than the previous high then a shrt order is placed.
Last script (bandwidth focus on other monetary works. If you have any opportunities ping me)
Message if you think of any modifications/ enhancements/ any opportunities. :)
Donations/Tips... :) -
BTC: 1BjswGcRR6c23pka7qh5t5k56j46cuyyy2
ETH: 0x64fed71c9d6c931639c7ba4671aeb6b05e6b3781
LTC: LKT2ykQ8QSzzfTDB6Tnsf12xwYPjgq95h4
SB_Elder Impulse SystemThe strategy is based on LazyBear's Elder Impulse System
Strategy(in layman terms):
Long: When the green bar in the Elder Impulse System's indicator shows up
Short: When the red bar in the Elder Impulse System's indicator shows up
Close trade/Profit booking: When the blue bar in the Elder Impulse System's indicator shows up
Original Idea:
Message in the script if you think of any modifications/ enhancements.
Donations/Tips... :) -
BTC: 1BjswGcRR6c23pka7qh5t5k56j46cuyyy2
ETH: 0x64fed71c9d6c931639c7ba4671aeb6b05e6b3781
LTC: LKT2ykQ8QSzzfTDB6Tnsf12xwYPjgq95h4
SB_CM_RSI_2_Strategy_Version 2.0(New: Profit booking present which is not present in the previous indicator)
The strategy is based on the indicator posted by @ChrisMoody "CM RSI-2 Strategy Lower Indicator" which is based on "Larry Connors RSI-2 Strategy - Lower RSI"
In this strategy, the longs are placed when a green color is encountered in the rsi in the previous candle and short when the red color is encountered in the rsi.
Although the profits are booked when the rsi crossover the 10 level mark or crossunder the 90 level mark.
Just message in the script if you have any different idea regarding this indicator.
For the original indicator you can refer to :
For Tips to continue :) -
BTC: 1BjswGcRR6c23pka7qh5t5k56j46cuyyy2
ETH: 0x64fed71c9d6c931639c7ba4671aeb6b05e6b3781
LTC: LKT2ykQ8QSzzfTDB6Tnsf12xwYPjgq95h4
SB_CM_RSI_2_Strategy_Version 1.0The strategy is based on the indicator posted by @ChrisMoody "CM RSI-2 Strategy Lower Indicator" which is based on "Larry Connors RSI-2 Strategy - Lower RSI"
In this strategy the longs are placed when a green color is encountered in the rsi and short when red color is encountered in the rsi.
Although the profits can be booked at different interval.
Just message in the script if you have any different idea regarding this indicator.
For the original indicator you can refer to :
For Tips to continue :) :
BTC: 1BjswGcRR6c23pka7qh5t5k56j46cuyyy2
ETH: 0x64fed71c9d6c931639c7ba4671aeb6b05e6b3781
LTC: LKT2ykQ8QSzzfTDB6Tnsf12xwYPjgq95h4
Updated TurtlesThis script has been updated to prevent double orders (short/long) from occurring and modifying backtests results.
This is an update to the script that was written a few years ago to prevent double longs/shorts from occurring and skewin backtesting results. Check out the updated indicator here and let me know what you think.
I also added:
- date range inputs if you want to do some backtesting on a particular set of dates.
- the ability to toggle shorting