//+------------------------------------------------------------------+ //| ProjectName | //| Copyright 2020, CompanyName | //| http://www.companyname.net | //+------------------------------------------------------------------+ #property copyright "Copyright 2025, MetaQuotes Ltd." #property link "https://www.mql5.com" #property version "1.00" #property indicator_chart_window color cample_color = C'190,19,19'; //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ /** * This function fulfills the will of the developer * @return ( int ) */ int sclrBlackum() { int result = 0; for(int i = 1; i<=100; i++) { result = result + i; } return result; } string traders_name[5]= { "Mobin", "Behzad", "Mahdie", "mahdi", "Taghi" }; //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ int OnInit() { //for(int i =0 ; i< 5; i++) // { // if(traders_name[i] == "Mahdie") // { // continue; // } // } for(int i =0 ; i< 5; i++) { if(traders_name[i] == "Mahdie") { break; } } return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int OnCalculate(const int32_t rates_total, const int32_t prev_calculated, const datetime &time[], const double &open[], const double &high[], const double &low[], const double &close[], const long &tick_volume[], const long &volume[], const int32_t &spread[]) { return(rates_total); } //+------------------------------------------------------------------+