TimeSync by KingThies TimeSync by Kingthies
Written in Pine v4
Applies one function that was published in the Tradingview Pinescript Manual
The Motivation behind this script - Time is 50% of your chart. Many ignore it entirely. This should help give an idea on how to read it and incorporate it in their analysis.
TimeSync by KingThies takes a simple concept and turns it into a visual tracking system of when timeframes of significant impact, all close at the same time.
By utilizing several high time-frames, we see overlaps in periods and more significant events occurring when multiple periods close at once.
The TFs included are 3D,1W,2W and 1M. When users use the timeframes above intraday, the resolution for these HTF's is shown. When using the LTFs, anything lower than 1D/is intraday, the user sees a similar concept but comprised of the 4H, 6H,8H and 10H charts.
Users can adjust the settings to show the HTFs in sync AND also factor in if the event was on a business quarter or new year, which adds more significance to the occurrence.
By seeing when these periods end in sync, we can assume more volatility is present in a given market, presenting various opportunities for traders to take advantage of a given situation.
Apologies in advance for any questions that come up - I will do my best to reply or respond here on Tradingview.com.
Additional Resources for this topic can be found in my account signature, located at the bottom of this post.
BTCUSD
XBT % ContangoSimilar to my other indicators, but measures XBTUSD Contango in terms of percent.
Also, built it so you could change the values that give the red and green signals. Default values are 0% or less (backwardation) indicates green. However, i found that a 0.5% setting worked will finding local bottoms for current contract of XBTH20 (March 2020). The upper value default is at 5%, and signals red when the next contract reaches over 5%.
My assumption is as BTC increases in value over time, measuring contango in terms of percent will be a better measure of the XBT futures curve.
MTF Trailing SL Strategy [QuantNomad]This is a Multi-Timeframe version of my Trailing SL Strategy.
Few weeks ago I published Trailing SL Strategy. There I used only basic Trailing SL to enter positions.
It worked pretty well so I tried to work on it a bit. I thought what if you can use the same ATR TSL on different timeframes and combine them into one signal.
In this strategy you can use only ATR stops and choose 3 other higher timeframes in addition to your current timeframe.
You'll see Trailing SL plotted on the chart form all these timeframes.
Entry Long position if all 4 time-frames agree on long signal.
Exit Long positions when at least 2 time-frames disagree on long signal.
Entry to Short position if all 4 time-frames agree on Short signal.
Exit from Short positions when at least 2 time-frames disagree on Short signal.
Here is the link to my basic Trailing SL Strategy:
Ichimoku Clouds Strong Bullish/Bearish signals and alertsIchimoku Clouds Strong Bullish/Bearish signals with allerts
The Ichimoku cloud was developed by Goichi Hosoda, a Japanese journalist, and published in the late 1960s. It provides more data points than the standard candlestick chart. While it seems complicated at first glance, those familiar with how to read the charts often find it easy to understand with well-defined trading signals.
We provide you easy-to-use script which helps to decrypt meaning of lines in the indicator. The script takes Ichimoku clouds indicator formulas to calculate Tenkan, Kijun, SenkouA, SenkouB values and examines them in order to produce buy ( Bullish ) and sell ( Bearish ) signals which are displayed at the chart
The most appropriate time frame is 30m
Custom alerts are added to send you a notice with a webhook when bullish or bearish signal arrives.
You can easily add weak and neutral signals alerts by removing "//" in a specified place
Feel free to copy and use this script for your ideas and trading. You can modify the script by adding Parabolic SAR in order to increase accuracy of positions closure
Data MeanCalculating the Mean, given a set of data.
I'd assume BTCUSD needs to touch this on the daily, as it hasn't yet.
"reverting to the mean" is essential in market dynamics.
inwCoin Average Position Price Calculator - For CryptocurrencyEver wonder what is my average entry ?
No need to use excel.
Just use this simple indicator to calculate average entry of your multiple positions.
How to use
--------------
1) Just input your entries into each box. ( Buy price + buy amount )
2) If you don't want to use any input, just uncheck the checkbox.
How to read value
----------------------
- This indicator will calculate the asset amount you got when you purchase it, by asset amount = entry amount / entry price ( Eg. buy BTC at 10,000$ per BTC with 1,000 USD = 1000/10000 = 0.1 BTC )
- It will calculate your current value of the asset you holding and compare it with all of the money you already invested. Also the profit/loss.
- It will show the average entry price with the green line on the chart and in the textbox.
Bitcoin Margin Call Envelopes [saraphig & alexgrover]Bitcoin is the most well known digital currency, and allow two parties to make a transaction without the need of a central entity, this is why cryptocurrencies are said to be decentralized, there is no central unit in the transaction network, this can be achieved thanks to cryptography. Bitcoin is also the most traded cryptocurrency and has the largest market capitalization, this make it one of the most liquid cryptocurrency.
There has been tons of academic research studying the profitability of Bitcoin as well as its role as a safe heaven asset, with all giving mixed conclusions, some says that Bitcoin is to risky to be considered as an hedging instrument while others highlight similarities between Bitcoin and gold thus showing evidence on the usefulness of Bitcoin acting as an hedging instrument. Yet Bitcoin seems to attract more short term speculative investors rather than other ones that would use Bitcoin as an hedging instrument.
Once introduced, cryptocurrencies where of course heavily analyzed by technical analyst, and technical indicators where used by retail as well as institutional investors in order to forecast the future trends of bitcoin. I never really liked the idea of designing indicators that specifically worked for only one type of market and ever less on only one symbol. Yet the user @saraphig posted in Feb 20 an indicator called " Margin Call MovingAverage " who calculate liquidation price by using a volume weighted moving average. It took my attention and we decided to work together on a relatively more complete version that would include resistances levels.
I believe the proposed indicator might result useful to some users, the code also show a way to restrict the use of an indicator to only one symbol (line 9 to 16).
The Indicator
The indicator only work on BTCUSD, if you use another symbol you should see the following message:
The indicator plot 6 extremities, with 3 upper (resistance) extremities and 3 lower (support) extremities, each one based on the isolated margin mode liquidation price formula:
UPlp = MA/Leverage × (Leverage+1-(Leverage*0.005))
for upper extremities and:
DNlp = MA × Leverage/(Leverage+1-(Leverage*0.005))
for lower extremities.
Length control the period of the moving averages, with higher values of length increasing the probability of the price crossing an extremity. The Leverage's settings control how far away their associated extremities are from the price, with lower values of Leverage making the extremity farther away from the price, Leverage 3 control Up3 and Dn3, Leverage 2 control Up2 and Dn2, Leverage 1 control Up1 and Dn1, @saraphig recommend values for Leverage of either : 25, 20, 15, 10 ,5.
You can select 3 different types of moving average, the default moving average is the volume weighted moving average (VWMA), you can also choose a simple moving average (SMA) and the Kaufman adaptive moving average (KAMA).
Based on my understanding (which could be wrong) the original indicator aim to highlight points where margin calls might have occurred, hence the name of the indicator.
If you want a more "DSP" like description then i would say that each extremity represent a low-pass filter with a passband greater than 1 for upper extremities and lower than 1 for lower extremities, unlike bands indicators made by adding/subtracting a volatility indicator from another moving average this allow to conserve the original shape of the moving average, the downside of it being the inability to show properly on different scales.
here length = 200, on a 1h tf, each extremities are able to detect short-terms tops and bottoms. The extremity become wider when using lower time-frames.
You would then need to increase the Leverages settings, i recommend a time frame of 1h.
Conclusion
I'am not comfortable enough to make a conclusion, as i don't know the indicator that well, however i liked the original indicator posted by @saraphig and was curious about the idea behind it, studying the effect of margin calls on market liquidity as well as making indicators based on it might result a source of inspiration for other traders.
A big thanks to @saraphig who shared a lot of information about the original indicator and allowed me to post this one. I don't exclude working with him/her in the future, i invite you to follow him/her:
www.tradingview.com
Thx for reading and have a nice weekend! :3
RSI & StochasticA combination of RSI and Stochastic using default settings.
- RSI or Relative Strength Index is the white line.
- Stochastic %K is the aqua line
- Stochastic %D is the orange line
- The purple rectangle is the RSI range going from 30 (oversold) at the bottom to 70 (overbought)
- The top dotted line indicates the price being overbought on the stochastic
- The bottom dotted line indicates the price oversold on the stochastic
I mainly use both indicators to spot divergence/ potential upcoming turning points (tops or bottoms).
For example on the chart the white line shows the price of Bitcoin Rising
While the yellow line shows the stochastic declining and the red RSI stayed more or less at the same level.
Another way to use this indicator is to use the aqua line crossing above the orange line as an entry for a long trade this strategy is most useful when both are near the bottom of the range. The opposite is true for short trades but
both should be combined with other indicators such as moving averages support levels or volume for best results.
Generally RSI is more useful in trending markets & the stochastic is more useful in sideways or choppy markets.
Coinbase_3-MIN_HFT-StrategyThis conceptual strategy trades against the short-term trend. The first position can be either long or short.
In the short-term, prices fluctuate up and down on wide spread exchanges.
And if the price moves to one side, the price tends to return to its original position momentarily.
This strategy set stop order. Stop price is calculated with upper and lower shadows.
Market EKGShort Summary
This indicator takes the differences in the previous 4 period OHLC inputs, and compares them to the previously closed candle input. The difference is then placed into an oscillator that when all four inputs are scrolled back on, shows an EKG appearing oscillator / volatility measure for traders to use on indexes, tickers and markets that do not allow typical volume based indicators.
Full Summary
Named for its similar appearance to an EKG medical chart, this script takes the difference in relative averages of previous periods in a trend , and compares it to the most recent period input. This can be used as a price based volatility measure, useful in markets that may be limited by no valume measures or other indexes where volatility is useful to meeasure but will not allow volume initializations.
Steps taken
Taking Previous Period OHLC
Taking Previous 3 Periods OHLC Avgs
Difference Between #1 & #2 (Comparing most recent confirmation to relative trend
Plot Results
This RSI Script is intended for public use and can be shared / implemented as needed
Questions? I do not monitor my TradingView inbox. See email address in signature at the bottom of this page for contact information.
Use this script and its calculations as needed! No permission required.
Cheers,
Grover Llorens Activator Strategy AnalysisThe Grover Llorens Activator is a trailing stop indicator deeply inspired by the parabolic SAR indicator, and aim to provide early exit points and reversal detection. The indicator was posted not so long ago, you can find it here :
Today a strategy using the indicator is proposed, and its profitability is analyzed on 3 different markets with the main time frame being 1 hour, remember that lower time frames involve lower absolute price changes, therefore we are way more affected by the spread, and we can require a larger position sizing depending on our investment target, trading higher time-frames is always a good practice and this is why 1 hour is selected. Based on the result we might make various conclusions regarding the indicator accuracy and might have ideas on future improvements of the indicator.
I'am not great when it comes to strategy design, i still hope to share correct and useful information in this post, let me know your thoughts on the post format and if i should make more of these.
Setup And Rules
The analysis is solely based on the indicator signals, money management isn't taken into account, this allow us to have an idea on the indicator robustness and resilience, particularly on extremely volatile markets and ones exhibiting a chaotic structure, altho it is normally good practice to close any position before a market closure in order to avoid any potential major gaps.
The settings used are 480 for length and 14 for mult, this create relatively mid term signals that are suited for a trend indicator such as the Grover Llorens Activator, unfortunately we can't infer the indicator optimal settings, thats how it is with any technical indicator anyway.
Here are the rules of our strategy :
long : closing price cross over the indicator
short : closing price cross under the indicator
We use constant position sizing, once a signal is triggered all the previous positions are closed.
Description Of The Statistics Used
Various statistics are presented in this post, here is a brief description of the main ones :
Percent Profitability (higher = better): Percentage of winning trades, that is : winning trades/total number of trades × 100
Maximum Drawdown (lower = better) : The highest difference between a peak and a valley in the balance, that is : peak - valley , in percentage : (peak - valley)/peak × 100
Profit Factor (higher = better) : Gross profit divided by gross loss, values under 1 represent gross losses superior to the gross profits
Remember that more volatility = more risk, since higher absolute price changes can logically cause larger losses.
EURUSD
The first market analyzed is the Forex market with the EURUSD major pair with a position sizing of 1000 units (1 micro lot). Since October EURUSD is not showing any particular strong trend but posses a discrete rising motion, fortunately cycles can be observed.
The equity was rising until two trades appeared causing a decline in the equity. Before October a bearish market could be observed.
We can see that the equity is rising, the trend still posses various retracements that affect our indicator, however we can see that the indicator totally nail the end of the trend, thats the power of converging toward the price.
In short :
$ 86.63 net profit
340 closed trades
37.65 % profitable (thats a lot of loosing trades)
1.19 profit factor
$ 76.67 max drawdown
Applying a spread would create negative results (in general the average spread is used), not a great start...
BTCUSD
The cryptocurrency market is relatively more volatile than others, which also mean potentially higher returns, we test the indicator using certainly the most traded cryptocurrency, BTCUSD. We will use a position sizing of 1 unit.
In the case of BTCUSD the strategy balance is relatively stationary around the initial capital, with of course high dispersion.
from september to december the market is bearish with various ranging periods, no apparent cycles can be observed, except maybe in the ranging period of october, this ranging period is followed by a non linear trend (relatively parabolic) that the indicator failed to capture in its integrity (this is a recurrent problem and it is starting to piss me off xD).
In short :
$ 2010.64 net profit (aka how i bet the crypto market)
395 closed trades
38.23 % profitable
1.036 profit factor
$ 5738.01 max drawdown (aka how i lost to the crypto market)
AMD
AMD stand for Advanced Micro Devices and is a company focused on the development of computer technology, i love the microprocessor market and i really like AMD who start this year in a pretty great way with a net bullish trend.
The performance of the indicator on AMD is decent (at last !) with the equity producing many new higher highs. The indicator performance still drop in the middle end of 2019 with a large equity drawdown of 17$ caused by the gap of august 8. Unfortunately AMD, like lot of well behaving stocks can only tells us that the indicator has good performances on heavily trending markets with no excess of noise or chaotic structures.
In short :
$ 17.86 net profit (Enough for a consistent lunch)
295 closed trades
36.27 % profitable
1.414 profit factor
$ 10.37 max drawdown.
Conclusion
A strategy using the recently proposed Grover Llorens activator has been presented. We can easily conclude that the indicator can't possibly generate long term returns under chaotic and volatile markets, and could even produce unnecessary trades in trending markets without much parasitic fluctuations such as noise and retracements (think about a simple linear trend) since the indicator converge toward the price and would therefore automatically cross over/under the trend, thus guaranteeing a false signal.
However we have seen its ability to provide accurate early reversal detection shine from time to time, thus over performing lagging indicators in this aspect, however the duration of price fluctuations isn't fixed at a certain period, the rate of convergence should be way faster during volatile fluctuations, of moderate speed during more cyclic fluctuations, and really slow with apparent long term trends, this could be achieved by making the indicator adaptive, but it won't really make it necessarily perform better.
That said i still believe that converging trend indicators are really interesting and aim to capture the non lasting behavior of price fluctuations, they shouldn't receive so much hate (think about the poor p-sar).
Thanks for reading !
Deadband cross detection for BTC (XBT)Description: meant to be used with BTCUSD (or XBTUSD ) on 3 mins to 1h candles charts.
Idea is to provide a tool to detect break-out's from a dead band around an EMA, and to detect back-in's to the dead band.
Detection is fundamentally based on how much %, at least, a certain candle body has ruptured the dead band (adjustable).
Long and short flags are placed on the chart, as well as the deadband. Can be used to generate alers.
With minimal modifications, can be convert to a Strategy script.
Following are ideas to play around if you want. Room for improvements:
- convert constants into inputs, and diversify thresholds assimetrically
- play around with wether or not using pyramiding (here pyramiding is blocked)
- look at several bars in a sequence, not only current
Bitcoin Halving CountdownHello traders,
I offer you today the BTC halving countdown updated in real-time on your charts
I inspired myself greatly from the gentleman @everget's script LTC halving countdown below
(
The countdown date is coming from that source www.bitcoinblockhalf.com.
The halving date is estimated to be around May 13th, 2020 .
That date is hardcoded in the script and is used for the countdown calculation.
The Bitcoin block mining reward halves every 210,000 blocks, the coin reward will decrease from 12.5 to 6.25 coins.
Enjoy the weekend
Dave
ANN BTC MTF CM Sling Shot SystemHi all, this script was created as a result of ANN training in all time frames of bitcoin data.
Trained data is built on Chris Moody's Sling Shot system.
CM Sling Shot System :
This system automatically generates the ANN output for all time periods.
Therefore, it has multi-time-frame feature.
Artificial Neural Networks training details:
Average Errors
1 minute = 0.005570
3 minutes = 0.006674
5 minutes = 0.007067
15 minutes = 0.010000
30 minutes = 0.009398
45 minutes = 0.010000
1 Hour = 0.006848
2 Hours = 0.006901
3 Hours = 0.009608
4 Hours = 0.009774
1 Day = 0.010000
1 Week = 0.010000
The results look good (All Average Error <= 0.01 ), the Sling Shot Method is also good, but you can also refer to historically slower period averages to filter these arrows a bit more. I leave the decision to you.
Best regards.
Extreme VolumeThis indicator colors volume bars that are significantly higher volume than the vol moving average ( SMA ). Utilizes two multiplier that can be adjusted by user. Defaults are that the indicator colors volume bars yellow if 20% higher than average, and orange if over 50% higher than average.
Reason why i created this indicator is i typically don't care about volume unless it is significantly higher than average. I find extreme volume useful for confirmation of a breakout, etc. This is why the rest of the volume bars are gray, they are still available for reference, but I dont pay much attention until volume is higher than average.
Also, when you load this indicator it will be in its own pane below the chart. To try and figure out how to add it to same pane as the chart was a huge pain in the ass. Once you figure it out it is pretty easy. I'll try to explain below...
Next to the indicator name you have the following options ... Hide, Settings, Show Source Code{}, Delete(X), and More (3 dots)
1) Click on "More" (3 dots)
2) Click on "Move To" then chose "Existing Pane Above"
3) Volume will likely be too large. Volume scale should be on left side, use your mouse to adjust volume smaller
4) Volume will likely be in the middle of your chart, click on it and drag it down.
inwCoin Buy Bottom/Sell Top ==============
Eng
==============
base on this study
This study is using Zig-Zag indicator from script above
and to pug a "FAKE" buy & sell at the bottom or top of each duration
I create this to show you guys that you can easily "make up" a 100% win strategy
and to fool any newbies and lure them to VIP group.
==============
Thai
==============
เขียน indicator ง่ายๆ ง่อยๆ โดยเอามาจาก script ที่คนเขาแจกเอาไว้ให้ฟรีๆ ตามลิงค์ข้างบน
โดยหลักการคือจะเป็น strategy Zig-Zag
แล้วเราก็ใส่คำว่า Buy ไว้ที่ก้น
ใส่คำว่า Sell ไว้ที่ยอด
แล้วก็เอามาโพสหลอกเม่า เพื่อให้เห็นว่า อันนี้คือ strategy เทพ
สามารถเข้าที่ก้น ออกที่ยอดได้ตลอดเวลา
มันช่างสุดยอดไปเล้ยพวก!!
อย่าหลงเชื่อนะครับ พวกนี้มันหลอกต้มทั้งนั้น
บ้าบอคอแตก ถ้าทำแบบนี้ได้ทุกครั้ง
ทำตามเอง all-in ทุกครั้งก็รวยตายห่าแล้วครับ
คิดสิ คิด... ใช้สมองหน่อย อย่าเอาไว้คั่นหู
Bitfinex Long/Short Delta (Longs - Shorts)Bitfinex Long/Short Delta (Longs - Shorts)
Longs = Green
Shorts = Red
Delta = Yellow
BEST Mayer MultipleHello traders
I'm not a HODLer by any means. I know when to sell (or I think I know....) when an asset starts going against me too much.
Even if it's a "long-term" investment.
My mentor used to telling me this: "If a short-term trade becomes a long-term investment, then you're in for a hell of a ride".
I have no clue if Bitcoin/BTC will go back up or not - I don't even care because I'm an intraday trader.
What if BTC was actually a way to accumulate more fiat? Satoshi fooled us
I coded this Mayer Multiple according to the specifications below. By the way, I'm a big fan of Willy Woo. I've been monitoring all his work since I learned about crypto (10 minutes ago.... it's a joke come on)
charts.woobull.com
Scaling
To respect the Mayer's multiple model, I recommend to select the Logarithmic scaling as shown below
imgur.com
What Mayer's model says
Using the reference below, the model says we're in the oversold zone. But, we can be in that zone for months/years...
When a model says an asset could bounce in a 1000-7000 USD range... well... I don't know how I would be able to perform optimally with that insight. This is very subjective and not a recommendation.
Mayer's Multiple model reference
All the BEST
Dave
Heiken Ashi Triangles at the Top and Bottom of ScreenHeiken Ashi Triangles at the Top and Bottom of Screen
The image below shows the comparison to actual Heiken Ashi candles
(Though changing from candles to Heiken Ashi tends to smooth the triangles a little)
Pivot of Pivot Reversal Strategy [QuantNomad]Continue looking for more signifcant pivot points.
This script is based on my "Significant Pivot Reversal Strategy".
In this strategy I use concept of pivot of pivot points.
So for PoP I require that pivot highs point should have 2 lower pivot highs points around them and pivot low 2 higher pivot lows points.
Transparent lines represent usual pivot levels ints.
Not transparent lines represent pivot of pivot levels.
Link to original script:
Directional Movement Index + Average Directional IndexPersonal DMI and ADX script
ADX color change from positive vs negative momentum
DMI Color fill based on DMI+/- positive momentum
No fill color during lack of momentum
QuantNomad - Significant Pivot Reversal StrategyI'm working on improving the Pivot Points Reversal Strategy.
As one of the ways to filter out insignificant levels I decided to check that pivot point is not above/below neighbors, but check that it's above/below at least by a certain amount.
I use ATR, so in params, you can set length of ATR and also ATR multiplier. The new level will be calculated only if PP will be above/below neighbors by atr * atr_mult.
It seems this approach might help in some cases.
Here I have PivotPoint + RSI strategy:
QuantNomad - EVWMA Cross StrategyPretty simple EVWMA (Elastic Volume Weighted Moving Average) Cross Strategy. Long on bullish cross, Short on Bearish Crosss.
EVWMA is a quite interesting moving average where period of the MA is defined from volume itself.
It incorporates volume information in a natural and logical way. The eVWMA can be looked at as an approximation to the average price paid per share.
As a volume period you can use sum of the last x bars volumes.
Here is EVWMA as an indicator: