Triple ZigZag EA profit basket bug
Results 1 to 2 of 2
 0 Attachment(s)    

Thread: Triple ZigZag EA profit basket bug

  1. #1
    Junior Member
    Join Date
    Sep 2010

    Default Triple ZigZag EA profit basket bug


    Would you so kind to help me to find a bug? I am not a programmer so I need some help.
    I tested with good results funnyo's Triple ZigZag EA and now I would like to be enable the "BasketProfitLoss" function. Unfortunately, the EA's has written two error's. Here you can find it. The error's note: "CloseBuyOrders - function is not defined" and "CloseSellOrders - function is not defined". Would you check it, please?

    Thank you for your helping in advance!!!


    //|---------basket profit loss

    double CurrentProfit=0,CurrentBasket=0;
    if(CurrentBasket>maxEquity)maxEquity=CurrentBasket ;
    if(CurrentBasket<minEquity)minEquity=CurrentBasket ;
    if(CurrentBasket>=BasketProfit||CurrentBasket<=(Ba sketLoss*(-1)))

  2. #2
    Junior Member
    Join Date
    Jan 2011


    Tom, where in your EA did you define the two functions
    CloseBuyOrders() and CloseSellOrders() ?
    Software and Consulting for MetaTrader4 - MQLware -

Similar Threads

  1. Triple ZigZag EA
    By funyoo in forum Expert advisors backtesting
    Replies: 46
    Last Post: 08-13-2017, 09:04
  2. regressive basket profit ea, does it exist?
    By OneandOnly666 in forum Scripts and other tools
    Replies: 0
    Last Post: 07-22-2014, 15:55
  3. [Req] Basket Profit Pips Locking
    By Trint in forum Ideas for expert advisors
    Replies: 1
    Last Post: 06-21-2010, 02:14
  4. Triple Zigzag EA
    By funyoo in forum Expert advisors live statements
    Replies: 3
    Last Post: 09-01-2009, 03:21
  5. Basket Profit/Loss Bug
    By szmvscla in forum MQL programming
    Replies: 2
    Last Post: 07-10-2009, 09:30

Tags for this Thread

magic, profit, programmer

Posting Permissions

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

Triple ZigZag EA profit basket bug