ObjectStackLibrary "ObjectStack"
init()
push()
push()
push()
push()
push()
nextIndex()
nextIndex()
nextIndex()
nextIndex()
nextIndex()
delete()
delete()
delete()
delete()
delete()
cleanOldest()
cleanOldest()
cleanOldest()
cleanOldest()
cleanOldest()
Table
[Nic] Intraday Vix LabelsPrints intraday percent change of VIX9D, VVIX, PCC, and any other arbitrary symbol on a table for quick reference.
BTC Futures BasisShows various basis percentages in a table and plots historical basis. Also has an alert function for backwardation events. Useful for tracking bullish/bearish sentiment in BTC futures markets.
*Currently displays March and June futures for the following exchanges: Bitmex, Binance, Deribit, Okex, and FTX
Also displays CME Continuous Next Contract. All of the symbols are customizable.
-----------
Market-wide backwardation usually occurs during a heavy sell-off (such as a liquidation cascade).
**For getting alerts of backwardation events, I recommend creating an alert on the 1 minute chart with the condition "Any alert() function call". Alert level is customizable as well.
-----------
*NOTE!! : Futures contracts expire (obviously), so the contract symbols will need to be updated periodically. I will try to keep them updated going into the future.
**NOTE2!! : The alert() function does not track the CME contract. This is to avoid false triggers.
SPY Sub-Sector Daily Money Flow TableThis calculates the dollar volume per candlestick (2nd row) and cumulative (3rd row) of the entire trading day for each subsector of the SPY.
The 'Total' column is the total of all the subsectors combined. It is calculated separately from SPY volume.
The money flow is calculated with (open+close)/2 which means different timeframes yield different results and won't be especially accurate day-by-day. This is useful to quickly see rotation and possible divergences.
Enjoy!
ATR Table (SMA)ATR table for select time frames.
Using Simple Moving Average (SMA) to get ATR.
MA periods is based on numbers suggested by Saeed Khakestar (Trigger Price Action)
You can change them in code
5m => 12
15m => 16
1H => 24
4H => 42
1D => 30
1W => 52
RSI is calculated the same way
P/L panelThis is not a indicator or strategy.
I thought of having a table showing running profit or loss on chart from a specific price.
I tried to put the same in code and ended up with this code.
This is a table showing the running profit or loss from a manually specified price and quantity.
when you add the code, This table asks us to input the entry price and quantity.
It will calculate the running profit or loss with respect to running price and puts that in the table.
We will have to input two things.
1.) entry price: the price at which a position(long/short) is taken.
2.) Quantity: A +value need to be entered for Long position and -value for short position.
code detects whether its a long position or short position based on the quantity info.
for example if a LONG position is taken at a price 60 of 100 quantity,
then in price we need to enter 60
and in quantity 100 (+ve value)
for SHORT position at a price of 60 of 100 quantity,
in price we need to enter 60
and in quantity -100 (-ve value)
once the table is added to the chart.
Just double click on the table, it will open the settings tab and we can provide new inputs price/quantity/position.
positioning of table is optional and all possible positioning options are provided.
Advise further improvements required if any in this code.
This piece of code can be used along with any indicator.
For which we may need to use valuewhen() additionally.
Try it yourself and ping me if required.
Oversold / OverboughtMy first script. Based on RSI , CCI , RVI, and MFI . You can customize overbought or oversold thresholds for any indicator.
If you have any ideas - welcome.
Disclaimer
This is not financial advice. Trade on your own risk.
Moving Average PanelThis indicator calculates many different moving averages and displays whether they are increasing or decreasing as a panel/table instead of a plot. Rows/columns can be removed from the table as needed in the options menu, there is also a mobile friendly/compact option as well as a location option.
Note: This script is large and may take a few moments to load.
Note: If there is not enough data, will default to bearish/decreasing.
Value Added
This is the most complete and transparent moving average panel/table indicator. Unlike things such as the Technical Ratings, you can see what components are increasing or decreasing.
There may be some advantage in judging if a trend is likely to reverse or not based on the MA's with less lag.
Good for quick screening of charts.
[HELPER] Symbol Info Array Table HelperThis indicator is to show symbol info in table using built-in syminfo name space, coded in latest Pine Script version 5.
Credits to PineCoders and Everget
Features :
- Display table by changing table position, font size and color.
- Show / Hide necessary symbol info.
Gann Angle Table Calculator PlotterThis indicator was build upon based on Gann Angle and Gann Multiplier as refered of The Tunnel Thru The Air Or Looking Back From 1940, written by WD Gann .
Credits to FaizHebat for calculation.
Indicator features :
1. Font size from tiny to huge.
2. Table position.
3. Color for cell table and plot can be input or reversed.
4. Plot can be show or hide and also price can be track.
5. Able show currency and decimal price.
6. Gann table and Calculation table can show or hide.
7. Each Gann point can be hide including plot and calculation.
8. For desktop display only, not for mobile.
Pros :
1. Can be used as single or more indicator. (Chart show 2 same indicator with different setup)
Cons :
1. Price must be input before selecting any Gann Point.
FAQ
1. Credits
WD Gann , The Tunnel Thru The Air Or Looking Back From 1940
FaizHebat
2. Code Usage
Free to use for personal usage.
Positive direction with Currency and Decimal
Positive direction with Currency and Decimal
Price Range TableThe table shows the ranking of the price as a percentage relative to the past candles.
100 ~ highest price of the time frame
0 ~ lowest price of the time frame
PreMarketStatsThe idea is to catch pre market information (or other relevant data), that basically consists of a single number, in a table instead of using a plot that takes up space in the chart. In this example, I added pre market volume and pre market change in %. Where the second one is as well available in the details tab of the stock, it is not available if this tab is closed or during replays.
Position Sizing TableThe Position Sizing Table is a simple, clean table designed to calculate shares per trade based on total capital.
Harmonic Trading Ratios Educational (Source Code)This table indicator was intended as educational purpose only for Harmonic Trading Ratios.
The ratios are used for Harmonic AB=CD and XAB=CD.
Ratio calculation are shown for Retracement and Projection based Primary, Primary Derived, Secondary Derived and Secondary Derived Extreme.
Primary Retracement : 0.618
Primary Projection : 1.618
Please take note that Secondary Derived Extreme is only available for Projection.
Indikator berjadual bertujuan sebagai pendidikan sahaja untuk Harmonic Trading Ratios.
Ratio digunakan untuk Harmonic AB=CD and XAB=CD.
Pengiraan ratio untuk Retracement and Projection adalah berdasarkan Primary, Primary Derived, Secondary Derived dan Secondary Derived Extreme.
Primary Retracement : 0.618
Primary Projection : 1.618
Sila ambil perhatian bahawa Secondary Derived Extreme adalah untuk Projection sahaja.
The values shown in table was based on Harmonic Trading: Volume One, Page 18 written by Scott M Carney.
Nilai yang ditunjukkan dalam jadual adalah berdasarkan buku Harmonic Trading: Volume One, Page 18 ditulis oleh Scott M Carney.
Indicator features :
1. List Harmonic Trading Ratios including calculation.
2. Show and draw individual Harmonic Trading Ratio.
3. For desktop display only, not for mobile.
Kemampuan indikator :
1. Senarai Harmonic Trading Ratios termasuk pengiraan.
2. Memapar dan melukis Harmonic Trading Ratio secara berasingan.
3. Untuk paparan desktop sahaja, bukan untuk mobile.
FAQ
1. Credits / Kredit
Scott M Carney,
Scott M Carney, Harmonic Trading: Volume One
2. Code Usage / Penggunaan Kod
Free to use for personal usage but credits are most welcomed especially for credits to Scott M Carney.
Bebas untuk kegunaan peribadi tetapi kredit adalah amat dialu-alukan terutamanya kredit kepada Scott M Carney.
Display for Bullish / Bearish Retracement
Paparan untuk Bullish / Bearish Retracement
Display for Primary Retracement and Primary Projection
Paparan untuk Primary Retracement and Primary Projection
Display for Secondary Derived Extreme Retracement and Secondary Derived Extreme Projection
Paparan untuk Secondary Derived Extreme Retracement and Secondary Derived Extreme Projection
Simple RSI tableThis is a simple RSI table for traders that don't want the graph, only the current value.
Location, thresholds, and colors are all adjustable.
Multi-Currency & Multi-Timeframe SMA Summary Table
This script displays a summary table of the direction of simple moving averages of all the currencies on all timeframes. The concept was that I wanted a summary page giving me a birds eye view of what is happening in the market. I plan to use it as a common sense check to confirm that I'm not trading against the flow. I'm not planning to use it to blindly enter (ah if only trading was that easy!!!).
The above example is showing the direction of the 100 SMA for 30S, 3min, 15min, 1h, 4h, D for all the currencies. The base currency is adjusted so that the colour coding is adjusted to express the strength of the specific currency. For example in the case of CAD it is showing the directions of SMAs for CADNZD, CADAUD, CADJPY, CADCHF, CADEUR, CADGBP, CADUSD - the base currency is flipped on some pairs so CAD is always the base currency.
An example of what it is showing - look at the 1h column on JPY. All rows are red except for the chf row. This means that the 100SMA is pointing down on all JPY crosses except for JPYCHF (remember, SMA is down assuming JPY is the base currency).
Unfortunately, I could not fit all the script into a single indicator so you have to load an instance of the indicator into the chart for each timeframe you want to see. So the above example has 6 instances of the indicator overlaid - 1 instance for: 30S, 3min, 15min, 1h, 4h and D. Just choose the timeframe and the script will automatically organise the table.
At the bottom (in blue) is a summary score: a score of 7 = the MA is up on that timeframe on all currency crosses; a score of -7 = the MA is down on that timeframe on all currency crosses. So if you look at the example above, the blue row is showing that USD is very strong against all other currencies and the AUD is generally weak against all other currencies (notice the light blue vs the dark blue).
-You can choose the length of the SMA.
-You can chose the 'lookback' period (the bars back the script looks to compare whether the MA is getting higher or lower)
-You can change the colours
-You can adjust the table size to fit your monitor size
I hope its useful - I tried it yesterday and it kept me focused on USD strength (and not get seduced by temporary USD weakness). So it is doing what I designed it to.
Hope its useful. Good luck!
John
Harmonic Pattern Table (Source Code)This table indicator was intended as helper / reference for using XABCD Pattern.
Indikator berjadual bertujuan sebagai bantuan / rujukan untuk kegunaan XABCD Pattern.
The values shown in table was based on Harmonic Trading Volume 3: Reaction vs. Reversal written by Scott M Carney.
Nilai yang ditunjukkan dalam jadual adalah berdasarkan buku Harmonic Trading Volume 3: Reaction vs. Reversal ditulis oleh Scott M Carney.
Indicator features :
1. List Harmonic Patterns.
2. Font size small for mobile app and font size normal for desktop.
Kemampuan indikator :
1. Senarai Harmonic Pattern.
2. Saiz font kecil untuk mobile app dan saiz size normal untuk desktop.
FAQ
1. Credits / Kredit
Scott M Carney,
Scott M Carney, Trading Volume 3: Reaction vs. Reversal
2. Code Usage / Penggunaan Kod
Free to use for personal usage but credits are most welcomed especially for credits to Scott M Carney.
Bebas untuk kegunaan peribadi tetapi kredit adalah amat dialu-alukan terutamanya kredit kepada Scott M Carney.
Default Settings.
Setting asal.
Setting for selected Harmonic Pattern (Example : Bat)
Setting untuk pilihan Harmonic Pattern (Contoh : Bat)
Setting for show Harmonic Pattern only (Example : Bat)
Setting untuk nama Harmonic Pattern sahaja(Contoh : Bat)
MYX Bursa IPO Listing Table (Source Code)This indicator intended for Malaysia Market only for Initial Public Offering (IPO) refer to Bursa Malaysia
Indikator ini adalah untuk pasaran Malaysia sahaja untuk Tawaran Awam Permulaan (IPO) rujuk kepada Bursa Malaysia
Indicator features :
1. List similar symbol or counter based on year including total.
2. Font size small for mobile app and font size normal for desktop.
Kemampuan indikator :
1. Senarai simbol atau kaunter yang terlibat mengiku tahun termasuk jumlah.
2. Saiz font kecil untuk mobile app dan saiz size normal untuk desktop.
FAQ
1. Code Usage / Penggunaan Kod
Free to use for personal usage but credits are most welcomed.
Not for business / commercial usage, any damage or lialibity are not my resposibility.
Bebas untuk kegunaan peribadi tetapi kredit adalah amat dialu-alukan.
Bukan untuk kegunaan perniagaan / komersil, sebarang kerosakan atau liability adalah di luar tanggungjawab saya.
2. Update Frequency / Frekuensi
Anytime after official update by Bursa Malaysia.
Bila-bila masa selepas kemaskini rasmi oleh Bursa Malaysia
3. Symbol/Counter not showing / Simbol/kaunter tiada
Symbol/counter not longer exist or not yet updated.
Simbol/kaunter telah tersenarai keluar atau belum dikemaskini.
4. Why table overlap with chart ? To avoid this, click indicator > Visual Order > Send to Front.
Kenapa table bertindih dengan carta ? Untuk mengatasi ini, klik indikator > Visual Order > Send to Front.
All Setting enabled.
Semua seting diaktifkan.
Small Font setting enabled, suitable for mobile app.
Setting font kecil diaktifkan., sesuai untuk mobile app.
Setting by year.
Setting mengikut tahun.
[CLX][#01] Animation - Price Ticker (Marquee)This indicator displays a classic animated price ticker overlaid on the user’s current chart. It is possible to fully customize it or to select one of the predefined styles.
A detailed description will follow in the next few days.
Used Pinescript technics:
- varip (view/animation)
- tulip instance (config/codestructur)
- table (view/position)
By the way, for me, one of the coolest animated effects is by Duyck
We hope you enjoy it! 🎉
CRYPTOLINX - jango_blockchained 😊👍
Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely.
The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script.
MYX Delisted PN17 GN13 Auto Detect (Source Code)This indicator intended for Malaysia Market only for auto detect delisted companies (PN17, GN13) refer to Bursa Malaysia
Indikator ini adalah untuk pasaran Malaysia sahaja untuk automatik mengenalpasti senarai syarikat terkeluar rujuk kepada Bursa Malaysia
Indicator features :
1. Able to detect stock and warrant.
2. List similar symbol or counter including total.
3. Font size small for mobile app and font size normal for desktop.
4. Show date updated by Bursa Malaysia.
Kemampuan indikator :
1. Boleh mengenal pasti saham dan waran.
2. Senarai simbol atau kaunter yang terlibat termasuk jumlah.
3. Saiz font kecil untuk mobile app dan saiz size normal untuk desktop.
4. Memaparkan tarikh kemaskini oleh Bursa Malaysia.
Date Updated / Tarikh Kemaskini : 14/7/2021
FAQ
1. Credits / Kredit
LucF & PineCoders
2. Code Usage / Penggunaan Kod
Free to use for personal usage but credits are most welcomed.
Not for business / comercial usage, any damage or lialibity are not my resposibility.
Bebas untuk kegunaan peribadi tetapi kredit adalah amat dialu-alukan.
Bukan untuk kegunaan perniagaan / komersil, sebarang kerosakan atau liability adalah di luar tanggungjawab saya.
3. Update Frequency / Frekuensi
Anytime after official update by Bursa Malaysia.
Bila-bila masa selepas kemaskini rasmi oleh Bursa Malaysia
4. Symbol/Counter not showing / Simbol/kaunter tiada
Symbol/counter not longer exist or not yet updated.
Simbol/kaunter telah tersenarai keluar atau belum dikemaskini.
Single layout with font size normal
Satu layout dengan saiz font normal
Double layout with small font size (Left : Stock, Right : Warrant)
Dua layout dengan font saiz normal (Kiri : Saham, Kanan : Waran)
Tables: A Simple NoteA simple note to remind you of what you would otherwise forget. I don't think it needs further explanation.
Comes with three rows each can be enabled independently of others. Can be resized.
Table: Colorable Timeframes Top-Down AnalysisThis is a very simple indicator that lets you color up to five different cells. After doing Top-Down analysis, you are probably going to stay on the lowest of timeframes, and if you work with many tickers, you may forget the bigger picture or confuse them.
So you can make some timeframes green if they are bullish or red if they are bearish and you will always have a reminder on the screen in the form of this small non-intrusive table.
RedK Portfolio Tracker [Table Version]RedK Portfolio Tracker is a simple tool that enables a trader to monitor and track a portfolio of up to 10 holdings (+ free cash) in real time - directly on the chart
Now that we have tables in Pine, this is a table version of my previously published Portfolio Tracker
- The table works better in visualizing the various table elements (title row, column labels..etc), and is more flexible in allowing color coding of gain/loss. for many traders, myself included, these simple visual signals are valuable in helping timely trading decisions.
I'll come back and improve this script as i'm really enjoying the ability to track things this way - if you liked this and want to receive the updates, please flag / favorite it below and you'll get notified when i publish new versions.
Some new features for the table version:
- ability to change default color of various table elements (text, default background, title background, gain/loss color, border..etc)
- ability to change the text size to suit your monitor and visual preference
- ability to change table position
The "portfolio-specific" inputs are similar to the previous version - we get the ability to enter up to 10 positions, entry price and qty, then also add the free cash
- also a change from prior version, this table will plot by default on the price chart, but will have no scale - the portfolio ploy itself will also show (blue/orange stepping line) but the PnL plot will be hidden by default -- how we plot the portfolio & P/L is possibly one of the areas for improvements for next versions - also thinking of other adding valuable data i track in my own trading, like the quarterly dividends for the held positions .. we'll see - this is just a start
hope some will find this useful. feel free to comment.