Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 19:41:35 +0000



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

[2015-04-30 23:20:56]
Sawtooth - Posts: 4141
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.