Experts: At random Full

 

At random Full:

The Expert Advisor is a joke: the position is opened randomly. Now there is a Stop Loss, Take Profit and much more

At random Full

Author: Vladimir Karputov

 
Thanks for FULL FUNCTION JOKING EA :) :) 
 
Automated-Trading:

At random Full:

Author: Vladimir Karputov

Thanks for your concerns and providing interesting code

So how it will figured out signal buy/sell and if from any indicator or how

because a feature/parameter is provided to take signal either from current or next bar #1

regards 

 
mntiwana #:

Thanks for your concerns and providing interesting code

So how it will figured out signal buy/sell and if from any indicator or how

because a feature/parameter is provided to take signal either from current or next bar #1

regards 

The EA uses random numbers to take a buy or a sell positions.

//+------------------------------------------------------------------+
//| Search trading signals                                                |
//+------------------------------------------------------------------+

   if(MathRand()<32767/2) // BUY Signal
     {
      //---

     }
   else // SELL Signal
     {
      //---
     }

 
Instead of adding SL tp for each order, you should add TP or total SL function to all orders, the test results will be much better.
Reason: