- Topics: 5
- Replies: 430
- Posts: 435
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:
V1 = CLOSE() CrossesAbove MA(BARS=50) ;
V2 = HIGH() > HIGH(1) ;
V1 and V2
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.