Type/to search

Backtest Engine

Cryptocurrency
Created: 2022-08-27 18:13:05
Last modified: 4 years ago
35
Follow
60
Followers
Source
Pine
/*backtest
start: 2021-05-08 00:00:00
end: 2022-05-07 23:59:00
period: 4h
basePeriod: 15m
exchanges: [{"eid":"Binance","currency":"BTC_USDT"}]
*/
// Backtester v5 © gjfsdrtytru {
// On lines 31-37, use the variable longCondition to trigger your long entry, closeLong to trigger close long, etc.
// TP/SL are built into the script. There are also some inputs for bot commands in the settings UI if you want to set up a trading bot.
// No user input is required beyond line 49. Just define your strategy and let the engine do the rest!
// Thanks to Wunderbit Trading who helped in the making of this script with their open-source code and tutorials.
Strategy parameters
Strategy parameters
Orders
Long orders
Short orders
Bot Commands
Entry Long Command
Exit Long Command
Entry Short Command
Exit Short Command
Backtest Period
Backtest Start Year
Backtest Start Month
Backtest Start Day
Backtest Period (days)
Take Profit/Stop Loss
Long Take Profit (%)
Long Stop Loss (%)
Short Take Profit (%)
Short Stop Loss (%)
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)