Hi,
The exact settings for the fear and greed index is propriety information by Bloomberg, and I recall a certain phone call many years ago to Bloomberg when my boss wanted me to replicate it exactly on our system, and the rep couldn't tell me.
That said, Bloomberg has given a rough guideline on how it is derived, and it's possible to code that. You may have to play with the settings awhile to get something that looks like what you see on your Bloomberg terminal.
I never ended up coding it according to the given specs, but I've been told it isn't far off.
Let me know if you want me to do it.
Cheers,
Shi Jun