I know that you have previousesly programed a Belkhayate EA before, but the logic for this gravity based system is different.
I've been testing this way of using a Gravity Center indicator very effectively. Very, very high win rate, with a low drawdown (below 4%).
Here's how it works. (See COG picture)
The Nmbr_Bars setting for each pair that I have used, and seem to have the most efficiency with the repaint for each pair is as follows:
GBP/USD : 244
This would make an unbelievably powerful EA, if we can get the coding right ^_^
Good luck funyoo, looking forward to it