Natural Market Combo [CC]The Natural Market Combo was created by Jim Sloman and this is another one of my Ocean series of indicators to provide his full life's work free of charge to everyone. Just as the name implies, this is a combination of his two market indicators ( Natural Market River and Natural Market Mirror ) and this is a momentum indicator like the others. Big thanks to @altcoinz and @tmac87 for providing me the full source code and documentation to be able to publish all of Jim's work. This indicator is very simple to understand in that it takes the 2 market indicators and creates his own average of both indicators then smooths the result. I did fix an error that he didn't account for in his original script so the results are much more accurate. I have included strong buy and sell signals as darker colors and normal buy and sell signals as normal colors. Buy when the line turns green and sell when it turns red.
Let me know if there are any other indicators or scripts you would like to see me publish!
Market
Market breadth Percentage of stocks above MA of various indexesPercentage of stock above moving average is a common market breadth indicator. This script can show multiple lines of percentage of stock above different moving average (5,20,50,100,150,200) of different US indexes.
Natural Market River [CC]The Natural Market River was created by Jim Sloman (Ocean Theory pgs 59-62) and this is another momentum indicator that is extremely similar to the previous indicator I published, the Natural Market Mirror . This has almost identical buy and sell signals but different way to handle calculations so I'm going to leave it up to you which one you will prefer. Since this is almost identical, the buy and sell signals work in the same way with both strong signals and normal ones. Buy when the line turns green and sell when it turns red.
Let me know what other indicators you would like to see me publish!
Natural Market Mirror [CC]The Natural Market Mirror was created by Jim Sloman (Ocean Theory pgs 49-57) and this is a continuation of my series from Jim Sloman's indicators. This indicator is also a momentum indicator and is very similar to the previous indicator I published, the Ocean Indicator and of course this indicator is built using ideas from the Ocean indicator. It may just be my opinion but I feel like this indicator provides better buy and sell signals in comparison. I built this using strong buy and sell indicators in addition to normal ones so darker colors are the strong signals and lighter colors are the normal signals. Buy when the line turns green and sell when it turns red.
Let me know what other indicators you would like me to publish!
BTC > bull market supportPlots the natural log of the price divided by the 20w SMA and 21w EMA, color coded by the Bitcoin price (green if above, red if below). Use this when comparing Altcoins to Bitcoin's performance. Works in daily & weekly timeframes only!
CM_Twiggs Money FlowFull Credit goes to LazyBear for publishing Original Code.
I added:
Threshold lines that changes the color of Histogram based on if it exceeds Threshold lines. Ability to turn off and on.
Ability to Turn Histogram Off/On
Ability to turn Twiggs Money Flow Line Off/On
Percentile Rank Market FilterA simple script to filter bull and bear markets by using percentile rank filter. Using market regimes to filter by bull/bear/sideways markets helps to understand how your strategy will
behave in various market regimes and allows you to avoid unprofitable regimes and only trade in profitable ones.
The idea of market regime filtering is used in the most successful technical algorithmic trading strategies, as one should always design a trading strategy with a particular market in mind according to trading legend, Larry Connors
Feel free to use this script in your strategies to improve your profits and lower drawdowns.
Historical Volatility Percentile FilterThis indicator provides a simple market regime filter for Historical Volatility. Depending on the strategy that you are using, it is useful to know how your strategy will perform at different
ranges of volatility, as this can greatly impact your performance. For instance, some of my long-only mean reversion strategies will only take trades where the volatility percentile is not extremely high, as this can often indicate fundamental changes in the security or the start of a big market correction. Some strategies may work better when volatility is higher
Feel free to use the following code along with your strategies to help improve performance and reduce the volatility of your gains in the long term.
Market Cap - simpleThis is a simple market cap indicator . it allows you to see the actual market cap of a stock, live, on the chart, right next to the stock price.
The indicator uses the data provided by Tradingview to calculate the market cap based on the simple calculation of outstanding shares times the price, at any given time.
The indicator can be used to compare the actual value of a stock at different times when sometimes you might discover that the market cap when the price is low is actually higher than the market cap when the price was high. That scenario might happen when the amount of outstanding shares has been changed as time goes by.
That conclusion is another nice benefit to having the indicator, on top of just having the Market Cap right in front of your eyes, always up-to-date, changing as the price is changing as well.
transparency= the higher the value, the more transparent the indicator will be. this feature allows you to see the indicator if you want to, but not letting it interrupting your chart.
Hope you enjoy it and good luck!
Initial Balance Markets Time ZonesThe below script is based on Initial Balance.
Initial Balance is based on the highest and lowest points of Price Action (PA) within the first 60 minutes of trading. There is so much information available online, reference Initial Balance, that I have not provided a reference.
Most indicators I have seen have been solely based on UTC 0000 Initial Balance. My aim with this indicator was to be able to visualize how other time zones market openings Initial Balance affect PA.
The three market openings I chose to code in are:
London 0800 to 0900
New York 1430 to 1530
Asia 0000 to 0100
Within the script I have given the user the option to select to see with a green or red background when PA is above all zones Initial Balance high (green) or PA is below all zones Initial Balance low (red).
Alerts are also coded in, to prompt the user that PA has gone above or below as per above.
The Initial Balance high and lows also offer another form of areas of confluence.
Below are some examples of IB in action:
LTC
NULS
UNFI
DEXE
Pre and Market OpeningsPre and Market Openings is to enable you to quickly visualize the opening markets and how they could influence trading.
The below script has used the market time data from the below links:
Tokyo/Asia www.tradinghours.com
London www.tradinghours.com
New York www.tradinghours.com
The below script aims to plot:
Daily Asia Open
Weekly Asia Open
Daily London Open
Weekly London Open
Daily New York Open
Weekly New York Open
Using background colour it also shows market sessions (pre-market) for London and New York and regular for London, New York and Asia.
There is also plotted text for days of the week and sessions.
As you can see from the picture below that these market openings can act as support and resistance:
BTC
ETH
Market ReturnThis script calculates the market return for a specific period. It consists of two calculations which are:
1. Calculate market return of each asset - formula => (final value - initial value)/initial value
2. Calculate the aggregate average market return of chosen assets
The purpose of this script to see how much you would gain if you buy and hold the asset for a specific period.
Fundamental Metric to MarketThis script is supposed to be a quite basic way to find, from a fundamental standpoint, overvalue or undervalued stocks.
The script shows either Book to Market (inverse of P/B), EV /EBITDA, Earnings Yield (inverse of P/E) or Sales to Market (inverse of P/S).
For example, P/B is calculated as Close price / Book Value per share. As a contrarian investor you generally want to buy low P/B stocks and sell high P/B stocks. The problem is when a company has a negative Book Value. This might be the case when a company has written of a large amount of goodwill, which in turn wiped out their Book Value.
Instead you can use Book to Market, which is simply the inverse of P/B. It is calculated as Book Value per share / Close price. When using Book to Market you, generally, want to buy shares with high Book to Market values and sell those with low values. Because of the calculation, companies with negative Book Value will have negative Book to Market values and is therefore easy to identify.
The Fundamental Metric to Market indicator shows a colored background between the highest / lowest point of earlier values and the current value. When the background is mainly green the stock is probably undervalued, and the opposite is true when the background is red.
THIS IS NOT TRADING ADVICE, AND YOU SHOULD ALWAYS DO YOUR OWN RESEARCH
GOOD LUCK AND HAPPY TRADING
Simple Sessions## Background ##
Simple Sessions is based on the very awesome "Sessions on Chart" by Aurocks_AIF.
I really liked how the background colours worked but wanted to simplify it by removing some parts that I didn't use. I then simplified much of the code, put it into my standard template format and re-published. Hopefully the code is a bit cleaner and easier to read now.
## Usage ##
The default indicator shows the following sessions:
* Sydney in Navy
* Tokyo in Purple
* London in Green
* New York in Red
The good news is that using Green and Red for London and New York, gives a nice distinct yellow for the overlapping sessions. Sydney and Tokyo are by in similar colors by design.
By default, only London and New York show, but you may turn on Sydney and Tokyo in the settings.
## Use, Share, Like, etc #
Have fun!
-- chilts
Put Call RatioPlots the CBOE Put Call Ratio and marks up locations of extremities.
Useful as a factor of confluence in identifying extremities in the market.
[R&D] Moving CentroidThis script utilizes this concept. Instead of weighting by volume, it weights by amount of price action on every close price of the rolling window. I assume it can be used as an additional reference point for price mode and price antimode.
it is directly connected with Market (not volume) profile, or TPO charts.
The algorithm:
1) takes a rolling window of, for example, 50 data points of close prices:
2) for each of this closing prices, the algorithm will check how many bars touched this close price.
3) then: sum of datapoints * weights/sum of weights
Since the logic is implemented in pretty non-efficient way, the script sometimes can take time to make calculations. Moreover, it calculates the centroid taking into account only close prices, not every tick. of a given rolling window That's why it's still experimental.
Bitcoin Market Capitalization (QUANDL:BCHAIN/MKTCP)Simple script that graphically represents the Bitcoin Market Capitalization
Blockchain data made available at QUANDL .
Its logic is simple, search the data in the QUANDL database and plot it on the chart.
Crypto Trading Hours UTC based on Berlin time (UTC +2)Although crypto markets trade 24/7, there are spikes in volume according to the general hours at which different parts of the world do the majority of their trading.
This Script highlights the US, European and Asian markets when they are most active. The normal market hours are always from 08:00 to 16:30 local time.
US market opens at 8:00 Silicon Valley local time, and closes at 16:30 New York local time.
European market opens at 8:00 London local time, and closes at 16:30 Frankfurt local time.
Asian market opens at 8:00 Hong Kong local time, and closes at 16:30 Sydney local time.
Mass Thrust OscillatorThis is a custom indicator that turns my Mass Thrust Indicator into an oscillator which is loosely based on Tushar S. Chande's Market Thrust Oscillator (Stocks & Commodities V. 10:8 (347-350))
Let me know if you would like a custom script or if you want to see me publish any other indicators!
Mass Thrust IndicatorThis is a custom indicator of mine that I based loosely on Tushar S. Chande's Market Thrust Indicator (Stocks & Commodities V. 10:8 (347-350)). Buy the stock if the indicator is green and sell when it turns red.
Let me know if you would like to see more scripts or if you have custom requests!
Long Wick TrialI've created this as a confirmation indicator to help know when market conditions are favorable to enter a trade. It measures volume, volatility, and ATR. It is not intended to tell you when to enter/exit the market, but use it with another indicator such as the mirror macd to filter out many losses and avoid entering the market during low volume or excessive volatility that may trip your stop loss.
Green = Favorable Market conditions
Yellow = Enter with caution, the market is moving sideways but is slightly trending
Orange = Enter with caution, the market is trending but extremely volatile and may trip stop loss early
Black = Shouldn't enter market here, market is moving sideways and volume is also low.