Login Page - Create Account

Support Board


Date/Time: Sat, 07 Nov 2026 02:45:29 +0000



Post From: Referencing new bar for closing position in SpreadsheetStudy for Auto trading

[2015-04-30 23:20:56]
Sawtooth - Posts: 4360
My response in post #4 was in reference to your post #1.

For your question in post #5, try this:
L3:
=AND($J$8>0,OR(E3-B3>=0.002,B3-E3>=0.00175))
N3:
=AND($J$8<0,OR(B3-E3>=0.002,E3-B3>=0.00175))
this assumes you want to exit in the same bar as the entry.