Strategy NNFX Tester Strategy NNFX, Baseline, QQEs Fast C1, Slow C2, ATR, Volume and Exit
This is a Strategy Tester designed to work with Study (Alerts) of the same.
At time of creation based on Revision 8 of the Study.
DO NOT USE the Currency/Money Management section under settings. use the position sizing under "Inputs" - "Money Management" - "Risk per trade" which is defaulted to 2%
This has adjustable Baselines, Exits, ATR calculations, C1 and C2 are currently QQE & QQE Histo with adjustable settings but I'll include more choice of C1 & C2 as time goes on.
Find settings that work for you, then move them over to the Study version for best results.
Forward plans are to add much more options to both Alert/Strategy.
If anyone wants to collaborate or anything hit me up.
Pesquisar nos scripts por "algo"
Dankland Playground DCAing multi-strategy OPThis is essentially a script that I made for myself before deciding it may be good enough for you all as well.
How it works basically is this... you have 18 oscillators which can all be used as independently as you wish. That means there are 20 groups which they can be split amongst as you choose.
When in separate groups they should not be able to sell eachothers positions without triggering a stop loss. Every single oscillator has its own position sizing and exit sizing which can be stated as either a percent of balance or a flat amount of contracts. Each oscillator has a minimum amount of profit you can tell it to sell it, which is calculated from the average cost of your current position, which does include all groups. This works out to help you average out better entry and exit prices, essentially a method of DCAing.
You can set the minimum sale amount, which is to keep it from placing orders below your exchanges minimum dollar trade cost.
The included oscillators are as follows:
Chande Momentum cross
Moving Average Cross
MACD cross
%B Bollinger cross
Stochastic cross + region filter
Stochastic RSI cross + region filter
SMII cross and region
Three RMIs
Standard RSI
LSMA-smoothed RSI
Know Sure Thing
RSI of KST
Coppock Curve
RSI of Curve
PPO
RSI of PPO
Trix
RSI of Trix
So the idea is that this is essentially multiple strategies combined into one backtestable house. Balance is calculated for all position sizes in order to try to prevent false entries that plague so many scripts (IE, you set pyramiding to 2, each buy $1000, initial balance $1000, and yet it buys two orders off the bat for $2000 total and nets 400% profit because the second was considered free)/
You tune each side and position size them so that they work together as well as you can and in doing so you are able to create a single backtest that is capable of running a bot, essentially, between multiple strategies - you can run a slower Moving Average cross, a faster SMI cross or MACD, or Bollinger that grabs big moves only, all the while having MACD trade small bonuses along the way. This way you can weight the Risk to Reward of each against eachother.
I will not try to claim this is something you can open and with no work have the best bot on the planet. This scripts intention is to take a lot of relatively common trading strategies and combine them under on roof with some risk management and the ability to weigh each against eachother.
If you are looking for a super advanced singular algorithm that tries to capture every peak and valley exactly on the dot, this is not for you. If you are looking for a tool with a high level of customizability, with a publisher who intends to update it to the best of his ability in accordance to seeking to make the best product that I personally can make for both myself and the community (because I will be using this myself of course!) that was specifically designed with the intention of performing well in spot markets by averaging low entry costs and high exit costs, this is for you! That is the exact intention here.
I do not trade margin currently, I trade spot. I am sure this script can be tuned to work on margin but this is not my intention or area so if this is you and there is something you need for margin specifically implemented, ask, because I likely don't know what you need yet.
The current backtest shown is hand-optimized by myself for BTC/USD 1hr market with NO stop loss enabled and all sales weighed to be around 0% minimum profit from the total average entry cost.
I chose to run it myself with no stop losses because Bitcoin is so bullish to me. The stop losses can still be very profitable, but not 1495% net profit. This style of automation is not for everyone as when running with no stop loss and the requirement every sale is somewhat profitable, or at least no very noticeable loss, you wind up relying on yourself to manually stop out if things crash too much and the bot has to stop trading to wait for market to go back up. The thing to do here if you are playing without a stop loss is to have your own alerts set at your fear level, a % drop in a period of time or something like that, and when you reach that point I would consider resetting the bot so it continues to take trades. I personally will accept a temporary drop in USD as long as I can keep my BTC holdings up overall as the goal should always be to have as many BTC as possible by the start and end of the bull run.
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!
NIKI MSS BANKNIFTYThis is the strategy version of my old indicator NIKI BANKIFTY. It is more suitable for day trading with a 5 min chart. It is more profitable in BANKNIFTY future. It is based on multiple Supertrend, moving average, Donchain channel, and linear regression. The background color indicates the main trend and the color of the candle represents a short-term trend. The label with TA and SL represents more profitable entry positions. The label RE: LE and RE: SE stands for re-entry positions or signals with less accuracy. Consider the direction of the linear regression line to take trades on re-entry positions. The yellow candle indicates the entry and the blue candle represents the target or stop-loss.
The backtest results are based on BANKNIFTY last year's data. It has an initial capital of 100000 and the size of the lot is 1. The target is 0.3% and stop-loss is 1.5%. It exactly not following the stop loss, the trade will exit based on the Donchain channel breakout. It appears on the chart as a blue candle. The commission paid is 20 cash per trade and the slippage is 5 ticks per trade. Some of the Indian broker's commission is only 10 cash per trade. Adjust the commission as per your broker. Trades are conducted based on the intraday time in India set from 9.20 am to 2.25 pm. All positions will get square off at 3.00 pm. It will execute a maximum of 4 trades per day. All other parameters are suitable for Robo trading with Indian stock brokers.
Contact us using the link given below to obtain access to this indicator.
RSI-VWAP Indicator %█ OVERALL
Simple and effective script that, as you already know, uses vwap as source of the rsi, and with good results as long as the market has no long-term downtrend.
RsiVwap = rsi (vwap (close), Length)
The default settings are for BTC in a 30 minute time frame. For other pairs and time frames you just have to play with the settings.
█ FEATURES
• The option to start trading from a certain date has been added.
• To make the profit more progressive, a percentage of your equity is used for entries and a percentage of your position is used for closings.
• The option to trade in Spot mode has been added, since, for the TradingView backtest, the money is infinite and if you do not limit it somehow,
it would offer you much better profits than the live trading.
QuantityOnLong = Spot ? (EquityPercent / 100) * ((strategy.equity / close) - strategy.position_size) : (EquityPercent / 100) * (strategy.equity / close)
• The option to stop the system when the drawdown exceeds the fixed limit has been added.
Drawdown, as you already know, is a very important measure of risk in trading systems.
The maximum drawdown will tell us what the maximum loss of a trading system has been during a period. This maximum loss is determined by:
strategy.risk.max_drawdown(Risk, strategy.percent_of_equity)
• Leverage plotted on labels added.
█ ALERTS
To enjoy the benefits of automatic trading, TradingView alerts can be used as direct buy-sell orders on spot, or long-close orders with leverage.
Currently there are Chrome extensions that act as a bridge between TradingView and your Exchange or Broker.
This is an example of syntax for this type of extensions. Copy and paste a message like this into the alert window:
{{strategy.order.action}} @ {{strategy.order.price}} | e = {{exchange}} a = account s = {{ticker}} b = {{strategy.order.action}} {{strategy.order.alert_message}}
█ NOTE
Certain Risks of Live Algorithmic Trading You Should Know:
• Backtesting cannot assure actual results.
• The relevant market might fail or behave unexpectedly.
• Your broker may experience failures in its infrastructure, fail to execute your orders in a correct or timely fashion or reject your orders.
• The system you use for generating trading orders, communicating those orders to your broker, and receiving queries and trading results from your broker may fail.
• Time lag at various point in live trading might cause unexpected behavior.
• The systems of third parties in addition to those of the provider from which we obtain various services, your broker, and the applicable securities market may fail or malfunction.
█ THANKS
Thanks to TradingView, its Pine code, its community and especially those Pine wizards who post their ideas that helps us to learn.
If the world is heading toward a equitable new world economic order, let's get rich first ...
Happy trading!
JetzGiantz StrategyThe algorithm for this strategy was provided by JetzGiantz.
It creates buy and sell signals based on the close and open prices of the previous 3 bars, and compares them to the lowest low, or highest high, between the last 3 and 50 bars.
You can select the month and year you wish to backtest.
You can enter the SL and TP values.
There are no other inputs.
Simple Price MomentumSimple Price Momentum Strategy ( SPM )
The term momentum was borrowed from Newton’s first law of motion. The law states that where an object in motion tends to stay in motion until an external force is applied to it. Like in the law of physics, a market in motion tends to stay in motion rather than reverse. This is the reason why a momentum indicator strategy is so powerful.
My algorithm depends on two signals, an open and an exit.
Basically, while the Green shows earlier, the signal actually takes place at the end of the bar. Remember “close” source is the current price while the candle is still forming, because it can change its state it could create a situation where “A > B” and then change to “A < B”, so we don’t know which one is the final value until the bar officially ends. This is why the backtest engine opens a position in the bar after.
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.
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.