Automatic Chart Timeframe

Community Forums Forums EA Studio Automatic Chart Timeframe

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #456319 Reply
    kcox
    Participant

    Hello,

    I’ve been using EA Studio, Prop Firm and Top 10 Robots for almost two years now and have developed a process to make these robots work for me.

    The challenging part is when I have to attach a bunch of robots to the charts using different timeframes. And for some accounts, I change the robots regularly, so it can be quite painstaking.

    Therefore, I did some research on automatic switching of timeframes in MT5 and was successful in getting the idea to work. I basically modified the source code from EA Studio to:

    1. Add a new input parameter called Timeframe.
    2. Modify the EA to use the specified timeframe for all operations.
    3. Automatically switch the chart to the selected timeframe when attaching the EA (except in tester mode).
    4. Adjust all indicator/data access functions to use the specified timeframe.
    5. Update the new bar detection to use the specified timeframe.

    All other functionality of the EA remained intact. I included all the MT5 timeframes. The default timeframe will be the one that the particular EA was optimized on.

    Can you implement automatic switching of the timeframe?

    This will greatly help when attaching the EAs. Also, we’ll have the chance to optimize for timeframes available on MT5 but not in EA Studio.

    #477922 Reply
    alituna
    Participant

    That sounds like a really useful quality-of-life improvement, especially if you’re managing dozens of EAs across multiple accounts. Having the timeframe switch automatically would reduce setup mistakes and save a lot of time when replacing or updating robots. I like automation wherever it makes repetitive tasks easier. Even outside trading, I tend to appreciate systems that simplify things—for example, this guide on Crazy Time explains the game mechanics clearly before you even start playing crazy time history. Clear workflows make a big difference whether it’s trading software or anything else.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Reply #477922 in Automatic Chart Timeframe

Scroll to Top