Login Page - Create Account

Support Board


Date/Time: Tue, 22 Apr 2025 02:45:37 +0000



Post From: Converting From MetaTrader EA (Init, DeInit, OnTick) to Sierra Chart study?

[2025-02-17 19:27:18]
LTSys - Posts: 68
Hi,

I am converting some EA from MetaTrader to Sierra Chart and I'm struggling to find some examples of how to replicate a few functions on the Sierra Chart Study side.

Basically in MetaTrader they have several functions called:

OnInit() // executes when script is started
OnDeinit() // executes when script is stopped
OnTimer() // executes on an specified interval
OnTick() // executes every tick

Can someone direct me to some examples of how to do the same in a custom Study?

TIA