LOGIN

Join & EARN

For the ' if's ' in life £€$¥د.إ
enjoy possibilities with Us
FOREX ALGOS { }

What We Do BlackBox Backtest Results How It Works Full Refund Promise Supported Brokers Income Targets

Robots Glossary

OnBarClosed

OnBarClosed - An event handler (and corresponding BarClosed event) that is called after a bar finishes closing. In cTrader, OnBar() runs at bar open (when a new bar is formed), and OnBarClosed (the BarClosed event) is called for the last closed bar. The guide notes: “OnBar() is called for the newly formed bar; OnBarClosed() is called for the last closed bar”.