How do i put max lot size in a ea?

Helloo

I need codes for max lot size so the lot size wont be bigger than example 0.6
Im not a programmer so can someone explain what kind of code i need and
how must i put it in the ea?

I have add this in the ea extern double MaxLots = 0.08; but what must i put more in the ea and where?
and is this correct? (extern double MaxLots)

Tnx for the help!!!