Trading Day and Time SessionThis script provides options for the user to choose:
- Start date and End date
- Trade time during a day (With UTC offset)
- Which days of the week to trade
It return a condition if all the date and time conditions are true. It's very easy to integrate with any script.
Daterangetool
Fixed Fibonacci Support ResistanceI took the formula of the fibonacci from LonesomeTheBlue and made this script. You can take a look at his indicator here:
When you first add the indicator on the chart, click on the chart to select the first date and then the second date. It will then calculate the fibonacci support and resistance of the range you choose. You can also choose the date inside the inputs.
Be sure the first date is before the second date, otherwise it won't be able to show the fibonacci. If that happen, choose a correct date in the inputs.
Strategy TemplateThis is the fastest way to create a Trading View strategy. The template I have created includes stoploss and take profit enabling and plotting, date range, and strategy buy and sell conditions. I believe this will benefit the people in the Trading View community by creating a strategy faster and more efficiently than just repeating pine script code. All that needs to be done by the person using this script is to add their own indicators, and create their own buy and sell signals. Then they can immediately start back testing their new strategy!
Date Range DemonstrationThis is a simple strategy that demonstrates how to easily incorporate a date range into a strategy. This allows you to limit your backtesting to a specific range of dates, which is vital if you want to compare different time frames.
To use:
Copy the code block between the '////' lines into your strategy.
Add the variable 'inDateRange' to your entry and/or exit strategy conditions.