Installing MacOS via USB stick I have made a decision to install Mac OS from scratch so I have erased the disk part.(by cmd-r beginning of OS). Now, I'm using Windows(bootcamp). Is there any way to install Mac OS via USB stick and downloading, writing it into the USB on Windows?
Yes, you can create a bootable USB that can automatically install OS X. It would mimic the functionality of the Recovery Disk option when booting. Here's a link from Macworld about how to do it with the latest version of OS X, Sierra. It's less complicated than it sounds. When you start your Mac, hold down the option key to choose the USB drive that you've created.

http://www.macworld.com/article/3092900/macs/how-to-create-a-bootable-macos-sierra-installer-drive.html