Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 20:24:18 +0000



Post From: Issues with Automated Entry

[2023-10-27 10:32:04]
Nkrastins - Posts: 34
Hi SC,

can you please help me write the correct syntax for my automated entry?

Instrument: Gold Futures

timeframe: 5min

Strategy: go long when current close is less than open, buying absorption for two levels(using TwoFox's custom study), and last price is 1 tick above highest absorption.

I have set in spreadsheet settings Signal Only On Bar Close to NO.

In my case, my absorption study is ID5 with buying absorption levels SG1 and SG2, on sheets CZ3 and DA3.

I tried this formula for the entry:

=AND(B3>E3,E3==(CZ3+0.1),E3==(DA+0.2)) - This gives SINTAX error.

and I tried as well


=AND(B3>E3,E3=(CZ3+0.1),E3=(DA+0.2)) - Gives no signals.

Note: I want to enter a trade as soon as I have this condition, I don't want to wait till end of bar.

P.S. Strategy example image, shows green closed bar, but at the time of formation, bar was down since the open.
imageCapture.PNG / V - Attached On 2023-10-27 10:17:24 UTC - Size: 63.88 KB - 81 views
imageCapture1.PNG / V - Attached On 2023-10-27 10:21:44 UTC - Size: 7.53 KB - 81 views