how to configure mikrotik ccr router to work as ntp server while using its time as source of time

i want to configure one of my ccr routers as an ntp server and i dont want him to synchronize its time from internet i want him to use it local time

Local time ? A CCR does not have an internal RTC (RealTime Clock) as far as I understood so that is a bad plan to trust the time on a CCR that was not NTP-synced to the outside world.

i understood the risk but in my case iam enforced to do this temporary. how can i do it?

With a regular ntpd on Linux, you can configure a forged stratum value the daemon will send to peers/clients while on freerun, but on Mikrotik, this is not possible. So if one of the current clients is a Linux machine, you can make it a server and let the Mikrotik synchronize from there, otherwise no way.

you mean that i can not make the router that is working as ntp server for other routers in the network take its time from its clock?

Yes, exactly.