© Investoz Volume/ATR/DailyRange/OHLC/Probability/VolatilityThe relationship between returns, volatility and trading volume has interested financial economists and analysts for a long time.
Is there any dynamic relationship between trading volume, returns and volatility in the financial markets?
In recent financial studies, the linkage between return, volatility and trading volume is a central issue as it provides insights into the microstructure of financial markets. The price-volume relationship is seen as it is related to the role of information in price formation. Trading volume is defined as the number of shares traded each day and is an important indicator in technical analysis as it is used to measure the worth of stock price movement
either up or down.
Investors' motive to trade is solely dependent on their trading activity; it may be to speculate on market information or portfolios diversification for risk sharing, or else the need for liquidity. These different motives to trade are a result of processing different available information. In consequence, trading volume may originate from any of the investors who may have different information sets. As various studies reported, the information flow into the market is linked to the trading volume and volatility. Thus, since the stock price changes when new information arrives, there exists a relation between prices, volatility and trading volumes.
Significant efforts have been made, empirically and theoretically, on the phenomenon of stock price and volume relationship. Although the majority of those findings have confirmed the existence of positive contemporaneous relationship between trading volume and returns, the study of different stock markets have given mixed results about the causal return-volume relationship.
So, if you think that price and volume is important, maybe this indicator full of information around this topic may help you or make it easier in many ways.
Let me briefly guide you through.
To the right you have all the information within a label directly on the chart. Inside the label you will see following information:
-Number of bars
-Volume
-Average true range
-Daily range
-OHLC
-Probability for tomorrow´s daily range
-Warning of increased volatility
In the chart, you will also see where the expected daily range is likely to be within, with high and low levels.
Finally, I like to say this:
I have put a lot of work into this script and let me know if you use the indicator and what you think of it. Also if it is of some help or maybe you who use it, have found something wrong that needs to be reviewed and changed or information that would be important to add?
Enjoy!
Объем
VWAP + Fibo Dev Extensions StrategyBased on my VWAP + Fibo deviations indicator, I tested some strategies to see if the indicator can be profitable; and I got it !
This strategy uses:
H1 timeframe
Weekly VWAP
+1.618 / +2.618 / -1.618 / -2.618 Deviations Extensions to create 2 bands
The value of the deviation
First, the 2 bands are plotted : +1.618/+2.618 painted in red and -1.618/-2.618 painted in lime.
Then, we wait for the deviation value to reach at least 150 (see thumbnail) to avoid littles moves when the gaps between bands are too short.
Entry long position :
first candle must crossunder the -1.618 level and low have to stay over the -2.618
low of the second one must stay in the lime band
enter the third one if the deviation value is over limit (150)
Exit long position :
TP : when a high crossover VWAP
SL : when a low crossunder -2.618
Entry short position :
first candle must crossover the +1.618 level and high have to stay under the +2.618
high of the second one must stay in the red band
enter the third one if the deviation value is over limit (150)
Exit short position :
TP : when a low crossunder VWAP
SL : when a high crossover +2.618
Notes :
this strategy uses pyramiding (5), be careful and calculate your risk management
the comission value is set to 0.08% to include slippages when entering a trade because of market orders
This strategy is not an advice to invest, make your own decisions.
Breakout Trend Trading Strategy - V2This is an alternate version of Breakout Trend Trading Strategy - V1
Only difference is, this strategy places stop orders based on calculated targets whereas V1 waits for price to close target levels and then places market orders. Hence, you will receive the target prices before trade executes in strategy.
Parameters are same as that of Breakout Trend Trading Strategy - V1
There is one additional parameter on Trade Type - which permits user to allow only breakout, pullback or reverse trading or combination of all.
Backtesting parameters remain same :
Capital and position sizing : Capital and position sizing parameters are set to test investing 2000 wholly on certain stock without compounding.
Initial Capital : 2000
Order Size : 100% of equity
Pyramiding : 1
Test cases remain same :
Positive : AAPL , AMZN , TSLA , RUN, VRT , ASX:APT
Negative Test Cases: WPL , WHC , NHC , WOW, COL, NAB (All ASX stocks)
Special test case: WDI
Negative test cases still show losses in back-testing. I have attempted including many conditions to eliminate or reduce the loss. But, further efforts has resulted in reduction in profits in positive cases as well. Still experimenting. Will update whenever I find improvements. Comments and suggestions welcome :)
Breakout Trend Trading Strategy - V1Strategy in nutshell:
This strategy is made to be used in daily time-frames. Works better on trending instruments where volume is available. Hence, this is more suitable for trending shares rather than currencies, commodities and indexes where volume data is either not present or not reliable.
Breakout signifies the continuation of trend. Hence, trade in the direction of breakouts. Breakouts are calculated based on high volume and price movement in a day. This will be combined with few other conditions to generate buy and sell signals along with stop and compound targets. Supertrend is used for trend bias. Our buy and sell targets do not directly depend on the bias. But, entry criteria in opposite trend is made much difficult than that of trend direction. Further explanation of method and input parameters are explained below.
Backtesting parameters :
Capital and position sizing : Capital and position sizing parameters are set to test investing 2000 wholly on certain stock without compounding.
Initial Capital : 2000
Order Size : 100% of equity
Pyramiding : 1
ExitOnSignal : If unchecked exit is triggered solely on trailing stop
Trade Direction : Long, Short or All. Short condition is riskier than long conditions and often results in losses as per my observation. On most of the stocks trending up, strategy will not generate any short signals. This is achieved by comparing yearly high lows to previous two years to decide whether to allow short or long entries.
allowImmediateCompound : Applicable only if compounding/pyramiding is enabled in trade. If checked allows to place compounding orders immediately. If unchecked, it waits for stopline to cross order price before placing next compound.
Display Mode :
Targets : Whenever breakout happens, show marker for upTarget and downTarget
TargetChannel : Show up target and downtarget as a channel
Target With Stop : Along with targets, show also stop levels for breakouts
Up Channel : Channel created from UpTarget and respective stops
Down Channel : Channel created from DownTarget and respective stops
ShowTrailingStop : Shows trailing stop and compound lines when there is a trading position.
ShowTargetLevels : Shows Buy Sell target levels along with stop and compound lines. Trades are done as market orders. Hence, target levels are displayed after strategy makes the trade. Since only one order allowed per side without compounding, target, stop and compound levels are shown sometimes even without trade being made. These can be considered as entry levels if there is no existing position.
ShowPreviousLevels : Shows previous buy/sell target levels. When enabled, layout can look messy.
StopMultiplyer: To Set trailing stop loss.
BacktestYears: Number of years to include in backtest
So far my test cases are:
Positive : AAPL, AMZN, TSLA, RUN, VRT, ASX:APT
Negative Test Cases: WPL, WHC, NHC, WOW, COL, NAB (All ASX stocks)
Special test case: WDI
Negative test cases still show losses in backtesting. I have attempted including many conditions to eliminate or reduce the loss. But, further efforts has resulted in reduction in profits in positive cases as well. Still experimenting. Will update whenever I find improvements. Comments and suggestions welcome :)
Hammer Long strategy with filtered and enforced alertsA Hammer Long strategy is a price pattern in candlestick charting that occurs when a security trades significantly lower than its opening, but rallies within the period to close near opening price. This pattern forms a hammer-shaped candlestick , in which the lower shadow is at least twice the size of the real body. The body of the candlestick represents the difference between the open and closing prices, while the shadow shows the high and low prices for the period.
Key takeaways:
Hammers have a small real body and a long lower shadow.
Hammers occur after a price decline.
The hammer candlestick shows sellers came into the market during the period but by the close the selling had been absorbed and buyers had pushed the price back to near the open.
The close can be above or below the open, although the close should be near the open in order for the real body to remain small.
The lower shadow should be at least two times the height of the real body.
Hammer candlesticks indicate a potential price reversal to the upside.
The strategy enhances standard Hammer pattern accuracy by clearing out market noises and manipulations from the indicator's triggers. Combination of Volume oscillator filter and Directional Movement Index (DMI) components values adjustments allows to detect only strong signals. The strategy is developed to forecast Long positions entries and exits. The strategy supports spot, futures, options and marginal trading exchanges. It works accurately with BTC, USD, USDT, ETH and BNB quote currencies. Best to use with 30 and 60 minutes timeframe charts. The strategy can be and should be configured for each particular asset. You can change filters and risk management settings to receive the most advanced accurate alerts
Advantages of this script:
1. Weak signals and market noises are filtered. This allows to receive only strong and confirmed alerts
2. Strategy can be easily configured in user interface for each particular asset
3. High performance. At the chart you can see examples of strategy entries and exits, you also can check strategy backtest for RENUSDT position:
Net profit: 26.95%
Percent profitable: 90%
Profit factor: 7.418
Duration of trade: 16 hours
How to use?
1. Apply indicator to the trading pair your are interested in at 30m or 60m timeframe chart
2. Configure the strategy: change filters values and risk management settings until Strategy tester shows good results according to mathematical expectation
3. Set up a TradingView alert to trigger when Hammer strategy conditions are met
4. Strategy will send alerts when to enter and when to exit positions
If you want to obtain access to the indicator please send us a personal message
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.
Engulfing strategy with DMI confirmationThe strategy contains Bearish and Bullish Engulfing trend reverse alerts with entry and closure notifications. Entries are enforced by Directional Movement Index (DMI) indicator levels combination. The strategy can be applied to spot, futures and marginal trading exchanges. It is suitable for both long and short positions and works accurately with BTC, USDT, ETH and BNB quote currencies. Best to use with 1H timeframe charts
Strategy elements can be configured at your own desire with user interface settings, no programming skills required:
1. Choose signals type: Long, Short or Both
2. Choose trend detection pattern rule:
SMA50 - provides a higher number of positions
SMA50 + SMA200 provides a higher accuracy
3. Change risk management settings to make the most accurate and efficient configuration. You can set up unique stop loss, take profit and trailing offset for different assets
4. Configure strategy periods
DMI and ADX lengths
ADX Smoothing
Key level
EMA and SMA lengths
5. Configure backtest dates
6. Show or hide RSI support and resistance bands
Engulfing strategy provides information for traders to enter the market in anticipation of a possible reversal in trend. Engulfing candles tend to signal a reversal of the current trend in the market. This specific pattern involves two candles with the latter candle "engulfing" the entire body of the candle before it. The engulfing candle can be bullish or bearish depending on where it forms in relation to the existing trend. The script calculates and compares values of the price action candles to define is there an engulfing and what type it is: bullish or bearish
If there is a bullish engulfing the indicator fills price action candle with yellow color
If there is a bearish engulfing the indicator fills price action candle with purple color
Advantages of the script:
1. The script detects presence of both types of engulfing: Bullish and Bearish
2. Weak engulfment signals and market noises are filtered by RSI bands and DMI confirmations. This allows to receive only strong and confirmed engulfment signals
3. This script has configurable risk management settings (order size, commission, take profit, stop loss and trailing). This provides you opportunity of direct broker connection and allows to conduct backtests before applying the strategy to real account. You also can set up strategy actions alerts
At the chart you can see the historical price action of ADAUSDT at Binance exchange from the January 1st 2019 till current date. The strategy is set up to receive only long signals because it is a spot market. Moments when the strategy triggered to enter a position are shown as L label while position entries are shown as "Long" messages. Moments when a certain position should be closed are shown as "Exitlong" messages
The strategy demonstrate high backtest results:
Mathematical expectation of risk management settings is positive = 1.34%
Percent profitable = 93.33%
Profit factor = 3.253
Quantity of entries = 75
Net profit = 15.22%
How to use?
Long signals:
1. Apply indicator to a trading pair your are interested in.
2. Click Settings button and select Alert Positions Type Long
3. Once bullish engulfing and confirmation conditions are met price action candle will be colored yellow and script strategy will enter a position.
4. Check Strategy Tester to set up optimal Risk management settings: stop loss, trailing profit activation point, trailing offset
5. Set up the strategy alert to be notified when a position should be opened or closed
Short signals:
1. Apply indicator to a trading pair your are interested in.
2. Click Settings button and select Alert Positions Type Short
3. Once bearish engulfing and confirmation conditions are met price action candle will be colored purple and script strategy will enter a position.
4. Check Strategy Tester to set up optimal Risk management settings: stop loss, trailing profit activation point, trailing offset
5. Set up the strategy alert to be notified when a position should be opened or closed
Best regards,
SkyRock Signals team
If you want to receive access to the strategy please contact us in personal message!
Bollinger Bands Strategy with Intraday Intensity IndexFor Educational Purposes. Results can differ on different markets and can fail at any time. Profit is not guaranteed.
This only works in a few markets and in certain situations. Changing the settings can give better or worse results for other markets.
This is a mean reversion strategy based on Bollinger Bands and the Intraday Intensity Index (a volume indicator). John Bollinger mentions that the Intraday Intensity Index can be used with Bollinger Bands and is one of the top indicators he recommends in his book. It seems he prefers it over the other volume indicators that he compares to for some reason. III looks a lot like Chaikin Money Flow but without the denominator in that calculation. On the default settings of the BBs, the III helps give off better entry signals. John Bollinger however is vague on how to use the BBs and it's hard to say if one should enter when it is below/above the bands or when the price crosses them. I find that with many indicators and strategies it's best to wait for a confirmation of some sort, in this case by waiting for some crossover of a band. Like most mean reversion strategies, the exit is very loose if using BBs alone. Usually the plan to exit is when the price finally reverts back to the mean or in this case the middle band. This can potentially lead to huge drawdowns and/or losses. Mean reversion strategies can have high win/loss ratios but can still end up unprofitable because of the huge losses that can occur. These drawdowns/losses that mean reversion strategies suffer from can potentially eat away at a large chunk of all that was previously made or perhaps up to all of it in the worst cases, can occur weeks or perhaps up to months after being profitable trading such a strategy, and will take a while and several trades to make it all back or keep a profitable track record. It is important to have a stop loss, trailing stop, or some sort of stop plan with these types of strategies. For this one, in addition to exiting the trade when price reverts to the middle band, I included a time-based stop plan that exits with a gain or with a loss to avoid potentially large losses, and to exit after only a few periods after taking the trade if in profit instead of waiting for the price to revert back to the mean.
auto trend lines with buy sell signalKalakar trader's Tools is the tool where Buy and sell signals generates automatically according to the candles behavior.
It automatically made trend line
It as build in moving average also
It uses WD Gann Levels to calculate entry point with the help of VWAP .
Pivot points determines the recent support and resistance levels.
Trading rule for this indicator
This indicator is designed for Indian equity stocks
Best performance is expected on 10 minutes chart basic user can use 5 minutes chart for stock value less than 500 rupees, else 15 minutes chart
Plotted line shows the market sentiment, green for buy, red for sell and black for neutral market.
Order thumb rule
For buy signals there is a up triangle in green color
For sell signal there is a down triangle in red color
1. avoid any trade signal before 9:35 AM Indian time
2. signal and related stop loss candle must be formed in the same day
3. if order placed in 5 minutes chart then don't go for a target of 15 minutes chart
4. if order placed in 15 minutes time frame and target is too far then check the target in 5 minutes time frame
5. if signal candle touches the target then avoid the signal.
6. Money management is most important for this indicator.
7. Take trade only if it satisfy risk reward ratio.
8. It has long target but need patience.
Signal
using vwap calculates gann square of 9 levels and if any smart money activity on that level then checks the confirmation of the trend by higherhigh or lowerlow formation
Buy Entry : entry price should be on the high of the candle before signal for buy and sl on bottom of flagged candle just before signal
SellEntry : entry price should be on the low of the candle before signal for sell and sl on top of flagged candle just before signal
Please add some extra value to the Stop Loss for safe trading
Warning : Don't place any order without stop loss, This tool is made for educational and learning purpose only, take any trade at your own risk.
Squeeze Momentum with DMI confirmation strategyThe script combines Squeeze Momentum and Directional Movement Index (DMI) confirmation. It provides long and short entry and closure daily trade signals, suitable for Spot, Marginal and Futures exchanges
The strategy components are customizable:
Change risk management settings (take profit, stop loss, trailing)
Change signals filters
Enable TrueRange or disable
Change lengths and periods of components
Advantages:
1. Deal start condition includes the following filters and requirements:
Momentum value is adjusted using a relative proportion of volume at each timeframe scale to exclude a chance of opening position at a low impulse stage
Squeeze momentum trigger condition is automatically checked before a position is opened
+DI , -DI and ADX values are taken into account to confirm the trend direction
2. Exit positions using unique risk management settings for each asset
3. Strategy allows to connect broker or automatic trading system using web hook alerts
If you want to obtain access to the strategy please send us a personal message
RSI on VWAP Upgraded strategyFirst of all, the idea of apply RSI to VWAP was inspired by XaviZ; at least, that where I first saw that.
I simply applied the idea and searched for apply this on lower timeframe (M15) to increase the number of positions and improve the profit factor.
The conditions to enter are the same :
long : enter on RSI crossover oversold level
short : enter on RSI crossunder oversell level
To close position, I found a little change to apply :
long : close position when RSI(VWAP) went in overbought zone and crossunder the overbought level OR after being at least x bars in the overbought zone (parameter is 28 by default) => when the first condition happens
short : close position when RSI(VWAP) went in oversold zone and crossover the oversold level OR after being at least x bars in the oversell zone (parameter is 28 by default) => when the first condition happens
With this change, I got better results specially on BTCUSDTPERP (M15) where I reach a 6.8 profit factor with 119 trades closed. Not BAD !
The defaults parameters are the best found for BTCUSDTPERP (M15), but the strategy works fine for other pairs if you take time to find the rights combinations.
In this strategy you can change (with defaults in () ):
RSI length (28)
RSI overbought level (85)
RSI oversell level (30)
Number of bars before leaving as explain above (28)
The choice to take longs only, shorts only or both
The number of coin/token by position
The start date for backtesting
Please note that the script use a pyramiding parameter of 3 (can be changed in the first line of the script); that means that you can take up to 3 positions before closing. It lets you improve average enter price but increase the risk. 3 is the best I found to improve profit factor without expose myself too much.
This script would be better if automated because of the conditions of buy and sell.
It's only for educative purpose, not an advice to invest.
All my free scripts here : fr.tradingview.com
Leave a message and don't forget to follow me ;) !
Catch the Big Fish - by SushilVolume based script to catch a big move. Works best on 5 min timeframe.
Long buy at high / Short sell at low of the candle where the script gives the signal.
Important note regarding SL - for Long / Short positions respectively, the SL should be placed at low / high of previous candle, and NOT of the same candle.
Golden Triangle StrategyGolden Triangle strategy setup is a variation of the buy-the-dip strategy, by Charlotte Hudgin.
You can find the detailed explanation here by Thomas N. Bulkowski thepatternsite.com
BUY
===
1. price should be trading above sma50
2. when it touches sma50 first time , check the starting rallypoint of where it initiated
3. from the above point to current close , see if you have white space , then draw the triangle
4. then check for volume confirmation ( current volume should be greater than last 4 ) --- I have slightly changed this to fit into hourly strategy by adding condition close>vwap
EXIT
====
1. Exit when close crossing down sma50 with at least 2% profit (slightly modified original condition)
StopLoss
========
2. stop loss is set to 6%
Warning
=======
For the use of educational purposes only
TC Chart Score StrategyThis is My Call Confidence Strategy
The Strategy is designed to help confirm a bullish reversal after a downtrend.
This uses custom weighted algorithm
The Algorithm combines directional movement, volume over average, and moving averages to formulate a score.
The score is then used in conjunction with a smoothed score of the same criteria to initiate a buy signal on a cross over.
The settings are designed to help you customize how you weight directional movement, and the moving averages to further finetune the algorithm to your timelines.
The default settings are designed to be used on a 1 hour time frame.
You can change the settings for other time frames to further increase effectiveness.
This script will be updated as needed if a better algorithm is designed.
Growth Producer
Applicable to FTX:ETHPERP 15 min
Relative volatility index (RVI) that will determine the entry and exit points only when the volatility will start to increase and Money Flow index as an additional point for entry.
IMPORTANT
• Input Partial take profits in your Bot settings
• This is a trend strategy and works better in the trending market
• We added the trend identifier using the EMA and SMA interaction
• We added Take profit and stop loss levels
• We added inputs for the period selection, so you could see how the strategy is performing on a monthly basis.
• RVI for the entry conditions
• MFI was added for the additional entries.
• Partial Take-profits
BANKNIFTY - PRICE ACTION TRADING SYSTEM (BackTestable + Alerts)This study is based on several Price Action parameters of :-
• Candle Pattern,
• Supply Demands,
• Support and Resistance ,
• Breakouts.
► How To Use This Study ?
• Suitable Trade Session for this study 10:15 AM to 02:30 PM ( UTC +05:30)
• Buy Whenever a Up Arrow Appears on Chart with text "TYPE: LE".
• Sell Whenever a Down Arrow Appears on Chart with text "TYPE: SE".
• Exit Buy Whenever a Down Arrow Appears with text "TYPE: LX" After A Buy call and Exit Sell Whenever a up Arrow Appears with text "TYPE: SX" After A Sell Call.
• Take Only 1 trade Per Trading Session.
Backtest Values Used:-
Initial Capital : 1000000
Order Size (Lots) : 1 (Contract) Lots
Pyramiding : 0 orders
Commission : 0.001%
Test Yourself and give feedback.
PM us to obtain access.
VWAP and BB strategy [EEMANI]This strategy combines VWAP and BB indicators
BUY RULE
1. EMA50 > EMA 200
2. if current close > vwap session value
3. check if price dipped BB lower band for any of last 10 candles
EXIT RULE
1. price closes above BB upper band
STOP LOSS EXIT
1. As configured --- default is set to 5%
warning: for the use of educational purposes only
ZVWAP strategyThis strategy is based on Z distance from VWAP indicator by LazyBear
I have added few filters to utilize the indicator ...
BUY Rule
=======
1. fast ema is above slow ema
2. zvwap is dipped below oversold area (default set to -0.5)
3. after the dip , while crossing above zero --- BUY
Note , when the above criteria is met , bar color is changed to yellow
Exit Rule
========
1. Exit when zvwap enters overbought line (default set to 2.0)
Stop Loss
========
default set to 5% ( you can change it in settings )
Note : strategy does not draw ema lines on the chart. Please add manually to your chart
warning: for education purposes only
3 Higher High Price & Vol - BTST next day Gap up1) Price & Volume forms Higher High in the last 45 min
2) Volume is above Avg (20 MA Vol)
3) Indicates EOD buying next Gap up will happen
4) BTST strategy
5) Scanner available
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!
Money Flow Club Bot Strategy 1-15 min ALLENG:
Friends, in this script, there is a function that calls the closing of the candle by Heikin ASHI candles.
You can disable it in the indicator settings.
There is no redrawing of the indicator on regular candlesticks.
The indicator is easy to set up for any trading pairs and any exchanges.
It has an entry point and provides 2 take profit.
It also contains consolidation zones when the price moves for a short time in the range that is visible on the indicator.
In order to try the indicator write in your personal messages.
The strategy does not specify a condition for exiting the position when the first take is taken, the stop is moved to breakeven, so the chart in the strategy turned out to be torn.
RUS:
Друзья, в этом скрипте присутствует функция вызывающая закрытие свечи по свечам Хейкин Аши.
Её можно отключить в настройках индикатора. На обычных свечах перерисовка индикатора отсутствует.
Индикатор легко настроить на любые торговые пары и любые биржи. А нем есть точка входа и предусмотрены 2 тейк профита.
Так же в нем присутствуют зоны консолидации когда цена короткое время движется в диапазоне который виден на индикаторе.
Для того что бы попробовать индикатор напишите в личные сообщения.
В стратегии не прописано условие выхода из позиции когда первый тейк взят, то стоп переносится в безубыток, поэтому график в стратегии получился рваный.
Weighted Price Oscillator (STRATEGY)Weighted Price Oscillator is an unique indicator that shows the relationship between two custom variables that trigger signals upon specific conditions. When WPO (short for weighted price oscillator) crosses over the signal or zero line, it creates a buy signal and conversely below the signal or zero line, it generates a take profit signal. All of which are provided that the specific conditions are met.
Inside the script's options, the following options are: signal sensitivity, enable signal background color, and take profit percentage. The signal sensitivity allows you to adjust the script's trigger sensitivity, so that the script can fire signals appropriate for a specific timeframe. Enabling signal background color will provide a visual on the oscillator when a buy or take profit signal is being created. And lastly, the take profit percentage option is for configuring the trade size percentage of which you want to take profit with.
PM me for access.
VWAP and RSI strategyThis strategy combines VWAP and RSI indicators
BUY RULE
1. EMA50 > EMA 200
2. if current close > vwap session value and close>open
3. check if RSI3 is dipped below 10 for any of last 10 candles (as defined rsi_buy_level)
EXIT RULE
1. RSI3 crossing down 90 level (as defined in rsi_sell_level)
STOP LOSS EXIT
1. default is set to 5%
you need to add EMA 50 , EMA 200 and VWAP (session) indicators to the chart to see how these signals are generated
This strategy is tested on SPY and QQQ index stocks on hourly chart.
Warning
for educational purposes only