Strategy!
Psychological for Strategy testingHello everyone
I've made Psychological to be able to adjust some variables for strategy.
When you adjust each parameter of the settings, the strategy tester also comes to work in conjunction with.
so please find your best parameter! ^^
I'm not very good at English, so i really want to write how to use Pychological's entry and exit too ,but please look up psychological entries as they are well known.
Notice:
There may be some programming mistakes, so please take your own responsibility when actually investing.
EMA(Rsi,length) Strategy onEMAのソースをRsi、期間をlenght(=デフォルトでは5)としたもの作成しました。
作成したものはデフォルトで黄色で表れております。
インジケーター上の緑色は、通常のRSIです
作成した際に参考にした足と通貨
5分足のUSDJPYとEURUSD
主にデイトレ目線で作っております。
デフォルト設定では
"EMAが75を上抜け、または25を下抜けた際に逆張りでエントリーをするもの"
として作成しております。
◎利確と損切りの幅ならびにインジケーター上の水平線は変更可能となっており、変更後はストラテジーテスターの各値も付随して自動変更します。
設定画面の各項目
RSI : 一般的なRSIの終値に対しての期間(デフォルトでは14)
Length : EMAでの期間をlengthとしております(デフォルトでは5)
up、downはインジケーター表示上のデフォルトでの75と25の水平線の位置
shortprofit,shortloss : ショートで入るとした場合の利確と損切りの長さ。(longprofit,longlossについても同様)
なおショートのポジションを持っている際にロングのポジションエントリーポイントに入った際は、持ってるショートのポジションは手仕舞いし、新たなロングのみポジションをもつようになっております。
免責事項ならびにお願い:上記の様に、各値、ならびにストラテジーテスターを設定しているつもりですが、プログラミングの入力ミスなどがある場合がございます。お知らせいただけますと幸いです。
また、投資をする際はご自身の責任と判断にて投資をなさるようお願いいたします。
Simple Tops/Bottoms, [JackT]A percentage (pyramid) script for BTC/USD, Daily.
Breakdown
The script is following one simple rule:
- Percentage orders based on volume
This is a pyramid setup based on volume but I am handling each order manually which makes it a custom pyramid strategy.
Instead of doing 100% portfolio sell/buy orders this script focuses on the momentum of volume and calculates a percentage of the portfolio that should be traded.
The percentage rises with the level of continuous orders with the same type. This means that if a second sell order is emitted before any buy order the percentage to sell is gradually increased to be higher than the previous sell order. And vise verca with buy orders.
The calculation is exponential rising but it also makes sure that the trade rarely reaches 100%. This enables the script to stay in the market on almost all opportunties given by the indicators.
How to use
The script is created from 3 indicators including Lucid SAR which helps to indicate the major trend.
It is possible to change the settings of the script in order to change the outcome. The settings is fitted to work with BTC/USD and the same settings works somewhat okay with ETH/USD aswell. Though I would recommend to fit the settings to work better with other pairs.
As mentioned, the script focuses on volume , which mean that it works better with major coins.
Enjoy the script and please let me know your thoughts!
//JackT
E.B. INVERSE CROSSING MOVING AVERAGEThis strategy uses the EMAs 10, 20 and 200.
When the EMA 10 is above EMA 100 and crossunder EMA 20, the strategy will buy the stock.
When the EMA 10 is under EMA 100 and crossover EMA 20, the strategy will sell the stock.
If during a buy/sell transaction the EMA 10 crosses EMA 100, the transaction will be closed.
You can adapt the EMA's value.
Just DM to me for access!!
RSI5_50 with DivergenceThis is variation of RSI Divergence strategy.
I have added a filter (long term RSI) to the Rules. strategy BUYs when RSI 50 period is above 50 line and there is divergence on the short term RSI
settings
=========
short term RSI period 5
long term RSI period 50
stopLoss is 8% --- if setting is enabled
BUY Rule
========
RSI 50 is above 50 line
short term RSI is showing divergence
Add to existing
==============
if already in position, BUY when shorTermRSI is crossing above 20
TakeProfit
=========
when longTermRSI reaches 60,65, 70 and 75 level , take partial profits .
(not when crossing down --- This may affect on profits , because when price goes down , it goes very fast )
Exit
=====
when longTermRSI is crossing down 30
OR stopLoss value hits
Note: When I tested this with GOOGL stock , I have got excellent results ... any experts there , please check everything is good with scripting ...
Happy Trading
RSI V Pattern strategyThis strategy based on RSI for swing trading or short term trading
Strategy Rules
=============
LONG
1. ema20 is above ema50 --- candles are colored green on the chart
2. RSI value sharply coming up
previous candle1 low is previous candle2 low and previous candle1 RSI value is less than previous candle2
current candle RSI value is greater than previous candle1 and crossing above 30
above which makes a V shape on RSI indicator, colored in yellow on the chart , price bar is colored in yellow
3. Enter Long when the above V pattern occurs
EXIT LONG
1. when the RSI reaches 70 , close half position and move stop loss to up
2. when RSI reaches high value 90, close 3/4 position
3. when RSI crossing below 10 OR stopLoss hit , whichever happens first , close whole position
Note : take profit levels are colored in blue on RSI and Price candles
I have tested SPY , QQQ on daily chart , performance results are with 80% win rate and more than 3 profit factor
Happy Trading
KD compare strategy (交易策略對照組)This is a base and easy trading strategy for comparing my other strategy.
The strategy consider K >= 80 is strong target in the last high period,
and consider K <=20 is the weak target in the last low period.
In the strong target, the strategy may increase long at the first day when K < 50, until 2/3 max order limitation or strong target become to weak.
In the weak target, the strategy may increase short at the first day when K > 50, until 2/3 max order limitation or strong target become to strong.
there are three orders for this strategy.
when the strong become to weak, it may use the remain 1/3 to save itself, and change the direction at the next k > 50
when the weak become to weak, it may use the remain 1/3 to save itself, and change the direction at the next k < 50
這是一個簡單的雙向交易策略,用來對照我其他的策略。
當 K>=80 它會認為目前是強勢股,偏多操作
當 K<=20 它會認為目前是強勢股,偏空操作
當標的為強勢股時,當第一次 K<50 會加碼多單,最多買進2/3的持股,直到轉弱
當標的為弱勢股時,當第一次 K>50 會加碼空單,最多買進2/3的持股,直到轉強
當強勢轉弱勢時,會使用剩下的1/3來拯救持股,在下次 k > 50 出清持股
當弱勢轉強勢時,會使用剩下的1/3來拯救持股,在下次 k < 50 出清持股
Ranged Volume Strategy - evoThis is the strategy version for the ranged volume indicator I published a few days ago.
Long : First yellow break-out after red
Short : First red break-out after yellow
Because this is volume, you want to be using this on an exchange with high volume for the best results. Default settings are not optimized but work great on bitcoins daily chart.
A short explanation of the indicator below:
MBRLong only strategy that focuses on momentum, acceleration and volatility.
Backtested results are from 2011-2020
10 ticks of slippage and 0.25% comissions.
$10k starting equity is used and 33% of equity is traded per position.
Backtest isn't indicative of future results, automated forward testing will start soon and results will be posted in this thread.
E.B. StrategyThis strategy use a custom indicator. When the green line cross above the level 6, it's going to sell the stock. When cross down -6, it's going to buy the stock. You can change the level's number to adapt it to any asset.
It works for US30, or any Dow's Futures . But you can adapt it to any market, FOREX/Crypto/Stocks.
Also it works better in 5/15 min chart, but you can adapt it to any resolution too.
We use EMA 100 and ADX 14 as a filter of the indicator.
EntryModel is the level to make Buy and Sell transactions.
ExitModel is the level to close transactions.
In TPandSL you can choose:
No -> if you want only buy and sell, without closing transactions.
Model -> you will use the ExitModel parameter to close transactions.
% -> if you want to use a percentage of TP and SL.
Volatility -> to adapt TP and SL with the volatility of the moment.
Pips -> if you want to use Pips to close transactions.
If you would like to have the access, just DM me!
Ichimoku Kinko Hyo: ETH 3h Strategy by tobunoIchimoku Kinko Hyo strategy for long term trend trades of Ethereum . Optimized for 3H ticks.
Strategy BTBTBTBT — strategy for only long positional trading of top cryptocurrencies. BTCUSD and ETHUSD are best suited for this strategy.
The main idea of the strategy is to buy cryptocurrency with a leverage of up to 1: 3 when the market is growing, and get rid of cryptocurrency when the market is not growing or falling.
The strategy is working on a daily timeframe .
To determine the trend, the strategy uses a combination of indicators MA25 and MA99.
To determine overbought (pump) and oversold (dump), the strategy uses the oscillator "SPPO".
The strategy has three trading conditions:
1) SPPO SPPOoverBought - "pump" market. Close all long positions or leave a position with a micro-leverage of 1: 0.1 for a period of 28 days.
3) Closing> MA25 > MA99 - uptrend in the market. We open the "long" position with a leverage of 1: 3.
If market conditions do not meet the above criteria, then the strategy does not have open positions.
Input parameters
Recommended timeframe D1.
FastLength - period for fast MA. Default = 25.
SlowLength - period of slow MA. Default = 99.
SPPOoverSold - trigger for determining the dump in the market. Default = -30.
SPPOoverBought - trigger to determine the pump in the market. Default = 35.
SPPOmaxForLong - the maximum value of SPPO for opening a long position. Default = 10.
LeverageLong - leverage when entering the market with a "long" signal. Default = 3.
LeveragePamp - the amount of leverage when entering the market with a "pump" signal. Default = 0.1.
LeverageDamp - the amount of leverage when entering the market with a "dump" signal. Default = 1.
Log equity chart - If true, use a logarithmic scale for a graph of equity. Default = false.
WinStop Strategy for BItcoinWinStop strategy is a high alpha low volatility trend following strategy based on Validate PSAR trends and RSI and William %R oscillators.
Historical Exp MA crossover (EEMANI) strategyThis strategy is based on exponential moving average.
I was doing some research on when price extended too far from moving averages / exponential moving averages , ended up with this idea.
LONG RULE
when Exponential MA cross over the historical Exponential MA
EXIT RULE
when Exponential MA cross down the historical Exponential MA
Take Profit
if you check take profit parameter , strategy marks the bars in yellow color when it reaches 30% profit
Example:
I have tested this strategy with SPY , which showed best results with Exp MA = 51 and Historical Exp MA = 100
which has 71% win ratio and High profit factor low max draw down . especially Max Loss on any taken trade is less than 5%
Though price movement looks ugly on the chart , ultimately trade closes with decent profit / minimal loss
Note : past performance is not necessarily indicative of future results, please do your research and back test
Strategy - Backtest Uber Kuskus Starlight [UTS]Backtest of Uber Kuskus Starlight
Backtest with focus win/loss profitability.
Formula: profitability = win / (win+loss)
Default equity 100k USD
Default 2% Risk per trade
Default currency USD
Define backtest interval precisely by month, year, day
LONG and SHORT positions
Visualize SL and TP on chart
ATR (len: 14, smooth: SMA)
ATR based Stop-Loss, if hit trade will be closed and considered as loss
ATR based Take-Profit, if hit trade will be closed and considered as win
On TP or SL hit the trade is closed and marked as win/loss
LSMA Strategy (BTCUSD 1H)LSMA Strat - For usage on XBT / BTC USD Markets on 1H timeframe.
Uses multiple LSMA's. RSI from 1H + 4H.
Calibrated for this market and timeframe ONLY.
Backtest with leverage of 1.
Super Z strategy - Thanks to Rafael Zioni//Original script
//https://www.tradingview.com/script/wYknDlLx-super-Z/
This is a test for verifying if this interesting study works well.
The author, thanks to him!!!, advise a possible repaint because the script uses security function.
Refer to tradingview.com for more info on repainting:
www.tradingview.com
QUOTE:
We can see repainting in the following cases:
1- Strategies using calc_on_every_tick=true. A strategy with parameter calc_on_every_tick = false may also be prone to repainting, but to a lesser degree.
(this is not the case, ndr).
2- Using security for requesting data from a resolution higher than the resolution of the chart’s main symbol (i.e. do not use ion weelky chart if you set 1440 (1Day) in inputs)
NOTE: Thanks again to Rafael Zioni. If he requires to delete this strategy, I'll do immediately.
The MATRIX: Ultimate Crypto Position StrategyHi all,
We are cryptocurrency miners and 'hodlers’ since 2013, with unwavering confidence in the technology behind it. We’d always thought that it would be a life-changing êvent. And we were right. We went from “broke” to making shit loads of money and all the way back to bitter nothing. If you are lucky, you probably haven’t experienced what if feels to be high on cash and then fall very deep low, but let me reassure you, it is a nasty feeling.
Then we wondered, what the hell did we do wrong? Or better say, what didn’t we do right! The answer was dead simple: We had no experience in trading, we were overwhelmed by emotions and we didn't use any trading strategy. Hence, we were doomed to fail from the beginning.
In order to build an all-in-one profitable trading strategy, we had to start from zero. The one thing we learned is that your goal for financial gain cannot be achieved without discipline and consistency. Our prime focus was to absorb as much info as possible regarding trading and coding by doing an extensive self-study, which consequentially took us to the next level.
One of the secrets to being successful from a trading perspective is to have an indefatigable and undying thirst for information and knowledge. As Bruce Lee once said: “Learning is never cumulative; it is a movement of knowing which has no beginning nor end”. So, we adapted what was useful, rejected what was useless, and added our own preferences based on our mindset. We were totally committed to be the best. Our goal was never to lose money again! Of course, this is an illusion, as no single strategy is correct all of the time.
Therefore, the final trading strategy was based on the following key elements:
• The avoidance of risk is more important than absolute profit. Do not anticipate and do not move without market confirmation. Being a little late in your trade is your indication if you are right or wrong.
• Offering simplicity and practicality, for those that do not have the time to trade 24/7.
• Believe in analysis and not in forecasting. Trading is a skill for those who are smart and gambling for those who are not.
In conclusion, we are absolutely thrilled to finally release this trading strategy after one year of extensive back testing and optimization. The script was supposed to be for personal use only, but because Tradingview has helped us a lot in this process, we want to share it with all of you and give something back to this amazing community. If you learned something new today and found value, please give us a like to show your support! We’d really appreciate it.
***The script is invite-only, message us to get script access***
-------------------------------------------------------------------------------------------------
The MATRIX: Ultimate Crypto Position Strategy should be used as follows:
• The trading strategy was designed and optimized for trading cryptocurrencies only ; furthermore it works best on established high market cap cryptocurrencies that have a clear trend such as:
BTCUSD
ETHUSD
LTCUSD
XRMUSD
EOSUSD
ADAUSD
DASHUSD
ETCUSD
• The trading strategy is based on swing/position methodology. The script must therefore be used on daily timeframe candles only (1D) .
• Use USD trading pairs only (e.g. use ETHUSD instead of the ETHBTC) since the individual trend is captured more effectively and therefore gives better results.
-------------------------------------------------------------------------------------------------
The MATRIX:Ultimate Crypto Position Strategy is based on the following indicators:
• Ichimoku Cloud ; acts as the leading indicator.
• Volume ; without strong volume , a market move is not valid.
• MACD and Vortex ; both being used as confirmation indicators.
• Choppiness index ; avoids trading in choppy markets.
• Bullish/ Bearish Regular Divergences in combination with RSI to spot tops and bottoms.
• Simple and Exponential Moving Averages ; prêvents trading against the trend.
The trading strategy is easy to use, trend based and without repainting, meaning once a signal has been made it is permanent and that no future data is used in the decision making. It detects the trend and filters out market noise based on more than 10 technical indicators. ONLY when all indicators align with each other the algorithm prints a BUY or SELL signal. The trading strategy provides high probability trading signals and minimizes risk! This script aims to capture the profit from longer term trending moves and by doing so filters out non-substantial trends and avoids the associated risks with these trades.
-------------------------------------------------------------------------------------------------
The MATRIX: Ultimate Crypto Position Strategy has the following features:
• Automatically generated Buy / Sell alerts in the form of a label.
• NO Repaint once candle is closed.
• SAFEGUARD ; custom built-in security prevẹnts trading when the price is out of equilibrium.
• Customizable Display for the Ichimoku cloud indicator display.
-------------------------------------------------------------------------------------------------
Below are the backtest results. Keep in mind that this strategy is quite conservative resulting in few long positions. These results are therefore no guarantee for the future.
Back test results: (only Long trades, signal to signal, order size: 100% of equity, commision fee 0.1%, period: start of chart)
Exchange-----Asset---------Timeframe---Percent Profitable----Profit Factor-----Total Trades----Max Drawdown---Average bars in trade-----Net Profit
Coinbase-----BTC/USD---------1D----------------100----------------N/A------------------10---------------0.00---------------------54-------------------6183.6
Coinbase-----ETH/USD---------1D----------------100----------------N/A------------------7----------------0.00---------------------46-------------------11673.0
Coinbase-----LTC/USD---------1D-----------------100---------------N/A-------------------7----------------0.00---------------------46------------------4727.0
Bínance------EOS/USD---------1D-----------------100---------------N/A-------------------3----------------0.00---------------------34------------------42.8
Bínance------ADA/USD---------1D-----------------100---------------N/A-------------------2----------------0.00---------------------40------------------118.4
Coinbase-----XTZ/USD---------1D-----------------100---------------N/A-------------------1----------------0.00---------------------36------------------34.4
Bínance------BNB/USD---------1D-----------------66.7--------------10.8-------------------6---------------24.22--------------------38------------------1488.8
Bínance------ETC/USD---------1D-----------------100---------------N/A-------------------2----------------0.00---------------------33------------------94.9
Bínance------XMR/USD---------1D-----------------100---------------N/A-------------------3----------------0.00---------------------43------------------74.2
Bínance------ICX/USD----------1D-----------------100---------------N/A-------------------2----------------0.00---------------------29------------------215.3
-------------------------------------------------------------------------------------------------
Reminder: Use this trading strategy at your own risk and trade responsibly. We are not responsible for any financial loss using this strategy.
***The script is invite-only, message us to get script access***
Mean Reversion w/ Bollinger BandsThis is a more advanced version of my original mean reversion script.
It employs the famous Bollinger Bands.
This robot will buy when price falls below the lower Bollinger Band, and sell when price moves above the upper Bollinger Band.
I've only tested it on the S&P 500, though you could try it out on other assets to see the backtest performance.
During the recent COVID-19 bear market drop, it produced several buy signals on the S&P which I followed, and made some nice gains so far.
I still think this would make a better investing strategy (buy undervalued / sell over-valued), rather than a trading strategy.
I use this robot for my long term portfolio.
TS - Long Term Trading Algorithm - StrategyStrategy to the bespoke TS - Trading Algorithm. Highly profitable cryptocurrency trading model.
This script is long only profitable strategy- there is a script coming in the next few days for shorter timeframe long & short trading.
- Backtesting is from 2017.
- 0.05% commission
- 100% capital allocation per trade.
Access to both the backtesting strategy & indicator is paid - PM me for details.
Armi Goldman V1.7 CopernicusScript uses an EMA (Exponential Moving Average) as an indicator. When the price crosses (breakout/breakdown) the EMA, the trigger is activated. Script does the breakout and breakdown calculations. It considers one candle close above or below the EMA.
It is used only in trending markets like bullish trends and/or bearish trends and never in flat. It can get very bad results so pay attention!
Feel free to test it and add comments.
I am open to answer any questions.
I would like to know what you think and how can we improve this strategy.
Thank you & enjoy!
Strategy Follow Line MTF Any MM AverageThe objective is only to evaluate different configurations of the indicator "Follow Line MTF Any MM Average".
The strategy does not have position management, it's very basic, this indicator should be used to see trend, range zones, evaluate the best areas to enter the market, use higher time frames to confirm a direction can be useful.
I do not recommend using only this indicator to trade, because you can lose all your money if you do not know what you are doing.
I hope you find it useful.
Successes
Takashi Bows Autopilot | 2nd Gen | [Strategy]This is a strategy tester for Takashi Bows Autopilot indicator. Please check for more details and instructions at our website.
Takashi Bows Autopilot is the ultimate trading tool. Effortless, its signals put traders inside strong trends, locking big profits that cover all loss generated during sideways trends.
An upgrade version of Takashi Bows v1, this script is the result of some operations developed by us, it can easily adapt to different markets and time frames. Now ranging from level 1 to 20, traders can select the amount of signals to be displayed on the chart. Based on price movement, it signals entries after strong movement up or down.
Take Profit included. If a position is opened in one direction, it should be closed at take profit levels or when a position in the opposite direction is opened.
Inputs
Level
Integer input. Sets a level for signals generated up and down. The higher the level, more signals on chart, and vice-versa.
Take Profit %
Float input. Sets a percent of take profit for exiting previous open position.
Rule
Float input. Sets a ruler for more accuracy on less volatile markets. Standard value 1 for high volatile markets, higher values for low volatile markets.
Disclaimer:
Back-tests do not guarantee performance on the future. Even if a trading setup is profitable in historical data. it could be unprofitable in the future.
To get access to this and other scripts check links below.