New parameter, Debug or Verbose - All indicator values to file

Avatar
  • updated
  • Declined

Hello Andrey

Is it possible to create a "Debug" or "Verbose" option in which the values of the indicators are saved in a file when opening a trade or closing a trade?

Image 2734

All the values of all the indicators used in the strategy that appear in "Data Windows"

Avatar
1
Andrey Khatimlianskyi
  • Declined

Maybe it is good idea to use DB to find good entry signals. But it is not related to the CP, you're right.

Thanks for cooperation!

Avatar
1
Ulises Cune

Now that I think about it, I could create an external EA that does this and not burden the CP with more code.

Avatar
0
Ulises Cune

It would be useful, for example, when stochastic corss 90, to know the values of the other indicators to start building a strategy, for example, when I place "individual open" in Stoch, and the operation is opened(stoch =90.54) , to know the value of all the other indicators at that time and thus begin to put together the strategy.

Avatar
0
Andrey Khatimlianskyi
Quote from Ulises Cune

Because in the visualizer it is very little optimal, you have to stop and analyze case by case, translate by trade, imagine 2 years, of more than 1000 trades, it is impossible to analyze case by case, what is the average value in which the stoch closes , or the MACD or the ADX, which is the average signal in 2 years in which the Trade takes better.

How will it help you?

You set open signal on 90 cross. Best trades are made with Stoch value 90.54. Worst — with 90.51. How this can be used?

Avatar
0
Ulises Cune

Because in the visualizer it is very little optimal, you have to stop and analyze case by case, translate by trade, imagine 2 years, of more than 1000 trades, it is impossible to analyze case by case, what is the average value in which the stoch closes , or the MACD or the ADX, which is the average signal in 2 years in which the Trade takes better.

Avatar
0
Andrey Khatimlianskyi

Ok, trades are opened when Stochastic is 89.95, 91.05 or 88.79. We can collect these numbers to excel or DB.

But how can this help you?

We have powerful MT5 optimizator to find optimal parameters values. Why do you need DB

Avatar
0
Ulises Cune

To be able to know exactly in which values of the indicators the operations are opened and closed, in order to know which are the best when starting to build a strategy from 0.


In addition, together with the log parser script, you can get better statistics of which are the best values to improve gain, reduce drawdown, etc.

In addition, once you have a log of the values of each indicator used, you can take it to an excel or a database and process that data to obtain statistics and improve strategies.

The ideal format of the log should be something like this, as it already exists in MT5

Avatar
0
Andrey Khatimlianskyi
  • Under review

Of course, it is possible.

But why do you need it? How will you use these values