Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
While you control a face-up "Morphtronic" monster, all Level 4 or higher monsters your opponent controls cannot declare an attack or change their battle positions.
--D・バインド
--Morphtronic Bind
local s,id=GetID()
function s.initial_effect(c)
	--activate
	local e1=Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_ACTIVATE)
	e1:SetCode(EVENT_FREE_CHAIN)
	c:RegisterEffect(e1)
	--cannot attack
	local e2=Effect.CreateEffect(c)
	e2:SetType(EFFECT_TYPE_FIELD)
	e2:SetCode(EFFECT_CANNOT_ATTACK_ANNOUNCE)
	e2:SetRange(LOCATION_SZONE)
	e2:SetTargetRange(0,LOCATION_MZONE)
	e2:SetTarget(s.tg)
	e2:SetCondition(s.con)
	c:RegisterEffect(e2)
	--pos limit
	local e3=e2:Clone()
	e3:SetCode(EFFECT_CANNOT_CHANGE_POSITION)
	c:RegisterEffect(e3)
end
s.listed_series={SET_MORPHTRONIC}
function s.con(e)
	return Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsSetCard,SET_MORPHTRONIC),e:GetHandler():GetControler(),LOCATION_MZONE,0,1,nil)
end
function s.tg(e,c)
	return c:GetLevel()>=4
end