Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 12:46:12 +0000



[Programming Help] - Is it possible to crossfrom(under/above) within the same bar

View Count: 596

[2020-03-24 21:19:25]
User917679 - Posts: 76
Furthermore, 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?.. I'm thinking it would involve the exit signaling in the very next bar(while having actually been executed within the present bar we opened in ofc)
[2020-03-24 22:00:52]
Sawtooth - Posts: 3976
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.
[2020-03-25 00:26:08]
User917679 - Posts: 76
Is it possible for a triggered(and executed) attached order to register an L3/N3 exit signal in the very next bar?

Or can L3/N3 only register TRUE via a spreadsheet formula exit?
Date Time Of Last Edit: 2020-03-25 00:27:27
[2020-03-25 04:03:14]
Sawtooth - Posts: 3976
can L3/N3 only register TRUE via a spreadsheet formula exit?
Execution of Attached Orders cannot make L3/N3 go TRUE.

However, you can use either independently in the same system: set Cancel All Working Orders On Exit to Yes.

You can also move Attached Orders using the Trade Management By Study study by referencing a spreadsheet subgraph/column.
Attached Orders: Study Controlled Targets and Stops

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account