Home Forums EA Studio Automatic Chart Timeframe

Eightcap
Viewing 0 reply threads
  • Author
    Posts
    • #456319
      User Avatarkcox
      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.

Viewing 0 reply threads
  • You must be logged in to reply to this topic.
Shopping Cart