This 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.
A simple Pyramiding / DCA Strategy. Everyday at a specified time a position is opened. The individual position is closed when a take profit is triggered. Optionally a stop loss can be activated, or the option to close the position at the and of the time frame. You can specify the max amount of open positions. The equity will be divided through the max amount of...
This strategy allows you to back test longing or shorting or do nothing during time increments of 30 minutes for various days of the week. For example if you want to see if every Saturday if Bitcoin dropped in value from 1600-7000 UTC, this script will allow you to test that. Make sure you are in the 30 minute time frame while viewing the performance and trade history.
This strategy allows you to back test longing or shorting or do nothing during time increments of 30 minutes. The price trends in one direction every 30 minutes and this strategy allows you to test various 30 minute time frames across a range of dates to capitalize on this. Make sure you are in the 30 minute time frame while viewing the performance and trade history.
Okay, so this is a lot. It started mostly with me combining indicators and looking for ideal entry criteria. It is also a collection of conditions, whether used or unused, for my current chosen "best" strategy. It is currently set how I like it, but it has changed with time, and will continue to do so. Within, there are variables that are unused, but offer some...
Example how to set the time range window to be backtested for both entries and exits. Additional examples are also included showing how to set the date range and toggle plot visibility. By incorporating this code with your own strategy's logic, it will allow you to backtest various time windows. Much gratitude to @LucF and @a.tesla2018 for help with including...
C320up Strategy Tester Start Time This is a little snippet you can paste into your Strategy to set the testing start date and time. It is not a Strategy per se, though is an example with the timestamp script included. Instructions are fairly straight forward, and are listed in the script. If for some reason you also wanted an end date, that too is possible....
Script of strategy component to setup the backtext lookback. You setup the maximum days back in the history, which will be used for backtest.
This is a second attempt at an easy to understand multiple time frame strategy. This one uses ATR for exits. If the position is long, and the price closes below the ATR multiplier, it triggers a close. If the position is short, and the price closes above the ATR/multiplier, it triggers a close. This generates a lot of little trades but is useful because it...
*** 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 preceded with a comment stating: *** FOCUS OF EXAMPLE *** Cheers!
Simple program to look for day of week or day of month patterns in chart data. All original work by Boffin Hollow Lab Author: Tarzan