Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 06:23:03 +0000



[Programming Help] - How to enter trade as soon as alert triggers?

View Count: 606

[2020-01-04 21:40:24]
sourdubber - Posts: 52
Currently, all trades enter and exit at the close of the bar (or the open of the next bar). I prefer to enter immediately once the alert goes off.

I've set "Signal Only on Bar Close" to No but it doesn't seem to be working. Have I missed anything?
Date Time Of Last Edit: 2020-01-05 01:39:41
[2020-01-05 01:56:30]
Ackin - Posts: 1865
Do you have a condition for alert only from bars or from a study? There may be an issue. You always have to check the whole chain back if there is something that pushes the whole process to the end/close of the bar.
[2020-01-06 06:41:00]
sourdubber - Posts: 52
Take a look at the following chart (see attachment). The spreadsheet formula was to SELL when the close is below the trendline. As you can see from the Data Box, Trendline is 3226.75 and Close is 3226.75. So even though it's very close, the bar closed below the trendline and I should have entered at the open of the next bar. But it did not enter trade on the next bar (number 3). It entered on the second bar (number 4).

Is this a bug or did I misconfigured the setting?
imageentry.png / V - Attached On 2020-01-06 06:39:21 UTC - Size: 31.21 KB - 238 views

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

Login

Login Page - Create Account