Login Page - Create Account

Support Board


Date/Time: Tue, 22 Apr 2025 02:54:28 +0000



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

[2025-02-18 14:17:35]
seandunaway - Posts: 348
here's a study which does similar things like using a toggle button to enable or disable the study, polling with a desire delay, and querying the position data

if you look closely, it shows how to replicate the functionality of each of these from post #1
OnInit() // executes when script is started
OnDeinit() // executes when script is stopped
OnTimer() // executes on an specified interval
OnTick() // executes every tick

relevant: ACSIL Programming Concepts: Study Initialization/Unitialization
Date Time Of Last Edit: 2025-02-18 14:56:25
attachmentwalk.cpp - Attached On 2025-02-18 14:17:29 UTC - Size: 2.99 KB - 80 views