max bars in chart

 
hello,

is there a way to set Max Bars in Chart through MT4 programing?thanks,,,
 
No.
Reason: