Reserved Words - Words you cannot use

MQL5 Reserved Words

Those in bold are the type of reserved words. You cannot use the non-bolded words as identifiers.

Data Types

bool

enum

struct

char

float

uchar

class

int

uint

color

long

ulong

datetime

short

ushort

double

string

void

Access Specificators

const

private

protected

public

virtual

Memory Classes

extern

input

static

Operators

break

dynamic_cast

return

case

else

sizeof

continue

for

switch

default

if

while

delete

new

do

operator

Other

FALSE

#define

#property

this

#import

template

TRUE

#include

typename