Discussion of article "The Implementation of Automatic Analysis of the Elliott Waves in MQL5" - page 7

 
David Gadelha:

Couldn't make it work.... many errors at compiling time:

Any idea?

Thanx


Change the line 67 of file \MQL5\Include\Elliott wave\Data structures.mqh to class TNodeInfo: public CObject

 

I tried to use this, but I can't compile:

Line 657,    NodeInfoArray.Add(NodeInfo);

creates an error:

'NodeInfo' - conversion is not accessible because of inheritance access Elliott_wave_en.mq5 657 22

Thanks


 

why you don't fix for new version metatrader 5 .


this is not working , 

gives many errors

 
Is there any ported code to MT4?
 

Good afternoon!

For some reason I can't compile.



 
I applied it to the graph but it doesn't work
 
There is a problem with installation. If you first throw it into Includ without the folder, then everything compiles successfully, but it will not put on the chart in any way. If you throw it into Includ in place with the folder from the archive - it starts to generate errors when compiling.
 

this is not working  

lot's of errors

please fix it.

 

This is the old good code and exercise to sort of get into EW. The code has 2 bugs. One is in Datastructures.mqh

One need to add public before CObject

class TNodeInfo:public CObject
  {
public:
   int               IndexStart,IndexFinish;  // the range of the already analyzed section
   double            ValueStart,ValueFinish;  // the edge value of the already analyzed section
   string            Subwaves;                // the name of the wave and the group of the waves
   TNode            *Node;                    // the node, pointing to the already analyzed range of the chart
  };

and in the main code Elliott_wave_en.mql5  function Zigzag has the same name as other variables so just change it to Zigzagf and corresponding calls. Then complier will only show warnings.

Although it is not perfect, but useful to practice marking waves.

 
dvoytmt4 #:

This is the old good code and exercise to sort of get into EW. The code has 2 bugs. One is in Datastructures.mqh

One need to add public before CObject

and in the main code Elliott_wave_en.mql5  function Zigzag has the same name as other variables so just change it to Zigzagf and corresponding calls. Then complier will only show warnings.

Although it is not perfect, but useful to practice marking waves.

After making these corrections I'm having a lot of errors.