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.

 
metaforex:

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.

Not possible with mql4. Maybe with WINAPI, but certainly not easily.

Forum on trading, automated trading systems and testing trading strategies


Hello,

This forum is about MT5/mql5, please post your question about MT4/mql4 on mql4.com forum.

  • They are more people who can answer there.
  • They are more people who can have similar problem there.
  • A forum is not only to get help but to share with the community, mql4/MT4 community isn't the same as mql5/MT5 community.

 

Thank for answering.
Message also just posted on mql4 community.

yann.