Support Board
Date/Time: Wed, 04 Nov 2026 01:30:22 +0000
Post From: I buy at the end of a candle but it is filled in the next candle
| [2021-06-05 10:44:14] |
| User907968 - Posts: 885 |
|
Review the documentation for sc.GetBarHasClosedStatus, particularly this "The very last bar in the chart is never considered a closed bar until there is a new bar added to the chart." ACSIL Interface Members - Functions: sc.GetBarHasClosedStatus() At the point you are entering your order, a new bar has been added to the chart already, so although your arrow is drawn under the closed bar, the order is actually entered on the new chart bar. |
