Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 20:31:09 +0000



Post From: Automated Trading System - Trade executing one bar late

[2016-02-05 18:27:42]
rhovega - Posts: 279
If the trigger study, which in this case is "Color Bar Based on Alert Condition", is NOT set to "Evaluate on bar close", then "Color Bar Based on Alert Condition" prints on the chart at the same time as it records a "1" on the spreadsheet, and the trade executes without problem.

The problem is when the trigger study, "Color Bar Based on Alert Condition", is set to "Evaluate on bar close". Then, as detailed on post #2, it doesn't record a "1" on bar close, but rather at the close of the following bar (i.e. one bar late).

Hope this is clear.