Tweet/X Post Timestamp - By LeviathanThis script allows you to generate visual timestamps of X/Twitter posts directly on your chart, highlighting the precise moment an X post/tweet was made. All you have to do is copy and paste the post URL.
◽️ Use Cases:
- News Trading: Traders can use this indicator to visually align market price actions with news or announcements made on X (formerly Twitter), aiding in the analysis of news impact on market volatility.
- Behavioral Analysis: Traders studying the influence of social media on price can use the timestamps to track correlations between specific posts and market reactions.
- Proof of Predictions: Traders can use this indicator to timestamp their market forecasts shared on X (formerly Twitter), providing a visual record of their predictions relative to actual market movements. This feature allows for transparent verification of the timing and accuracy of their analyses
◽️ Process of Timestamp Calculation
The calculation of the timestamp from a tweet ID involves the following steps:
Extracting the Post ID:
The script first parses the input URL provided by the user to extract the unique ID of the tweet or X post. This ID is embedded in the URL and is crucial for determining the exact posting time.
Calculating the Timestamp:
The post ID undergoes a mathematical transformation known as a right shift by 22 bits. This operation aligns the ID's timestamp to a base reference time used by the platform.
Adding Base Offset:
The result from the right shift is then added to a base offset timestamp (1288834974657 ms, the epoch used by Twitter/X). This converts the processed ID into a UNIX timestamp reflecting the exact moment the post was made.
Date-Time Conversion:
The UNIX timestamp is further broken down into conventional date and time components (year, month, day, hour, minute, second) using calculations that account for leap years and varying days per month.
Label Placement:
Based on user settings, labels displaying the timestamp, username, and other optional information such as price changes or pivot points are dynamically placed on the chart at the bar corresponding to the timestamp.
NOTICIAS
News AlertIntention Of This Indicator
This indicator allows you to enter daily news release times, and it will warn you before and after that news release time ( to help you stay out of trading news )
This indicator is not intended to display news releases automatically. You must manually enter the time you wish to display news in the inputs
This indicator Draw / Displays the following
A line displaying where the news release is going to happen ( only according to your time input settings )
A box that surrounds the news release ( only according to your time input settings )
A table in the bottom right corner that shows you when there is Active News ( only according to your time input settings )
Inputs
Inputs to change the aesthetics ( colours etc. )
Numeric inputs to modify the placement News / Area
Toggles to activate or deactivate features
Disclaimer
This indicator does not guaranteed to work for every instrument ( always test before use! )
This indicator is not guaranteed to be accurate, or error free.
You must manually enter the news time inputs, this indicator does not automatically show you when there is a news release
Entry Assistant & News AlertIntention Of This Indicator
This indicator is intended to be used as an assistant in combination with a technical strategy.
This indicator has several functions intended to assist you at entering positions.
This indicator is intended to be used with strategies that place Stop Losses above / below candles, and entries at the BOC ( Break Of The Previous Candle , For Longs it is when price goes above the previous candles high, For Shorts it is when price goes below the previous candles low)
This indicator allows you to enter daily news release times, and it will warn you before and after that news release time ( to help you stay out of trading news )
This indicator Draw / Displays the following
A line below ( for Longs ) / above ( for Shorts ) the current candle, with an additional pip value for extra space ( this displays where to place your Stop Loss )
A label displaying the price of the Stop Loss line, to assist in placing the Stop Loss
A line displaying where the BOC is ( based off of going Long or going Short )
A box that appears when the BOC has occurred ( entry signal )
A line displaying where the news release is going to happen ( only according to your time input settings )
A box that surrounds the news release ( only according to your time input settings )
A table in the bottom right corner that shows you when there is Active News ( only according to your time input settings )
Inputs
Inputs to change the aesthetics ( colours etc. )
Numeric inputs to modify the placement / spacing of the Stop Loss / Entry signal / News
Toggles to activate or deactivate features
Disclaimer
This indicator does not guaranteed to work for every instrument ( always test before use! )
It is not at all intended to be a signal indicator on its own, but rather only to give a signal when used with specific technical strategies that us BOC entries.
This indicator is not guaranteed to be accurate, or error free.
This indicator is not signalling winning entries or high probability entries.
You must manually enter the news time inputs, this indicator does not automatically show you when there is a news release
This is a combination indicator of my Entry Assistant and my News Alert indicator, both can be found and used separately.
CalendarCadLibrary "CalendarCad"
This library provides date and time data of the important events on CAD. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
HighImpactNews2015To2023()
CAD high impact news date and time from 2015 to 2023
CalendarGbpLibrary "CalendarGbp"
This library provides date and time data of the important events on GBP. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
HighImpactNews2015To2019()
GBP high impact news date and time from 2015 to 2019
HighImpactNews2020To2023()
GBP high impact news date and time from 2020 to 2023
CalendarJpyLibrary "CalendarJpy"
This library provides date and time data of the important events on JPY. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
HighImpactNews2015To2023()
JPY high impact news date and time from 2015 to 2023
CalendarUsdLibrary "CalendarUsd"
This library provides date and time data of the important events on USD. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
HighImpactNews2015To2019()
USD high impact news date and time from 2015 to 2019
HighImpactNews2020To2023()
USD high impact news date and time from 2020 to 2023
NewsEventsGbpLibrary "NewsEventsGbp"
This library provides date and time data of the high imact news events on GBP. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
gbpNews2015To2019()
GBP high imact news date and time from 2015 to 2019
gbpNews2020To2023()
GBP high imact news date and time from 2020 to 2023
NewsEventsEurLibrary "NewsEventsEur"
This library provides date and time data of the high imact news events on EUR. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
eurNews2015To2019()
EUR high imact news date and time from 2015 to 2019
eurNews2020To2023()
EUR high imact news date and time from 2020 to 2023
NewsEventsJpyLibrary "NewsEventsJpy"
This library provides date and time data of the high imact news events on JPY. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
jpyNews2015To2023()
JPY high imact news date and time from 2015 to 2023
NewsEventsCadLibrary "NewsEventsCad"
This library provides date and time data of the high imact news events on CAD. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
cadNews2015To2023()
CAD high imact news date and time from 2015 to 2023
NewsEventsUsdLibrary "NewsEventsUsd"
This library provides date and time data of the high imact news events on USD. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
usdNews2015To2019()
USD high imact news date and time from 2015 to 2019
usdNews2020To2023()
USD high imact news date and time from 2020 to 2023
Sessions and news markersHello,
I use this script daily so I thought it might help some of you guys out!
WHAT IS THE SCRIPT
This script can show two custom trading sessions and up to three specific dates and hours to keep in mind while trading (for example a news release).
WHY USE THE SCRIPT
My trading plan tells me to trade from 08:00am to 10:00am (GMT+1) and not to let open trades during a high impact news release, this script allows me to show my trading session and mark the news releases on the chart before trading so I don't forget about them while in the heat of trading.
HOW TO USE THE SCRIPT
It is very straightforward:
How to set up the TRADING SESSIONS:
- Tick the trading sessions that you want to use (one or two)
- Specify the trading hours
- Choose the color of the trading sessions
- Choose the color to fill outside of the trading sessions
- Choose the time zone (GMT, GMT+1, UTC, UTC+2...)
How to set up the NEWS MARKERS:
- Tick the news markers you want to use (up to three)
- Specify the date and hours of the news
- Choose the color of the news markers
- No need to choose the time zone, it will use the timezone of the chart
PS: As you can see in the settings, each session and news marker can have their own color
I hope this helps you out as much as it helps me! If you have any recommendations I would be glad to hear them :)
High Impact NewsDo you have a difficult time remembering high-impact news events throughout the trading week? Now there is an indicator that allows the user to put labels directly on their charts at specific times in the future so news events won’t sneak up on the user.
Description
The “High Impact News” TradingView indicator by Infinity Trading gives the user complete control of three labels that can be set to any time and day of the trading week, even in the future. Each label can be displayed at a specific time, on a unique day of the week, and with custom text. Also, each label has a choice of over 20 emojis to display on the chart along with user-defined text. The text color and size can be independently adjusted.
The position of the labels on the chart can be easily moved up or down with 5 built-in presents: Current Week High, Current Day High, Current Price, Current Day Low, and Current Week Low. Additionally, each label has a separate buffer that allows the users to move the label up or down in increments of five. All of these user-controls ensure the labels are exactly where the user wants them on their charts.
Limitations
This indicator displays labels in the future. TradingView sets a limit of 500 bars/candles in the future you can interact on. This TradingView limit means that labels can only be drawn 500 candles in the future on any timeframe. On larger timeframes this is not a problem and one trading week can easily display any labels. But on smaller timeframes labels multiple days in the future will exceed the 500 candle limit. When a label exceeds the 500 candle limit the indicator will have a temporary error. THIS IS NOT A PROBLEM. Simply go back to a higher timeframe or wait until the label is within 500 candles. All of your Settings will be saved! This is just a limit placed by TradingView that cannot be overwritten.
Important Notice
As stated above, this indicator draws labels in the future on your charts. To achieve future labels, this indicator draws labels in the present and shifts them to the right (which is the future) certain number of bars. Please be aware of the following characteristics of this indicator:
Labels will not appear until after midnight EST on Monday of each trading week
Labels will not appear over the weekends
Labels set to “Monday” won’t appear until midnight EST on Monday (or later)
Labels set to “Tuesday” through “Friday” won’t appear until the time specified in the Settings on Monday. For example, a FOMC label set to 2pm EST on Wednesday will not appear on the chart until 2pm EST on Monday
On 1-Hour or 2-Hour charts, please note that labels with a non-hour time will be shifted slightly so they appear on the chart. For example, a label at 8:15 am on the 5-min chart will be adjusted to 8:00 am on the 1-Hour chart so the label will appear
The above characteristics are a result of having to draw the labels at a specified time (of the trading week) and then calculating how many bars it takes to get the label to the correct time in the future.
NewsTrader from Boris SchlossbergThis forex news trading indicator helps you to pick the highest probability post-news trades with the best possible entries. It is designed to trade major events like Central Bank rate decisions, Non-Farm payrolls, and other economic data.