Login Page - Create Account

Support Board


Date/Time: Sun, 06 Jul 2025 15:47:42 +0000



Post From: Auto-disabling Automated Advanced Exit Strategies as soon as flat

[2019-03-25 01:00:46]
Sawtooth - Posts: 4236
Try this:

Put this in H28:
=AND(OR(H28=1,H2=0),J8<>0)
Put this in J28:
=NOT(H28)
Put a 1 in H2

Directions:
- Keep both 'Auto Trading Enabled - Global' and 'Auto Trading Enabled - Chart' checked
- Your Point 1: Open a trade manually
- Your Point 2: To discretionarily enable autotrading, set H2 to 0, then to back to 1
- Your Point 3: The position is closed by the spreadsheet
- Your Point 4: Autotrading is automatically disabled when the position is closed

This is a variation of this concept:
https://www.sawtoothtrade.com/example-9.html
Spreadsheet Studies Special Tasks: Locking the State of a One Time Condition