Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 21:26:33 +0000



Post From: Is it possible to crossfrom(under/above) within the same bar

[2020-03-24 22:00:52]
Sawtooth - Posts: 3993
Is it possible to crossfrom(under/above) within the same bar
You must compare it to a previous bar, but the occurrence can be intrabar in the current bar.

I want to use the "ignore multiple buy/sell signals" mechanism, yet also be able to open (then possibly exit) a position within the same bar. Is this even possible?
Yes.
Entries could only be the first occurrence intrabar if Signal Only Once Per Bar is set to Yes, or Allow Multiple Entries In Same Direction is set to No.
Exits can occur in the same bar as an entry, either with formulas in L3/N3, or with price reaching an Attached Order target or stop.
And exits could only be at the first occurrence intrabar.
Spreadsheet Systems, Alerts and Automated Trading: Alert/Signal Only Once per Bar

The above answers assume Signal Only On Bar Close is set to No.