Hello traders, Here is a script that i've done for testing the timestamp and the input.time fonction. You can see verticals lines blue and yellow. The blue are the ECB meeting date (7 dates) The yellow are the FED meeting date. (10 Dates) // In the parameter you can enter the next rolling month date for ECB and FED // I don't figure out how to add label / Txt...
A simple year-to-date (YTD) % return calculation, displayed on a panel.
World Clocks - something for fun Happy New Year! ps: in case no update on the charts then the clock will not update too and will lag or stop till a new update is received
Shows the CBOE and CME settlement dates as horizontal lines, with the option to show a 7 day warning in the background. This should hopefully give ample warning. I intend to update the script as new dates become available but please PM if I've forgotten.
Hello Pine Scripters, Sometimes we need to run some processes in the scripts on last N bar but currently we don't know bar_index value of realtime bar or number of remaining bars before we reached it. So most of us use "start date" as input and run some processes after "start date". This experimental script finds last Nth bar approximately. As you can see in...
This has been done before in different ways, however, my goal is to publish a single, simplified copy/paste version of the idea so you can quickly and easily incorporate it into your strategy backtesting. You can designate weekdays, weekdays + weekends for 24/7 markets, and also session range. So, you trade bitcoin? It works. CME futures? It works. You are a...
This Script is a Convenience Script Module for calculations based or started on a fix time / date. (In difference to bar_index-based where the reference point is shifting from bar to bar, thus is dynamic). Purpose examples: - Comparison by start date - Time driven studies or strategies - Measuring from Date of Interest The script also contains a date input...