Statistic Window after the backtest

MQL5 脚本 其它

指定

After the backtest one chart is open with the arrows and lines representing the orders / deals. I would like to access this chart as soon as the backtest end to present some statistics there.

IMPORTANT: I'm not talking about optimization, just a simple backtest.

I'm trying to do this:

void OnDeinit(const int reason)
     {
      long chartID=ChartFirst();

      while(chartID>=0)
        {
         Print("Chart: ", chartID);
         chartID=ChartNext(chartID);
        }

        // Do whatever I need in chartID
     }

But it returns "12345", the fake ID of the chart created by the strategy tester.

It's kind of expected, because the EA is running in the Strategy Tester context, I'm just trying to illustrate what I'm trying to achieve here: Run the backtest, when it's finished access the chart that's automatically created.


So what I need is just an automatic way to access this chart to present some statistics there. I don't mind for what is presented there, I will make this part.

IMPORTANT: No DLL allowed.


More information here:


反馈

1
开发者 1
等级
(590)
项目
789
71%
仲裁
9
33% / 33%
逾期
22
3%
空闲
2
开发者 2
等级
(119)
项目
127
41%
仲裁
3
33% / 67%
逾期
0
空闲
3
开发者 3
等级
(258)
项目
395
28%
仲裁
69
19% / 49%
逾期
120
30%
空闲
4
开发者 4
等级
(130)
项目
210
40%
仲裁
90
20% / 43%
逾期
85
40%
空闲
5
开发者 5
等级
(1)
项目
1
0%
仲裁
1
0% / 100%
逾期
0
空闲
相似订单
Hi, I have a Compiled JForex strategy (.jfx file) I would like someone to convert it in to readable source code. Please let me know if you can do this task. Thank you
I want to make something automatic which EMA will automatically trade in my account. For this I want to make a simple robot I want to get this made automatically on a simple EMA
I need a professional who have the full knowledge in Ctrader and I want to add new idea for my ctrader https://ctrader.com/algos/indicators/show/3444/ Let me know if this is what you can do and the price to get it done. Thanks
I am looking for a skilled Thinkorswim script developer for a one-time project. Your task will be to combine 8 distinct Thinkorswim studies (I will provide the code for each) into one Lower Study. The final script should display histogram rows for the individual studies with a bubble color scheme of bright green, dark green, gray, dark red, and bright red
I need some who can develop my strategy and hand me over the source code... I will give you the specific area in the market i want to mark out and then set pending orders to execute once price move into the zone

项目信息

预算
100 - 500 USD
开发人员
90 - 450 USD