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
類似した注文
Project Overview: We are seeking a skilled Pine Script developer to implement and backtest a Connors RSI (CRSI) strategy along with two profit-taking methods on TradingView. The project includes developing and testing these strategies, followed by a basic comparative analysis. This is a short-term project within a larger initiative, with the potential for future collaboration based on performance. Scope of Work: 1
Hello, thank you for your interest in my project. I want to develop a simple piece of code in ninjascript that does not exceed 8 lines of code. I will give the details of the code in the messages. the work is urgent Thank you
Need to copy the trades and orders generated by expert advisors from my MT4 platform to eToro broker. Etoro offers a trading API (). This could be used to make the connection to their propietary web platform. If the programmer considers there is more stable and faster way to do it then I'm open to suggestions
I have some specific conditions that i want to check during FVG, OB, BB, MSS, BOS, etc. but lets tell them in private if you will choose to work with me
DON'T REACH OUT IF YOU CAN'T CONVERT STRATEGY ON TRADINGVIEW TO A WELL AUTOMATED EXPERT ADVISOR THAT RUN WITHOUT PROBLEM ON METATRADER 5 Well, I am only looking for a programmer who is proficient in coding and can turn strategy on tradingview to a well customized expert advisor, please reach out if you can work timely on exactly what I just said
I want to pull a fib, with set entry price at a certain percentage, with stopploss set at another percentage of the fib. Risk is set in USD. Risk to match stop loss level. TP is set as ratio to stop loss. Calculate no. of contracts. A hot key for buy and one for sell. Illustration: In settings Inputs: Fib% to be displayed Entry level fib% stop loss fib percentage TP ratio Risk in USD or account percentage Operation
I need help with creating a website traders chatroom, it must show traders online,offline,inactive. the chatroom top section must show four clocks with different times and time scale like this.. the chatroom must have a history data of up to 10days, then longer history must be deleted automatically. if you have better chatroom please say your recommendations
I have a python script that connects MT5 to Deriv for binary trading which is having some bug. It stops executing trades after a while. I need someone to check the code and fix it. Negotiable price

プロジェクト情報

予算
100 - 500 USD
開発者用
90 - 450 USD