Is the following a bug? If the 1st element is max or min, it is never included in the range calculation resulting in wrong classification:
void CSOM::Train(bool bShowProgress) // training method
{
...
for(int j=0; j<m_dimension; j++)
{
double maxv=m_set[m_dimension+j]; // should this be double maxv=m_set[m_dimension*j];double minv=m_set[m_dimension+j]; // should this be double minv=m_set[m_dimension*j];
Enlighten me why it is necessary to unload data into a file with a script and then read it from the Expert Advisor? Why can't the Expert Advisor take data from the terminal on its own?
Graff: Enlighten me why it is necessary to unload data into a file using a script and then read it from the Expert Advisor? Why can't the Expert Advisor independently take data from the terminal?
nobody forbids, and it is even encouraged to do it the best way :)
no one forbids, and even encouraged to do what's best :)
This is understandable. What is not clear is the logic of such an implementation.
Why was it necessary to write the function ParseString(s,";",stringsarr);? when there is a standard ushort sep[]; StringToShortArray(";",sep,0,-1); StringSplit(s,sep[0],stringsarr);
Graff: Enlighten me why it is necessary to unload data into a file using a script and then read it from the Expert Advisor? Why can't the Expert Advisor take data from the terminal on its own?
IMHO, this is a more universal solution. Imagine that the data are generated not by the terminal.
I downloaded found these garbage characters ("?,"?,...) at the end of the definition and encountered compilation errors with cintbmp.h:
but if i open with MT4 editor, I can see the characters. Any idea how to fix it?
Is the following a bug? If the 1st element is max or min, it is never included in the range calculation resulting in wrong classification:
Enlighten me why it is necessary to unload data into a file using a script and then read it from the Expert Advisor? Why can't the Expert Advisor independently take data from the terminal?
nobody forbids, and it is even encouraged to do it the best way :)
no one forbids, and even encouraged to do what's best :)
This is understandable. What is not clear is the logic of such an implementation.
Why was it necessary to write the function ParseString(s,";",stringsarr);? when there is a standard ushort sep[]; StringToShortArray(";",sep,0,-1); StringSplit(s,sep[0],stringsarr);
That's understandable. What I don't understand is the logic behind this implementation.
Enlighten me why it is necessary to unload data into a file using a script and then read it from the Expert Advisor? Why can't the Expert Advisor take data from the terminal on its own?
What does this have to do with scripts?
I don't understand what they're for. After all, you can get information directly from the terminal.
IMHO, this is a more universal solution. Imagine that the data is formed not by the terminal.
It is even scary to imagine with what exactly, probably someone counted them manually.
SZY: can someone post a mod for EA to pull in information directly from the terminal, without a script?
Graff:
SZY: can someone post a mod so that the Expert Advisor can pull in information directly from the terminal, without a script?