Smoothed Trend Wave (Strategy)
This is a the Final version of Smooth Trend Wave
* Average Trend is show
* Calculation of different period of moving average
* Candlestick Pattern
* Background color is based on candle color.
Use Strategy Format to show back-test result. When I create this indicator is based on daily chart. (lower timeframe, result might be different)
7 type of strategy (can be select)
Strategy 1 & 2 : long/short according the trend
Strategy 3 & 4 : long/short according retracement in same trend
Strategy 5 & 6 : long/short bet for rebound
Strategy 7 : potential buying point (low chance happens)
Example of back-testing is use crypto between 1-1-2019 to 30-7-2020 (after JULY is a bullish momentum will causing *repaint" of strategy result)
* Strategy is set initial equity of 10000usd
* Each order is only 30% of equity, to make risk management
* Maximum 5 order is allow in strategy
Kindly PM or comment below if you have any question.
Cerca negli script per "algo"
Noro's ZZ-6 by hamster-botThe original script is available here
New version of ZZ-strategy.
Repaint?
Normal lines are not redrawn. Dotted lines repaint, but do not affect trading (do not affect backtests). You can turn off repaint in the script settings. Repaint (dotted lines) are needed only for clarity. To make it clear from which bar the level is created.
Levels
Lime lines above - level from a local high bar. To open a long position. Using a market stop order.
Red line at the bottom - the level from a local low bar. To open a short position. Using a market stop order.
Trading
You can trade without short positions. Then the red line is the level for a stop-loss order.
Reverse trading can be used. Without stop-loss orders.
Risk size
Order size depends on the risk size parameter and possible loss. If risk size = 2%, it means that the loss will be no more than 2%.
For crypto
Symbols: XBT/USD, BTC /USD, BTC /USDT, ETH/USD, etc - need USD(T)
Timeframes: 1h, 4h, 1d
The script will continue to be developed by the Hamster Bot team
5 min scalper for indian marketHi friends....publishing 5 min scalper for indian market... which shows the movement of price over time and how strong those movements are/will be, regardless of the direction the price moves, up, or down. Indicator specifically useful, as it helps traders and analysts spot points where the market can and will reverse by providing signals long (buy) and short (sell). Show the relative strength of price movements but leave out the directionality of the price movements, best utilized in combination with other technical indicators – such as trend lines and moving averages – which show price trends and directions. Having an alert feature to make aware market players from signals provided by strategy.
It analyz underlying volume and shows buy and sell signal...
U also can modify algo length ..
some tips for new traders to become successful trader
1: always follow risk management...
2: every stock/ forex / crypto has it own cycle.. So pls dont jump from one stock / forex pair to another when u hear some stock / crypto has
made new high or low... Bcs after that consolidation period starts.. During consolidation we can not make more profit as in trending market.. So be patient when u had made some position or tarde in one stock/ pair...
3 : we dont require to trade in every stocks / forex/crypto.. Just one stock and pair trading daily make u profitable beyond ur expection.. Bcs
trading in one stock / forex pair.. make u very comfortable and u may always know its movement... And u also trade in every cycle of this
stock/ pair.. So u also trdae its trend days which made highest profit. We dont know when is trend of any stock... Compare with it
business... Trading is business not one day rich game... Its business... It takes time and u have to do same thing agian and again to become
sucessfull trader for this u can use tradingview alerts. .for that u dont need to seat infrot of ur terminal screen.. u can also do algo trading
by using tradingview alerts
4 : By following risk management and incerase lot size as profit increased... This is the key 🔑 of sucess in stocks / forex / crypto market.
I thinks this tips may help new trader. U can modified according to ur trading style..
You can personal message me if u want to use this strategy
******************if u want to use this indicator u can personal message me********************************************************
Keltner Channel [LINKUSDT] 1HThis is a long-only strategy tested on LINK/USDT, 1 hour bar, from Feb 2019. The entry is determined by the breakout of upper Keltnel Channel and when the +DI is higher than 32. Instead of a fixed stop-loss from the original script , I change the exit to the middle band of the Keltnel Channel. 1st profit target will close 20% of the position. 2nd profit target will close 30% of the position. While the remaining 50% position will be closed when the price closes below the middle band of the Keltnel Channel, to take advantage of big trend. All parameters are adjustable. I added another option to enable or disable the ribbon trend filter.
My thoughts: For the same period, LINK appreciated 3000%. So I guess most in and out strategies couldn’t beat a buy and hold strategy during this period. But this doesn’t mean that this strategy is not feasible as each strategy is designed to only take advantage of a certain pattern or behavior of the market. Also, short term strategies allow you to use leverage and hence enable you to use you capital efficiently. Commission is set to 0.1%, taking account of the slippage.
Suggestion: Please perform walk forward analysis before you use real money for trading. Parameters need to be adjusted from time to time depends on your analysis. Can try using ATR for profit targets as over a longer term, the volatility might drop hence a high fixed % profit targets might not be realistic.
Any suggestions are welcome!
BTCUSD 30MIN TREND STRATEGYBTCUSD 30MIN TREND STRATEGY.
This strategy signals is based on the market close price and calculate for buy and sell signals. it uses composite technical algorithm to filter out the best buying and selling points.This indicator should be used to see trend, range zones, evaluate the best areas to enter the market, use only 30 MINUTES and BTCUSD and only bitcoin derivatives BTCUSDT perpetual or inverse etc. Can use spot or future markets
It designed for automatic crypto trade bot systems. You can use alarms from webhook setting up for your bot.
For use message me.
PpSIgnal Algorithm Trade System BANKNFTY Only for trading BankNifty Fut.
Use in 15 minutes time frame.
Initial capital 1000 Use Indian Rupee , you buy the maximum of the capital since it represents little money at the beginning, you can risk less capital in percentage, for example, 10% of 1000 IR.
Commission 0.006% per contract, we use the commission of one of the best-known brokers.
You can adjust the slippage you consider.
Date of time strategy
strategy star from 05/2019, You can choose the start day and the end day of the backtesting test.
Money management
Take profit to buy 1%
Stop Lose sell 1%
Take Profit 1%
Stop Loss 1%
How it works?
The system works by looking for trends and volatility in a 15-minute time frame.
Once the system finds the trend and volatility, it opens an operation looking for a profit at the buy of 1% and loss control of 1%. For Sell operations, it will seek a 1% profit with a 1% loss control.
Enjoy it ....date expired 17 December 2020
[SATS]Foreca$ter Backtester **This is Backesting version of Foreca$ter Indicator. Access of backtester will be gained together with access of Foreca$ter**
Foreca$ter is an indicator design for trend trading.
Description:
Foreca$ter is originally design for trend trading, but with the timeframe focus on lower timeframe eg: 15mins, 5mins and lower, it can be used as indicator scalping.
There are symbol in Foreca$ter indicator that preview on the where next possible Buy/Sell signal might be generated and pay attention on it.
In the setting, multiple signal can be toggle on to shows multiple signal that generated. It also provide the ability to set SL and multiple TP targets for alert setting.
The algorithm is based on multiple aspect to signal Buy and Sell signal. Below are the aspect behind.
-Determine support resistance on higher time frame using pivot level.
-Multiple EMAs cross are use for trend determination.
-On lower timeframe, breakout of support or resistance follow by trend confirmation to signal Buy and Sell
-The signals are ticker specified and there is fine tuned between different tickers and timeframe. Therefore it only works on the specified tickers and timeframe in the sysmbol.
User Manual:
Symbol: You must match the symbol with the pairs and timeframe for it to works. Eg: For "Binance: BTCUSDTPERP 15mins" you need to set the ticker as Binance: BTCUSDTPERP and set timeframe to 15mins
Show Info Panel: Toggle on and off of info panel.
Multiple Entry: Toggle on to generate signal whenever the condition are met. This give you next possible entry if you missed the current one.
Customizable stoploss and multiple take profit target
Alert for Buy/Sell, SL and multiple TP
Current support pairs:
-BTCUSDTPERP 15mins
-BNBUSDTPERP 15mins
-LINKUSDTPERP 15mins
-LINKUSDTPERP 5mins
-LINKUSDTPERP 3mins
Remarks:
- Foreca$ter is continuous develop on new pairs and on different timeframe.
DM us in TV or our Discord for access to the indicator.
IBVOL SignalsThis indicator can be used for swing algorithmic trading. It will give Buy and Sell signals on the chart based on concepts of volatility and momentum.
This works for the IBVOL-USD token on FTX exchange.
Value for the traders: During periods of sideways price action by BTCUSD, the value of IBVOL will go up and the indicator will give a buy signal and traders will profit if they buy the token. Just before an impending volatility, such as spike of BTC price, it will signal a sell, so traders can sell this token and reinvest their profits in BTC trade.
The strategy has so far had 100% hit rate, with very low drawdown (0.01%), and high profit factor of 2176.
For access please contact me via DM on TradingView.
MTF HTMultiTime Frame - HT ( Harmonic Trades)
How does it work ? The code uses two two models built on the theory of Harmonics to determine trade calls.
Model 1 (Default) Uses a low risk model and Model 2 (Optional) Uses an aggressive model
How to Deploy / Use
As part of the Indicator there are 1 Choices that the user can opt for
Box Resolution - The resolution of the checks , typically set at 60 , can be customized by the users.
Use Model 2 - This would add trades based on Model 2 Algorithm for the users
The Plot level display in three colored lines that are plotted by the code.
Black: Low end of the setup / Stop Loss
Red : Entry Point for the Setup
Teal: Target Point for the setup
Visual Checks - The user could manually initiate the trade at the colored lines mentioned above are placed and the trade is that same direction ,
The system would only initiate the trade when the appropriate harmonic pattern is identified
Usage/Markets : Index Trading / Equities and also well with Commodities and Currencies
Time Frame : works well between 3 and 30 , keep the Box resolution to at least 45 for 3 mins TF and you could move upto 120 (2 hrs ) for a 30 mins TF.
Strategy Settings Used/Assumed : All of this values are provided in the Properties Tab of the Indicator Settings
and the users can customize it to suit the broker or the product they are charting it against
Initial Capital : 200 000
Order Size : 1 Lot for Model 1 , and If you are optionally selecting Model 2 : 1 more lot would be used as and when applicable
Commission : is set at 0.025%
Slippage : 100 ticks
Recalculate Option : After the Order is filled is selected by default
Disclaimer : There could be scenarios when the breakout/breakdown candle is rejected , especially when it is long one
so it is always recommended to have a confirmation candle that open-closes above the breakout candle / open-closes below the breakdown candle
If you like it and find it useful or if you find a defect or bug , Please let us know in the comments .. that would encouraging !! for us to develop it further
Thank you and have a beautiful and Profitable trading session !
Hull StrategyHull moving average based strategy with custom values. The values were calculated based of a brute force learning algorithm that i use to tune indicators.
Trade at your own risk no one can guarantee a 100% strike rate!
Project Aurora Back testing betaWe have made this script Because we Wanted to speed up the trading and speed up the learning curve and tell people get past their first steps of trading by not taking many losses And by being smart about it so we have created a algorithm that you can tune to your specific stock that you want to trade preferably mid High cap stocks and ETFs such as TQqq and sqqq and we just wanted to give back to the trading community and this is a beta version of the full version that will be coming out pretty soon somewhere in December of 2020. this is our beta version please send us any information on how to make it better thank you.
Buying points-for the buying Point settings there's three things that you can adjust the source of the equation outer and the multiplication equation please change the settings accordingly to your stock and try to make it as profitable as possible bass settings that work on most are
ohlc4 for but the source for the equation adder 150 and for the multiplication equation 3. These are the best settings that work well on pretty much everything but you can make it more profitable by changing and fine-tuning it to your liking.
Selling Points- it's essentially the same thing as the buying points except I'm going to give you different settings to run on. but the source ohlc4 for the equation adder 130 and for the multiplication equation 2.8
Show Extra sell signal- cell if you wanted to use ATR in your selling points you can definitely click that and turn it on and then you can adjust the APR by adjusting the ATR length and the ATR multiplier stock those are very just fine I don't really like to use them though take care of you cells that are not really quite there yet if you know what I mean.
Short points- The Shore points are where you want the short signals to be and stock these are very very helpful especially if you're treating tqq and sqq now that it's practically the same to the selling points and the buying points but they run a little bit different. so these settings are for the source LOW for the ad equation 200 and for the short multiplication equation 4.
Bands- this indicator runs on bands and you can see those bands by clicking band for buys band for sales and band for shorts you can see how it works intricately right there
strategy Direction- this just means if you want only shorts are only the Young's Positions
back testing dates- so these are pretty self-explanatory they're just where you want to buy and sell to start going and if you want to take a specific amount of time into the back testing.
Okay so this is a script that took me 70 hours to make. Please be respectful. Please send me any questions, comments or concerns. I'll get back to you as soon as possible. and we will be having a project Aurora final version coming out sometime in December 2020. I would really really like your feedback so I can learn how to make it better thank you
Pagoda of scalping, excessivetradingThis is a system I developed initially for scalping. Please be careful because trading only by this system blindly can cause total losses!
This system uses a risky technique by taking profits very fast.
It is build around moving averages and japanese candlesticks close prices cross the moving averages. The stop loss in this example is the reversal of the moving average crossing the prices.
You can feel free to play with parameters and let me know what other good stuff you did find out!
Peace!
Trading Safely Market Crusher Pro Strategy BuilderWith The Market Crusher Pro You Can Build Trading Strategies For Options, Futures, Cryptocurrencies, Equities, Commodities, Currencies, and Stock Market Indexes.
The Market Crusher Pro Buy And Sell Strategy Builder gives you the ability to back-test all tradeable markets. You can back test using specific trading times on any chart time frame before you execute any trades for both manual trading and automated trading.
The Market Crusher Pro Buy & Sell signals are determined utilizing our price range volatility algorithmic technical indicator designed to generate alpha.
The Market Crusher Pro Buy & Sell signals will only be visible during your specified trading times.
The Market Crusher Pro Profit Targets are determined in percentages and you can take profit up to 4 times per trade.
I suggest setting limit orders at profit targets.
To determine how much of position to close divide position size by number of profit targets
Example: If your position size is 100k and you are in a Long trade set 4 limit sell orders of 25k each at your 4 profit targets.
*Percentage of position to be closed for each trade is set to 25% however, you can adjust this to take profit 3 times by changing settings on 1st, 2nd, and 3rd profit targets to 33.3%, or 2 times by changing 1st and 2nd profit targets to 50%
Highlights:
Add to any ticker, and time frame
Specify trading times
Specify both long and short profit targets in percentages
Take profit up to 4 times per trade
Use either a fixed stop loss or a trailing stop loss or both
Set Strategy alerts
Prints on the current bar in real time
DOES NOT repaint several bars after the fact
*We only use candles for trading and back testing because, Heikin Ashi, Renko, Kagi, Point & Figure, and Range produce unrealistic results.
*Back test results below are based on a initial capital of $5000 and Trade using 10% of initial capital.
Please Note: For forex trading to enter a trade on EURUSD for example the spread is typically 1.2-2.0 pips to enter a trade so you are not charged a commission on every market buy or sell or for limit orders set at profit targets. We are not able to input this into back test settings.
Example: If you open a 100k position it will cost you $12-$20 assuming the spread is 1.2 to 2.0 pips
Please Note: All users get access to weekly trading and strategy building sessions and a interactive Q&A. You can get more information on these benefits as well as get access to the strategy builder by clicking the MC PRO link listed in signature section below
Custom Triple Moving Average Strategy | Auto BacktestingCreate your own MA Strategy set of up to three moving averages!
Auto Backtesting.
Cloud between MA1 and MA2.
Many different MA types to choose from.
Totally Custom!
Happy Trading, and algorithm analysis!
ELLIPSE: Bidirectional Swing Trading Strategy (Strategy Version)The eternal question that has occupied humanity since its early existence is what is the meaning of life and why am I here? On a daily basis this quest for meaning is distilled into a somewhat simpler question: What is the reason for getting up every morning?
For many of us, these thoughts arise even more as autumn arrives and it gets dark, bleak and cold outside. I guess it is easier to forget about the meaning of your life, while swimming on a sandy beach, enjoying a cocktail. Than you are living you life and you don’t need to rationalize it. Everything makes perfect sense!
In winter however, you need to get more “creative”. I, for example, would always try to change my perspective of things by doing something that makes my heart beat faster, like drinking a bottle of Heineken on a Friday evening or having endless conversations with my mates about stupid things, or kicking a ball against BALLONTHEROOF 7 on a Saturday morning. During the week, I would take out my frustrations on the fitness equipment at the local gym.
But what if all of this is canceled by CORONA? All that’s left is to work for the boss and run your 10km lap twice a week. The question is, what do you do now, with this huge amount of ”free” time than any old person would give anything for. When you are young time is never ending, when you are older it is never enough. Time has reached a different dimension in these days.
However, you can still do 2 things. You can slowly let the walls come to you and give up or you can actually do something useful with your time and find something that you are good at.
For us this choice was easy. After the success of our positioning trading strategy the MATRIX, at the time of the corona lockdown, we started making a swing trading strategy for the 4H timeframe, called ELLIPSE. We have included all feedback and any improvements we received about the positioning strategy and integrated it into the 4H script.
The main requirements of the script that we had set ourselves were:
Bidirectional
Low max drawdown
High profit factor
Works on all main crypto coins
By fully focusing ourselves on the script over the past few months, I can’t help but (unhumbly) say that we have not only succeeded in our mission, but that we have absolutely surpassed ourselves!
The only bright spot in this heavy corona time is, if a drug becomes available, there is extra money in the bank!
***The script is invite-only, message us to get script access***
-------------------------------------------------------------------------------------------------
User Guidelines:
The trading strategy was designed and optimized for trading cryptocurrencies only; furthermore it works best on established cryptocurrencies that have a clear historical trend such as:
BTCUSD
ETHUSD
LTCUSD
XRPUSD
ADAUSD
The trading strategy is based on swing trading methodology. The script must therefore be used on 4h candles only .
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 trading strategy is bidirectional , both long and short entries are generated.
-------------------------------------------------------------------------------------------------
Indicators used in this strategy:
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.
Simple and Exponential Moving Averages ; prevents trading against the trend.
The trading strategy is easy to use, bidirectional, 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 LONG or SHORT signal. The trading strategy provides high probability trading signals and minimizes risk! This script aims to capture the profit from short to medium trending moves and by doing so filters out non-substantial trends and avoids the associated risks with these trades.
-------------------------------------------------------------------------------------------------
Features:
NO Repaint once candle is closed.
Stop loss feature ; set your own stop loss to manage your risks.
Customizable Display for the Ichimoku cloud indicator display.
Bidirectional ; both long and short trading positions can be enabled.
Full backtest feature ; Easily generate your own backtest results for each asset (Strategy Version Script).
Alerts ; Get notified via email / pop-up / sms / app once a signal is given! (Alert Version Script).
-------------------------------------------------------------------------------------------------
Backtest results
Below are the back test results. Only well established cryptocurrencies are displayed with a clear historical trend:
Long and short trading positions,
Signal to signal trading (no multiple orders),
Initial Capital: 10 000 USD,
Order size: 10% of equity per trade,
commission fee 0.1%, period: start of chart,
Exchange-----Asset------Timeframe---Percent Profitable----Profit Factor---Total Trades----Max Drawdown----------Net Profit------
Bínance------BTCUSDT------4H-----------------54.4---------------5.32-----------------57----------------1.58%------------40.34%-(4034 USD)
Bínance------ETHUSD-------4H-----------------50.9---------------5.01---------------- 57----------------2.96%------------54.93%-(5493 USD)
Bínance------LTCUSD--------4H-----------------61.0---------------5.08-----------------59----------------2.09%------------57.06%-(5706 USD)
Bínance------XRPUSD-------4H-----------------43.13--------------3.52-----------------51----------------2.42%------------43.13%-(4313 USD)
Bínance------ADAUSD-------4H-----------------57.5---------------3.36-----------------47----------------3.46%------------40.82%-(4082 USD)
-------------------------------------------------------------------------------------------------
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***
hc,bitmexi have tweaked the algorithm to use the difference in MACD to get the correct direction of entries rather than using direction of candles which are not always indicative of trend direction. These changes increase net profit, profitable trades, while reducing drawdown.
What is going on here? This strategy is pretty simple. We start by measuring a very long chunk of volume history on BitMEX:XBTUSD 1 hour chart to find out if the current volume is high or low. At 1.0 the indicator is showing we are at 100% of normal historical volume . The blue line is a measure of recent volume! This indicator gets interested when the volume drops below 90% of the regular volume (0.9), and then comes back up over 90%. There's usually a pump of increased price activity during this time. When the 0.9 line is crossed by the blue line, the indicator surveys the last 2 bars of price action to figure out which way we're going, long or short. Green is long. Red is short. To exit the trade we use a 7 period fast ema of the volume crossing under an 11 ema slower period which shows declining interest in the market signifying an end to the pump or dump. The profit factor is quite high with 5x leverage, but historically we see 50% drawdown -- very risky. 1x leverage looks nice and tight with very low drawdown. Play with the inputs to see what matches your own risk profile. I would not recommend taking this into much lower timeframes as trading fees are not included in the profit calculations. Please don't get burned trading on stupid high leverage. This indicator is probably not going to work well on alts, as Bitcoin FOMO build up and behavior is different. This whole indicator is tuned to Bitcoin , and attempts to trade only the meatiest part of the market moves.
[NLX-L3] Backtest- Introduction -
This backtest module is part of my new modular trading framework - however it can be used with any indicator that has a signal plot output (1 = long / -1 = short)
I chose to release this one first, I've got all the modules for the framework ready and they going to be released in the coming days. Got to start somewhere... ;)
This trading framework is the result of many years experience building indicators and trading strategies.
I couldn’t find a trading framework in Pine Script that would suit my needs and so I started to design my own from scratch. I’m trading with this framework myself so I’ve made sure that it’s flexible and absolutely reliable in a live-trading environment.
- Architecture -
What makes this framework so flexible is the modular architecture, different layers that all serve a very specific purpose.
You will notice that the module names include either L1 - L2 or L3:
- Layer 1 (L1) is the base layer and the foundation. L1 indicators are used to determine the trend, volume profile and filter noise. You would use L1 to see if it’s a good time to trade, what is the direction - or if it's better to trade at all in unfavourable conditions
- Layer 2 (L2) receives the result of L1 and if the market conditions are good the L2 indicator looks for an optimal entry point to go long or short. It is possible to combine several L2 indicators and trigger a long/short signal only if all L2 indicators agree.
- Layer 3 (L3) receives the final signal from L2 and it’s where we can now backtest the result of our trading strategy and trigger trade alerts with help of the alert module.
- Features -
External Input Source (any indicator with signal plot can be used)
Safe Entries Option: Enter a trade only if the position is profitable ad the momentum allows
Pyramid Entries
Partial Take-Profit: %-Step Interval and Quantity per Step
Stop Methods: Trailing Stop, TP/SL with ATR Option, several type of stop bands...
Profit/Loss Label with Fee, Slippage and Leverage Calculation
- Upcoming Modules -
I'll release a couple of great indicators and filter in the coming days...
Trend Score (includes 10 different Trend and Filter algorithms)
Breakouts & Pullbacks
QQE++
True Range Filter
Support / Resistance
Consolidation Range Breakouts
- Alerts & Trading Automation -
Will be released shortly. Check my signature below.
Ruckard TradingLatinoThis strategy tries to mimic TradingLatino strategy.
The current implementation is beta.
Si hablas castellano o espanyol por favor consulta MENSAJE EN CASTELLANO más abajo.
It's aimed at BTCUSDT pair and 4h timeframe.
STRATEGY DEFAULT SETTINGS EXPLANATION
max_bars_back=5000 : This is a random number of bars so that the strategy test lasts for one or two years
calc_on_order_fills=false : To wait for the 4h closing is too much. Try to check if it's worth entering a position after closing one. I finally decided not to recheck if it's worth entering after an order is closed. So it is false.
calc_on_every_tick=false
pyramiding=0 : We only want one entry allowed in the same direction. And we don't want the order to scale by error.
initial_capital=1000 : These are 1000 USDT. By using 1% maximum loss per trade and 7% as a default stop loss by using 1000 USDT at 12000 USDT per BTC price you would entry with around 142 USDT which are converted into: 0.010 BTC . The maximum number of decimal for contracts on this BTCUSDT market is 3 decimals. E.g. the minimum might be: 0.001 BTC . So, this minimal 1000 amount ensures us not to entry with less than 0.001 entries which might have happened when using 100 USDT as an initial capital.
slippage=1 : Binance BTCUSDT mintick is: 0.01. Binance slippage: 0.1 % (Let's assume). TV has an integer slippage. It does not have a percentage based slippage. If we assume a 1000 initial capital, the recommended equity is 142 which at 11996 USDT per BTC price means: 0.011 BTC. The 0.1% slippage of: 0.011 BTC would be: 0.000011 . This is way smaller than the mintick. So our slippage is going to be 1. E.g. 1 (slippage) * 0.01 (mintick)
commission_type=strategy.commission.percent and commission_value=0.1 : According to: binance . com / en / fee / schedule in VIP 0 level both maker and taker fees are: 0.1 %.
BACKGROUND
Jaime Merino is a well known Youtuber focused on crypto trading
His channel TradingLatino
features monday to friday videos where he explains his strategy.
JAIME MERINO STANCE ON BOTS
Jaime Merino stance on bots (taken from memory out of a 2020 June video from him):
'~
You know. They can program you a bot and it might work.
But, there are some special situations that the bot would not be able to handle.
And, I, as a human, I would handle it. And the bot wouldn't do it.
~'
My long term target with this strategy script is add as many
special situations as I can to the script
so that it can match Jaime Merino behaviour even in non normal circumstances.
My alternate target is learn Pine script
and enjoy programming with it.
WARNING
This script might be bigger than other TradingView scripts.
However, please, do not be confused because the current status is beta.
This script has not been tested with real money.
This is NOT an official strategy from Jaime Merino.
This is NOT an official strategy from TradingLatino . net .
HOW IT WORKS
It basically uses ADX slope and LazyBear's Squeeze Momentum Indicator
to make its buy and sell decisions.
Fast paced EMA being bigger than slow paced EMA
(on higher timeframe) advices going long.
Fast paced EMA being smaller than slow paced EMA
(on higher timeframe) advices going short.
It finally add many substrats that TradingLatino uses.
SETTINGS
__ SETTINGS - Basics
____ SETTINGS - Basics - ADX
(ADX) Smoothing {14}
(ADX) DI Length {14}
(ADX) key level {23}
____ SETTINGS - Basics - LazyBear Squeeze Momentum
(SQZMOM) BB Length {20}
(SQZMOM) BB MultFactor {2.0}
(SQZMOM) KC Length {20}
(SQZMOM) KC MultFactor {1.5}
(SQZMOM) Use TrueRange (KC) {True}
____ SETTINGS - Basics - EMAs
(EMAS) EMA10 - Length {10}
(EMAS) EMA10 - Source {close}
(EMAS) EMA55 - Length {55}
(EMAS) EMA55 - Source {close}
____ SETTINGS - Volume Profile
Lowest and highest VPoC from last three days
is used to know if an entry has a support
VPVR of last 100 4h bars
is also taken into account
(VP) Use number of bars (not VP timeframe): Uses 'Number of bars {100}' setting instead of 'Volume Profile timeframe' setting for calculating session VPoC
(VP) Show tick difference from current price {False}: BETA . Might be useful for actions some day.
(VP) Number of bars {100}: If 'Use number of bars (not VP timeframe)' is turned on this setting is used to calculate session VPoC.
(VP) Volume Profile timeframe {1 day}: If 'Use number of bars (not VP timeframe)' is turned off this setting is used to calculate session VPoC.
(VP) Row width multiplier {0.6}: Adjust how the extra Volume Profile bars are shown in the chart.
(VP) Resistances prices number of decimal digits : Round Volume Profile bars label numbers so that they don't have so many decimals.
(VP) Number of bars for bottom VPOC {18}: 18 bars equals 3 days in suggested timeframe of 4 hours. It's used to calculate lowest session VPoC from previous three days. It's also used as a top VPOC for sells.
(VP) Ignore VPOC bottom advice on long {False}: If turned on it ignores bottom VPOC (or top VPOC on sells) when evaluating if a buy entry is worth it.
(VP) Number of bars for VPVR VPOC {100}: Number of bars to calculate the VPVR VPoC. We use 100 as Jaime once used. When the price bounces back to the EMA55 it might just bounce to this VPVR VPoC if its price it's lower than the EMA55 (Sells have inverse algorithm).
____ SETTINGS - ADX Slope
ADX Slope
help us to understand if ADX
has a positive slope, negative slope
or it is rather still.
(ADXSLOPE) ADX cut {23}: If ADX value is greater than this cut (23) then ADX has strength
(ADXSLOPE) ADX minimum steepness entry {45}: ADX slope needs to be 45 degrees to be considered as a positive one.
(ADXSLOPE) ADX minimum steepness exit {45}: ADX slope needs to be -45 degrees to be considered as a negative one.
(ADXSLOPE) ADX steepness periods {3}: In order to avoid false detection the slope is calculated along 3 periods.
____ SETTINGS - Next to EMA55
(NEXTEMA55) EMA10 to EMA55 bounce back percentage {80}: EMA10 might bounce back to EMA55 or maybe to 80% of its complete way to EMA55
(NEXTEMA55) Next to EMA55 percentage {15}: How much next to the EMA55 you need to be to consider it's going to bounce back upwards again.
____ SETTINGS - Stop Loss and Take Profit
You can set a default stop loss or a default take profit.
(STOPTAKE) Stop Loss % {7.0}
(STOPTAKE) Take Profit % {2.0}
____ SETTINGS - Trailing Take Profit
You can customize the default trailing take profit values
(TRAILING) Trailing Take Profit (%) {1.0}: Trailing take profit offset in percentage
(TRAILING) Trailing Take Profit Trigger (%) {2.0}: When 2.0% of benefit is reached then activate the trailing take profit.
____ SETTINGS - MAIN TURN ON/OFF OPTIONS
(EMAS) Ignore advice based on emas {false}.
(EMAS) Ignore advice based on emas (On closing long signal) {False}: Ignore advice based on emas but only when deciding to close a buy entry.
(SQZMOM) Ignore advice based on SQZMOM {false}: Ignores advice based on SQZMOM indicator.
(ADXSLOPE) Ignore advice based on ADX positive slope {false}
(ADXSLOPE) Ignore advice based on ADX cut (23) {true}
(STOPTAKE) Take Profit? {false}: Enables simple Take Profit.
(STOPTAKE) Stop Loss? {True}: Enables simple Stop Loss.
(TRAILING) Enable Trailing Take Profit (%) {True}: Enables Trailing Take Profit.
____ SETTINGS - Strategy mode
(STRAT) Type Strategy: 'Long and Short', 'Long Only' or 'Short Only'. Default: 'Long and Short'.
____ SETTINGS - Risk Management
(RISKM) Risk Management Type: 'Safe', 'Somewhat safe compound' or 'Unsafe compound'. ' Safe ': Calculations are always done with the initial capital (1000) in mind. The maximum losses per trade/day/week/month are taken into account. ' Somewhat safe compound ': Calculations are done with initial capital (1000) or a higher capital if it increases. The maximum losses per trade/day/week/month are taken into account. ' Unsafe compound ': In each order all the current capital is gambled and only the default stop loss per order is taken into account. That means that the maximum losses per trade/day/week/month are not taken into account. Default : 'Somewhat safe compound'.
(RISKM) Maximum loss per trade % {1.0}.
(RISKM) Maximum loss per day % {6.0}.
(RISKM) Maximum loss per week % {8.0}.
(RISKM) Maximum loss per month % {10.0}.
____ SETTINGS - Decimals
(DECIMAL) Maximum number of decimal for contracts {3}: How small (3 decimals means 0.001) an entry position might be in your exchange.
EXTRA 1 - PRICE IS IN RANGE indicator
(PRANGE) Print price is in range {False}: Enable a bottom label that indicates if the price is in range or not.
(PRANGE) Price range periods {5}: How many previous periods are used to calculate the medians
(PRANGE) Price range maximum desviation (%) {0.6} ( > 0 ): Maximum positive desviation for range detection
(PRANGE) Price range minimum desviation (%) {0.6} ( > 0 ): Mininum negative desviation for range detection
EXTRA 2 - SQUEEZE MOMENTUM Desviation indicator
(SQZDIVER) Show degrees {False}: Show degrees of each Squeeze Momentum Divergence lines to the x-axis.
(SQZDIVER) Show desviation labels {False}: Whether to show or not desviation labels for the Squeeze Momentum Divergences.
(SQZDIVER) Show desviation lines {False}: Whether to show or not desviation lines for the Squeeze Momentum Divergences.
EXTRA 3 - VOLUME PROFILE indicator
WARNING: This indicator works not on current bar but on previous bar. So in the worst case it might be VP from 4 hours ago. Don't worry, inside the strategy calculus the correct values are used. It's just that I cannot show the most recent one in the chart.
(VP) Print recent profile {False}: Show Volume Profile indicator
(VP) Avoid label price overlaps {False}: Avoid label prices to overlap on the chart.
EXTRA 4 - ZIGNALY SUPPORT
(ZIG) Zignaly Alert Type {Email}: 'Email', 'Webhook'. ' Email ': Prepare alert_message variable content to be compatible with zignaly expected email content format. ' Webhook ': Prepare alert_message variable content to be compatible with zignaly expected json content format.
EXTRA 5 - DEBUG
(DEBUG) Enable debug on order comments {False}: If set to true it prepares the order message to match the alert_message variable. It makes easier to debug what would have been sent by email or webhook on each of the times an order is triggered.
HOW TO USE THIS STRATEGY
BOT MODE: This is the default setting.
PROPER VOLUME PROFILE VIEWING: Click on this strategy settings. Properties tab. Make sure Recalculate 'each time the order was run' is turned off.
NEWBIE USER: (Check PROPER VOLUME PROFILE VIEWING above!) You might want to turn on the 'Print recent profile {False}' setting. Alternatively you can use my alternate realtime study: 'Resistances and supports based on simplified Volume Profile' but, be aware, it might consume one indicator.
ADVANCED USER 1: Turn on the 'Print price is in range {False}' setting and help us to debug this subindicator. Also help us to figure out how to include this value in the strategy.
ADVANCED USER 2: Turn on the all the (SQZDIVER) settings and help us to figure out how to include this value in the strategy.
ADVANCED USER 3: (Check PROPER VOLUME PROFILE VIEWING above!) Turn on the 'Print recent profile {False}' setting and report any problem with it.
JAIME MERINO: Just use the indicator as it comes by default. It should only show BUY signals, SELL signals and their associated closing signals. From time to time you might want to check 'ADVANCED USER 2' instructions to check that there's actually a divergence. Check also 'ADVANCED USER 1' instructions for your amusement.
EXTRA ADVICE
It's advised that you use this strategy in addition to these two other indicators:
* Squeeze Momentum Indicator
* ADX
so that your chart matches as close as possible to TradingLatino chart.
ZIGNALY INTEGRATION
This strategy supports Zignaly email integration by default. It also supports Zignaly Webhook integration.
ZIGNALY INTEGRATION - Email integration example
What you would write in your alert message:
||{{strategy.order.alert_message}}||key=MYSECRETKEY||
ZIGNALY INTEGRATION - Webhook integration example
What you would write in your alert message:
{ {{strategy.order.alert_message}} , "key" : "MYSECRETKEY" }
CREDITS
I have reused and adapted some code from
'Directional Movement Index + ADX & Keylevel Support' study
which it's from TradingView console user.
I have reused and adapted some code from
'3ema' study
which it's from TradingView hunganhnguyen1193 user.
I have reused and adapted some code from
'Squeeze Momentum Indicator ' study
which it's from TradingView LazyBear user.
I have reused and adapted some code from
'Strategy Tester EMA-SMA-RSI-MACD' study
which it's from TradingView fikira user.
I have reused and adapted some code from
'Support Resistance MTF' study
which it's from TradingView LonesomeTheBlue user.
I have reused and adapted some code from
'TF Segmented Linear Regression' study
which it's from TradingView alexgrover user.
I have reused and adapted some code from
"Poor man's volume profile" study
which it's from TradingView IldarAkhmetgaleev user.
FEEDBACK
Please check the strategy source code for more detailed information
where, among others, I explain all of the substrats
and if they are implemented or not.
Q1. Did I understand wrong any of the Jaime substrats (which I have implemented)?
Q2. The strategy yields quite profit when we should long (EMA10 from 1d timeframe is higher than EMA55 from 1d timeframe.
Why the strategy yields much less profit when we should short (EMA10 from 1d timeframe is lower than EMA55 from 1d timeframe)?
Any idea if you need to do something else rather than just reverse what Jaime does when longing?
FREQUENTLY ASKED QUESTIONS
FAQ1. Why are you giving this strategy for free?
TradingLatino and his fellow enthusiasts taught me this strategy. Now I'm giving back to them.
FAQ2. Seriously! Why are you giving this strategy for free?
I'm confident his strategy might be improved a lot. By keeping it to myself I would avoid other people contributions to improve it.
Now that everyone can contribute this is a win-win.
FAQ3. How can I connect this strategy to my Exchange account?
It seems that you can attach alerts to strategies.
You might want to combine it with a paying account which enable Webhook URLs to work.
I don't know how all of this works right now so I cannot give you advice on it.
You will have to do your own research on this subject. But, be careful. Automating trades, if not done properly,
might end on you automating losses.
FAQ4. I have just found that this strategy by default gives more than 3.97% of 'maximum series of losses'. That's unacceptable according to my risk management policy.
You might want to reduce default stop loss setting from 7% to something like 5% till you are ok with the 'maximum series of losses'.
FAQ5. Where can I learn more about your work on this strategy?
Check the source code. You might find unused strategies. Either because there's not a substantial increases on earnings. Or maybe because they have not been implemented yet.
FAQ6. How much leverage is applied in this strategy?
No leverage.
FAQ7. Any difference with original Jaime Merino strategy?
Most of the times Jaime defines an stop loss at the price entry. That's not the case here. The default stop loss is 7% (but, don't be confused it only means losing 1% of your investment thanks to risk management). There's also a trailing take profit that triggers at 2% profit with a 1% trailing.
FAQ8. Why this strategy return is so small?
The strategy should be improved a lot. And, well, backtesting in this platform is not guaranteed to return theoric results comparable to real-life returns. That's why I'm personally forward testing this strategy to verify it.
MENSAJE EN CASTELLANO
En primer lugar se agradece feedback para mejorar la estrategia.
Si eres un usuario avanzado y quieres colaborar en mejorar el script no dudes en comentar abajo.
Ten en cuenta que aunque toda esta descripción tenga que estar en inglés no es obligatorio que el comentario esté en inglés.
CHISTE - CASTELLANO
¡Pero Jaime!
¡400.000!
¡Tu da mun!
Simple and efficient swing RSI systemHello there,
I am glad to bring you another simple and efficient algorithm.
Its made purely from RSI which can be used directly or inversed. Its suited for swing trading 15 min chart or more minimum.
Can be adapted to all types of financial markets.
Rules for entry are easy : First we have the stop loss and take profits levels. Based on SL , we have the risk % of our equity, where the minimum lot we can trade its setted on 0.1 lots , can be modified tho.
For entries, we have the overbought and oversold levels.
Whenever we cross one of them we enter the trade . We close the trade whenever we reach sl/tp or inverse crosses.
Although its has a low win rate, its a very good system to catch big trends, so there you can recover all the small losses that you had in a untrend market .
Aswell it requires a lot of patience, since a position can be kept for weeks, even months.
Hope you enjoyed it .
cardi - trend followingTrading strategy tries to get involved in trends at the beginning in the low time frame. Instead of staying flat, the statistical components in the algorithm help strategy to stay in the trend as long as it predicts that buyers or sellers will continue to profit.
Backtest is calculated by using 10% of equity and 0.075% market fee is defined as default. Commission may differ depending on the preferred exchange to trade.
PM us to obtain access.
HFT Divergence Hunter BacktesterDefault Settings are meant to be used in BTC /USDT chart on 5 min time frame on Binance Futures . If you want to use for another asset on another time frame YOU MUST CHANGE THE SETTINGS
This is a divergence finding strategy developed by HFT Research. It is a highly customizable strategy and provides endless opportunities to find profitable trades in the market.
Default Settings are meant to be used in BTC /USDT chart on 5 min time frame on Binance Futures . If you want to use for another asset on another time frame YOU MUST CHANGE THE SETTINGS
This is a divergence finding indicator developed by HFT Research. It is a highly customizable indicator and provides endless opportunities to find profitable trades in the market.
Use Envelope , this is the main decision maker in this strategy. The idea behind is that you choose the length of the moving average and set an offset % to create an upper and lower band. If you click on “display envelope” you will be able to visually see the band you have created. This way, you get to scalp the market as the price is diverging and moving away from the moving average. As the famous saying goes, moving averages act like magnets and prices always visits them back. Using this ideology, we aim to capitilize on the price swings that move away from the chosen moving average by x%.
STARC Bands ;
These are two bands that are applied above and below a simple moving average of an asset’s price. The upper band is created by adding the value of the average true range (ATR) or a multiple of i. The lower band is created by subtracting the value of the ATR from the SMA . The channel can provide traders with ideas on when to buy or sell. During an overall uptrend, buying near the lower band and selling near the top band is favorable. However, from our testing results it does fairly poorly in crypto markets while it does pretty well in traditional markets.
Use RSI ;
One of the most commonly used indicators in the trading world. The idea is simple, buy when its oversold and sell when its overbought. You can use RSI as a secondary confirmation of the dips. It can be turned on and off.
Use MFI
MFI stands for Money Flow Index and it is an oscillator like RSI . However, it does track the price in a different fashion than RSI providing a reliable option. It uses the price and volume data for identifying overbought and oversold signals in an asset.
Use Fisher Transform
Even though, it has a funny name, Fisher is actually a very decent and reliable indicator. It converts the prices into a Gaussian normal distribution channel. Therefore, the indicator detects when the prices have moved to an extreme, based on recent price action.
Use VWAP
VWAP stands for volume weighted average price . It is an extremely useful indicator when trading intra-day. It does reset every trading session which is at 00:00 UTC . Instead of looking at x number of candles and providing an average price, it will take into consideration the volume that’s traded at a certain price and weigh it accordingly. It will NOT give entry signals but act as a filter. If the price is above VWAP will filter out the shorts and other way around for longs.
Use ADX
Average directional index is a powerful indicator when one is assessing the strength of a trend as well as measuring the volatility in the market. Unfortunately, the worst market condition for this strategy is sideways market. ADX becomes a useful tool since it can detect trend. If the volatility is low and there is no real price movement, ADX will pick that up and will not let you get in trades during a sideways market. It will allow you to enter trades only when the market is trending.
Use Super trend Filter
The indicator works well in a trending market but can give false signals when a market is trading in a range.
It uses the ATR ( average true range ) as part of its calculation which takes into account the volatility of the market. The ATR is adjusted using the multiplier setting which determines how sensitive the indicator is.
Use MA Filter
Lookback: It is an option to look back x number of candles to validate the price crossing. If the market is choppy and the price keeps crossing up and down the moving average you have chosen, it will generate a lot of “noisy” signals. This option allows you to confirm the cross by selecting how many candles the price needs to stay above or below the moving average. Setting it 0 will turn it off.
MA Filter Type: There is a selection of moving averages that is available on TradingView currently. You can choose from 14 different moving average types to detect the trend as accurate as possible.
Filter Length: You can select the length of your moving average. Most commonly used length being 50,100 and 200.
Filter Type: This is our propriety smoothing method in order to make the moving averages lag less and influence the way they are calculated slightly. Type 1 being the normal calculation and type 2 being the secret sauce .
Reverse MA Filter: This option allows you to use the moving average in reverse. For example, the strategy will go long when the price is above the moving average. However, if you use the reserve MA Filter, you will go short when the price is above the moving average. This method works best in sideways market where price usually retraces back to the moving average. So, in an anticipation of price reverting back to the moving average, it is a useful piece of option to use during sideway markets.
Use MACD Filter
MACD here will act as a filter rather than an entry signal generator. There are a few different ways to use this MACD filter. You can click on the Use MACD filter and it will use filter out the shorts generated in a bullish territory and longs generated in the bearish territory. It will greatly reduce the number of trades the strategy will trade because MACD is a lagging indicator. By the time MACD turns bullish or bearish , most of the other indicators will have already generated the signals. Therefore, resulting in less trades. You can use MACD filter as MA oscillator meaning that it will only look at the MA lines in MACD to filter out trades. Alternatively, you can use it with the histogram (Signal lines) meaning that it will only look at the histogram whether its below or above the zero line in order to filter out the trades.
TP (%)
Place your desired take profit percentage here. Default is 1.5%
Move SL At Entry x% Profit
This is when the strategy will move your SL to the entry point if the position reaches x% profit. It can also generate a signal which can be automated to adjust the SL on the exchange.
SL (%)
Place your desired stop loss percentage here. Default is 1%
The backtester assumes the following;
- 1000$ capital
- 0.06% commission based on binance
- 1% risk meaning 100% equity on cross leverage
- Backtest results are starting from 2020
If you want to get access to this indicator please DM me or visit our website.
BV's MACD SIGNAL TESTERHello ladies and gentlemen,
Today, as you may have seen in the title, I have coded a strategy to determine once and for all if MACD could make you money in 2020.
So, at the end of this video, you will know which MACD strategy will bring you the most money.
Spoiler alert: we've hit the 90% WinRAte mark on the Euro New Zealand Dollar chart.
I've seen a lot of videos of people testing different MACD signals, some up to 100 times.
But In my opinion, all traders must rely on statistics to put all the odds on their side and good statistics require a lot more data.
The algorithm I'm showing you tests each signal one by one over a 3 year period and on 28 different graphs.
That way we are sure that we have encountered all possible market behavior.
From phases of congestion to major trends or even the effects of COVID-19
I use the ATR to determine my Stop Loss and Take Profits. The Stop Loss is placed at 1.5 times the ATR, the Take Profit is placed at 1 time the ATR.
If my Take Profit is hit, I take 50% of the profits and let the position run by moving my Stop Loss to Zero.
This way, the position can no longer be a losing position.
If you are not familiar with this practice, I invite you to study the "Scaling out" video from the NoNonsenseForex channel.
BV's Trading Journal.
Jarvis for SPX500 (S&P500) by Goldman ArmiThis strategy is called JARVIS after the famous AI from the MARVEL movie Iron Man.
It is an improvement of the Copernicus Strategy to get better results. More exactly I was aiming to obtain over 50% of the number of trades profitable, for every pair provided (see the title).
The strategy tester does not include leverage trading, please keep that in mind and feel free to change the parameters of the volume for the position in the strategy settings to see the closer to reality results.
The setup for this strategy is more complicated because it includes 3 averages, all of them calculated with prices obtain by various formulas for each one of them and I call this: Sophisticated Moving Average (Copyright). Each of the 3 averages are applied to different timeframes and have different values. All of these parameters are configured separately for every trading pair and this is why I am publishing them separately.
There are not a lot of trades in this strategy, the average is around 3/month and the backtest you see here is from January 2020 until the time of this publication.
You can use the Tradingview alert services to configure this to execute (webhook) on your exchange/broker, because strategies have now the possibility to send alerts.
For other questions please send me a message.