Reply To: Backtester help

Optuma Forums Optuma Scripting Backtester help Reply To: Backtester help

  • Topics: 5
  • Replies: 430
  • Posts: 435

Hi Steve,

For you for query i believe 0.005 is what you would use in this scenario.

For your second query, you can set the Back Testers Enter Trade Price and Exit Trade Price to Signal, then in your entry and exit scripts add the two criteria you are after.

For example, if you wanted the Entry signal to be when the Close crosses above a 50SMA line, and have the entry placed on the next day, but only if the high of that bar is higher than the previous bar, you could use something like this:

The square brackets after V1 are used to offset the criteria, so we’re looking for that to have occurred the day before the High of the current bar is higher than the previous days bar.


Pin It on Pinterest