1. Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)
    Dismiss Notice

Suggestion I will make a Free EA with your Indicator

Discussion in 'Expert Advisor atau Robot Forex' started by winidecorw, 12 Jan 2018.

  1. Vincenzo2019

    Vincenzo2019 Member Credit Hunter

    Equity
    Credit
    Ref Point
    Yes Master.. It's been as you said.. I've changed the magic numbers in a second time.. yesterday I restarted the Mt4.. and now semmes go better.. ;)
    Thanks a lot!!
     
    • Winner Winner x 1
  2. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Your request information is not enough ... I don't understand what you want to do...
     
    • Like Like x 1
  3. feliipeesc

    feliipeesc Member Credit Hunter

    Equity
    Credit
    Ref Point
    Its possible add trailing stop for buy/sell order only (not for martingale) in this EA?
     

    Attached Files:

    • Like Like x 1
  4. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    What is this EA? Who made it? I need mql4 source file to modify.
     
    • Agree Agree x 2
    • Like Like x 1
  5. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Sorry I don't understand grid EA. What is it? Please show picture and how to entry?
    By the way why you don't use my templete. It is good enough.
     
    • Agree Agree x 1
  6. Libra khan

    Libra khan Member Credit Hunter

    Equity
    Credit
    Ref Point
    Yes, Tanaka, exactly the same as in your above pictures but I want it separate standalone EA so it can be used on a blank chart.
     
    • Like Like x 1
  7. ademola moses

    ademola moses Member Credit Hunter

    Equity
    Credit
    Ref Point
    hello mr TANAKA. i discover in most of yore e.a on my vps always stop working after all trade profit is close for all the on going trade of the day. and it will stop working on following day. pls what is the problem. can it be the magic number setting?
     
  8. ademola moses

    ademola moses Member Credit Hunter

    Equity
    Credit
    Ref Point
    hello mr TANAKA. i discover in most of yore e.a on my vps always stop working after all trade profit is close for all the on going trade of the day. and it will stop working on following day. pls what is the problem. can it be the magic number setting?
     
  9. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Stand alone? How can you use it? Not combine EA??
    Below is MT4 function.
    upload_2019-3-15_19-8-50.png
     
  10. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    I have no idea, Anyone else has the same problem? Broker issue??
     
    • Disagree Disagree x 1
  11. Francisco jose

    Francisco jose Member Credit Hunter

    Equity
    Credit
    Ref Point
    yes ,

    disable the option you have in MARTIN ATTACK EA and put "fixe lots" and set true to the trailing option without take profit equal to 0 and stop equal to 0 ok. this idea of Ea was me who chose and tanaka made my strategy.
     
    • Winner Winner x 1
  12. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Not enough...
    You want to open BUY/SELL order every ** pips ,
    Current price +30pips 0.01 LOT
    Current price +60pips 0.02 LOT
    Current price +90pips 0.04 LOT
    More detail!!
     
    • Agree Agree x 1
  13. Libra khan

    Libra khan Member Credit Hunter

    Equity
    Credit
    Ref Point
    The default MT4 function does not have the option to insert a custom magic number, OK if standalone is not possible just share the one you showed in your previous post #10186. I think you miss to upload it
     
    • Like Like x 1
  14. darkside

    darkside New Member

    Equity
    Credit
    Ref Point
    Hi All, im a newbie to EAs, i have been testing so many EAs from Mr Tanaka and I myself am not sure what TF are to be used with the EAs.
    Been trying so many sets but usually end up with huge drawdown.

    Any tips for me?
    Can the masters here shed some light on tested proven sets or pairs and the EA they use?
    It would be of so much help for use newbies.
     
  15. feliipeesc

    feliipeesc Member Credit Hunter

    Equity
    Credit
    Ref Point
    You who shared right here in this thread. Here is the latest version with:
    adx filter, buysell stop limit, news filter, busket profit, etc...
    https://soehoe.id/i-will-make-a-free-ea-with-your-indicator.t9801/page-270#post-270017

    id like new tanaka template with linear martingale and trailing stop for buy/sell order only (not for martingale order).
     

    Attached Files:

  16. omarbns

    omarbns Member Credit Hunter

    Equity
    Credit
    Ref Point
    mr tanaka can you check this bug in the EA it open many close ordre
     

    Attached Files:

  17. puturex

    puturex Member Credit Hunter

    Equity
    Credit
    Ref Point
    Mr. Tanaka Love, your work !!!!:h::h::h:
    i want to TF this ea :giggle::giggle:
     
    Last edited: 15 Mar 2019
    • Winner Winner x 1
  18. BBubai

    BBubai Member Credit Hunter

    Equity
    Credit
    Ref Point
    Your idea is making EA with manual buy/sell button instead of indicator, just that this one need Martin attack and close order using Tanaka template. am I right?
    manual.png
    maybe this can help.. Just an example..Taken from (https://www.forexfactory.com/showthread.php?p=8776270#post8776270)
    Code:
    #property copyright "Keith Watford"
    #property link      "none"
    #property version   "1.00"
    #property strict
    //--- input parameters
    input int         MagicNumber=99;
    input double      LotSize=1;
    //+------------------------------------------------------------------+
    //| Expert initialization function                                   |
    //+------------------------------------------------------------------+
    int OnInit()
      {
       //if(IsTesting())
         {
          string name;
          string heading[4]={"Buy","Sell","Stop","TP"};
          int xc=5;
          int yc=30;
          for(int i=0;i<2;i++)
            {
             name=heading[i];
             ObjectCreate(0,name,OBJ_BUTTON,0,0,0);
             ObjectSetText(name,name,10,"Arial",clrBlue);
             ObjectSetInteger(0,name,OBJPROP_XDISTANCE,xc);
             ObjectSetInteger(0,name,OBJPROP_YDISTANCE,yc);
             yc+=20;
            }
          for(int i=2;i<4;i++)
            {
             name=heading[i];
             ObjectCreate(0,name,OBJ_LABEL,0,0,0);
             ObjectSetText(name,name,10,"Arial",clrBlue);
             ObjectSetInteger(0,name,OBJPROP_XDISTANCE,xc);
             ObjectSetInteger(0,name,OBJPROP_YDISTANCE,yc);
             ObjectSetInteger(0,name,OBJPROP_SELECTED,false);
             yc+=20;
            }
          name="EditSL";
          ObjectCreate(0,name,OBJ_EDIT,0,0,0);
          ObjectSetText(name,DoubleToStr(0,Digits),10,"Arial",clrRed);
          ObjectSetInteger(0,name,OBJPROP_XDISTANCE,xc+50);
          ObjectSetInteger(0,name,OBJPROP_YDISTANCE,70);
          ObjectSetInteger(0,name,OBJPROP_XSIZE,60);
          ObjectSetInteger(0,name,OBJPROP_YSIZE,20);
          name="EditTP";
          ObjectCreate(0,name,OBJ_EDIT,0,0,0);
          ObjectSetText(name,DoubleToStr(0,Digits),10,"Arial",clrRed);
          ObjectSetInteger(0,name,OBJPROP_XDISTANCE,xc+50);
          ObjectSetInteger(0,name,OBJPROP_YDISTANCE,90);
          ObjectSetInteger(0,name,OBJPROP_XSIZE,60);
          ObjectSetInteger(0,name,OBJPROP_YSIZE,20);
         }
    //---
       return(INIT_SUCCEEDED);
      }
    //+------------------------------------------------------------------+
    //| Expert deinitialization function                                 |
    //+------------------------------------------------------------------+
    void OnDeinit(const int reason)
      {
    //---
      }
    //+------------------------------------------------------------------+
    //| Expert tick function                                             |
    //+------------------------------------------------------------------+
    void OnTick()
      {
    //---
      }
    //+------------------------------------------------------------------+
    //| ChartEvent function                                              |
    //+------------------------------------------------------------------+
    void OnChartEvent(const int id,
                      const long &lparam,
                      const double &dparam,
                      const string &sparam)
      {
       if(id==CHARTEVENT_OBJECT_CLICK)
         {
          string name="Buy";
          if(ObjectGetInteger(0,name,OBJPROP_STATE)==true)
            {
             ObjectSetInteger(0,name,OBJPROP_STATE,false);
             double sl=StrToDouble(ObjectGetString(0,"EditSL",OBJPROP_TEXT));
             double tp=StrToDouble(ObjectGetString(0,"EditTP",OBJPROP_TEXT));
             int ticket=OrderSend(Symbol(),OP_BUY,LotSize,Ask,50,sl,tp,NULL,MagicNumber,0,clrNONE);
            }
          name="Sell";
          if(ObjectGetInteger(0,name,OBJPROP_STATE)==true)
            {
             ObjectSetInteger(0,name,OBJPROP_STATE,false);
             double sl=StrToDouble(ObjectGetString(0,"EditSL",OBJPROP_TEXT));
             double tp=StrToDouble(ObjectGetString(0,"EditTP",OBJPROP_TEXT));
             int ticket=OrderSend(Symbol(),OP_SELL,LotSize,Ask,50,sl,tp,NULL,MagicNumber,0,clrNONE);
            }
         }
    //---
      }
     
    • Winner Winner x 2
    • Informative Informative x 1
    • Creative Creative x 1
  19. balaram

    balaram Member Credit Hunter

    Equity
    Credit
    Ref Point
    thank you sir very good set file
     
    • Like Like x 1
    • Winner Winner x 1
  20. balaram

    balaram Member Credit Hunter

    Equity
    Credit
    Ref Point
    add one indicator name PBchannal , Ex: pbchannal top touch then zaman starts only sell orders , reverse PBchannal bottom touch then zaman Ea close sell order & take buy orders. sir plg modify this type pl
     

Share This Page