Experts: Poker_SHOW

 

Poker_SHOW:

An Expert Advisor based on a random number generator. Trend is determined using the iMA (Moving Average, MA) indicator.

The EA determines whether or not to enter a position based on the random number generator. It has eight gradations: the Poker combination number parameter:

  • Straight-flush → 127;
  • Quads → 255;
  • Full House → 511;
  • Flush → 1023;
  • Straight → 2047;
  • Set → 4095;
  • Two pairs → 8191;
  • Couple → 16383.

If the given gradation is greater than the current value of the random number generator, then this is a signal.

Then, the presence of a trend is checked:

  • If the Reverse parameter is set to "false":
    • Moving Average is higher than the Ask price by Minimum distance between MA and price - this is a BUY signal;
    • Moving Average is lower than the Ask price by Minimum distance between MA and price - this is a SELL signal.
  • If Reverse is set to "true":
    • Moving Average is lower than the Bid price by Minimum distance between MA and price - this is a BUY signal;
    • Moving Average is higher than the Bid price by Minimum distance between MA and price - this is a SELL signal.

Author: Vladimir Karputov

 
Since this Expert Advisor is based on a random number generator, testings results are rendered incorrectly, because each time you get different results.

Actually, this allows you to essentially do Monte Carlo simulations. Just optimize the Magic Number from 1 to however many times you want to run it. Take the average.

Reason: