Avoid gaps in data prices

 
Is it possible to avoid price gaps with mql code? 
 
You can look at the search here - there are some threads with codes and with discussion (you can select the thread; I can not because I am not a coder sorry).
 
gouki1001:
Is it possible to avoid price gaps with mql code? 

In real you can not escape from these problems like gap, wider spread, slippage , if someone saying these issues have solution then it's big lie 

Reason: