Results 1 to 2 of 2
 0 Attachment(s)    

Thread: Reversing EA

  1. #1

    Default Reversing EA

    Funyoo:

    Are there some code fragments we could add to EA's that would basically reverse signal logic if we discover a EAs typical equity curve is flat to negative ?.......

    Thanks !

    D.

  2. #2
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by Dutchess View Post
    Funyoo:

    Are there some code fragments we could add to EA's that would basically reverse signal logic if we discover a EAs typical equity curve is flat to negative ?.......

    Thanks !

    D.
    Hi Dutchess,

    You can add this line :

    Code:
    if(AccountEquity()<AccountBalance())reversesignals=true;

Similar Threads

  1. Reversing Hours EA
    By fxtester in forum Expert advisors live statements
    Replies: 1
    Last Post: 04-14-2010, 17:07
  2. Reversing Hours EA
    By funyoo in forum Expert advisors backtesting
    Replies: 1
    Last Post: 11-30-2009, 18:42

Tags for this Thread

add, eas, funyoo, signal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •