//+------------------------------------------------------------------+ //| Test_STARTED_FROM_CONFIG.mq5 | //| Copyright 2025, MetaQuotes Ltd. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2025, MetaQuotes Ltd." #property link "https://www.mql5.com" #property version "1.00" //+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ void OnStart() { //--- string text=(MQLInfoInteger(MQL_STARTED_FROM_CONFIG) ? "Started from config" : "Started manually"); Alert(StringFormat("MT5 Automation Test Script: %s",text)); } //+------------------------------------------------------------------+