AccountNumber On Init Validation - page 2

 
I'm a beginner,
for the indicator, is this okay?
Sorry if wrong. I would be glad if you could teach us.

int OnInit(){

int ac = AccountNumber();
if(ac != 12345){
   return(0);
}

}
int OnCalculate(const int rates_total,
                const int 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 int &spread[]){