Expert Advisors: A Really Random Robot

 

A Really Random Robot:

This robot uses a random number generator to simulate simply tossing a coin to decide on the direction of each trade. It provides an example of a minimal expert advisor programmed in an object-oriented style. It also provides a basis for quantifying the value added by alternative methods of entry.

It provides an example of a minimal Expert Advisor programmed in an object-oriented style, based on a framework designed to facilitate the creation of more complex robots. It also provides a basis for quantifying the value added by alternative, more complex, methods of entry. It can be surprisingly profitable!

Author: Jim Hunt

A Really Random Robot

 
I can see some error of compiling. Please update that error
 
Mirissa Badalge Dineth Pramodya #:
I can see some error of compiling. Please update that error

Hi, to work you need to add void

//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void CGuruEx01::Deinit()
  {
   Initialized=false;

   Print("DeInitialized OK");
  }

Respectfully,Vladimir.

Reason: