Machine learning in trading: theory, models, practice and algo-trading - page 1863

 
Maxim Dmitrievsky:

don't talk nonsense

Not at all nonsense the capacity of tree code and polynomial code are significantly different with equal working possibilities. The simpler the code is, the more reliable it is. To my mind, everything is logical, but this is my opinion.... exclusively...
 
Maxim Dmitrievsky:

Don't talk nonsense.

Max, don't argue with an expert, it's not nice ;)

 
Roman:

Settings -> General -> Inserting () and closing }]') "
Maybe that would help?

Or compile.
Thenon the Error tab, double click on the first error.
Cursor will go where there is no closing bracket.
And so every bracket, double clickon error, put the bracket, compile.

No, I checked. There are too many parentheses there, the compiler will give errors for the first and last parentheses.

 
Maxim Dmitrievsky:

Thank you, brackets are still missing, for example, here

the red ones are as they should be.

mine does it all. Otherwise, the conditions will be crooked and the tree will count wrong

If you got it right, after equal spaces before the if on the next line, no matter more or less, you put a parenthesis at the end of the line up, and if there were fewer spaces - closing, and if there are more spaces - opening

 
Valeriy Yastremskiy:

if I understood correctly, after the equality of spaces before the if on the next line, no matter more or less, we put a bracket at the end of the line and if it was less closing, and if there are more spaces - opening

if the next line after the line, where there is return, has less indentation than the current line - 4 spaces, then n brackets are added, depending on the difference of spaces

for the last line just counts the number of spaces

 
Roman:

So I did not say anything that the history does not work :))
I said that I have not finished for the history, and postponed the development.
And so, the preparation of historical data, this is one of the important stages.
And all models are built, tested, with history in mind.
That's statistics ))
Good for you that everything works out.

ok.

I had to embed my strategy tester in my advisor to check the result as I was trading.

i.e. how it should be and how it turned out.

 
Maxim Dmitrievsky:

if the next line after the line where there is return has less indentation than the current line - 4 spaces, then n brackets are added, depending on the difference of spaces

for the last line just counts the number of spaces

With closing parentheses yes, with opening If on the next line there are more spaces before the if, then one line above at the end of the opening parenthesis in the loop is possible to retune.

 
Valeriy Yastremskiy:

with closing parentheses yes, with opening If there are more spaces before if on the next line, then on the line above at the end of the opening parenthesis it is possible in the loop before returnee.

After each ifa and before each return, everything is simple here. Similarly, the closing ones after each returnee, one at a time. First put them first, then in the second cycle close the rest.

+ replacing all variables by array indexes
 

Gentlemen specialists in MO and neural networks, advise me where to start with such a task:

- To correctly predict the size of a daily candle, at least in the category of larger/lower than a typical candle or larger/lower than the previous one

Or maybe somebody has already solved this problem (or knows where it is solved) and share the link/materials

 
Maxim Kuznetsov:

Gentlemen specialists in MO and neural networks, advise me where to start with such a task:

- To correctly predict the size of a daily candle, at least in the category of larger/lower than a typical candle or larger/lower than the previous one

Or maybe someone has already solved this problem (or knows where it is solved) and share the link/materials

You need to start with the search for patterns, and then train on them

Otherwise, it will just be a story memory

the tutorial itself is very simple

this is from experience

Reason: