Want to Modify the custom period for history pool in an Expert Advisor

 

Hello,

Actually to modify the period for Account History trades i have to set it manually in MT4 terminal by right clicking on a history trade line and selecting custom period.
Is there a solution (metatrader function or winapi) to modify the custom period for history pool in an expert advisor?

Thank for your help

Best regards,
yann.

Ps: using metatrader 4 buil 670
 
so far winapi only