Support Board
Date/Time: Sat, 12 Jul 2025 06:20:04 +0000
Post From: [Automate Trading][Replay] How to make a good bot backtesting
[2022-03-07 03:25:22] |
Sawtooth - Posts: 4238 |
How to force only max one trade per candle ?
This would only be a problem if your entries are intrabar, IOW, Signal Only On Bar Close (K,M) is No.If it's a second entry order in the same direction, you can limit it to one per bar with 'Signal Only Once Per Bar' set to yes. However, there is no setting to limit a second entry order in the opposite direction in the same bar, because each column/subgraph has its own separate ability to 'signal'. Spreadsheet Systems, Alerts and Automated Trading: Alert/Signal Only Once per Bar Since your chart is a 1 min chart, you should be able to compare J42 with J41, and only allow an entry if the difference is greater than 60 sec: $J$41-$J$42>60/86400 Spreadsheet Example Formulas and Usage: Formula Equivalents of Serial Date Time Values |