Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 12:12:02 +0000



Post From: I'm getting a syntax error here..

[2018-12-10 15:15:01]
Sawtooth - Posts: 3990
1. You need another argument. What do you want the exit quantity to be IF(ABS(J10) <= (ID12.SG1@3)*5 is false?
=IF(ABS(J10)<=ID12.SG1@3*5,J26/2,J26)

2. A spreadsheet study cannot store a persistent variable intrabar; It can only create a persistent variable from row to row (bar to bar).
Here are some examples of persistent variables in a spreadsheet study:
Spreadsheet Example Formulas and Usage: Persistent and Incrementing Variables

3. You can reference the current bid and ask prices in J12/J14.