Code put blue bars during times you input. I put it to show times I am asleep and not alert to trade. I also put code into strategy to control when trades can open or close. FXCM and IDC exchanges have different time zones, as well as AMEX, etc. You will have to change it for each zone.
The Palladino/Booker Time Sessions script will allow you to highlight certain periods of time during the day that are best suited to your trading. Add the script to your chart as many times as you like to highlight as many Time Sessions as you like.
*** THIS IS JUST AN EXAMPLE OF STRATEGY TIME LIMITING CODE IMPLEMENTATION ***
This is a follow up to my example for risk management implementation here:
Code remains mostly unchanged, but now includes a time limiting implementation.
Relevant code blocks for the time factor are...
Different version of the CM one but everything is configurable and easy to manage.
Daylight savings may also be toggled, I cannot automatically toggle it yet but hopefully with a pine update I will be able to.
It had the four main sessions but version two could possibly have all of them as optional toggles
Hope it is useful
update: added weekly and monthly pivots, the offset is a average approximation so there may be inconsistency on the date forecasted to be end of week/month.
(using diferent sessions or limited time intervals is not possible).
Provides Moving average of 200 and 50 at the specific timeframe regardless of what interval you're looking at.
Saving the need to change it manually each time you switch the interval.
In this chart, I am looking at 4H interval with EMA of 50/200 of daily timeframe.
I was asked to share my experimental Renko intraday wave time. So here it is warts and all. The same for the rest - except the Weis cumulative volume.
Renko wave time is in minutes. This script is strictly intraday and has not been played with extensively.
You must use traditional Renko and set the script wave size to the same size as the Renko brick size.