• 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 :)

Suggestion I will make a Free EA with your Indicator

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.
 

Attachments

This is a modified version for Zaman martingale EA.
1. Remove unuse function from the menu
2. Add trade timer
3. Modified code for linear lot increment
4. Add trailing stop for buy/sell order (not for martingale order)
5. Change Magic# to a currency selection way.
Can you help to find the best setting and share? I have not tested yet.:cool::ok:
Mr. Tanaka Love, your work !!!!:h::h::h:
i want to TF this ea :giggle::giggle:
 
Last edited:
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
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);
        }
     }
//---
  }
 

Attachments

  • manual.png
    manual.png
    15.5 KB · Views: 782
Wooooooooooowwwwwwww Tanaka San, great, arigato.

Let me do FT and then I will show you the results.

From the same settings, I am using previous version and believe me this time I slept without tension because floating loss was very low and account was safe. Now I will check this new version also.

Maido arigato gozaimasu. :ok::ok::ok::ok::ok::):):):):)
thank you sir very good set file
 
thank you sir very good set file
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
 
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
You want manual order with my templete without indicator trigger just like BBubai said?
If so, I will try next week. No problem.
 
Dear forum members, in case if any one of you has missed the page of my latest and last EA version as of now, find link in my signature to download it.
Mr. Ahmad Khan
i think there is a bug or maybe i am wrong
i set the tp on the ea but the tp not in the chart, maybe because of TS on ?
 
can samebody calculate marty ?
my ide dont wait close all marti
example we flooting ten level
level 1
level 2
level 3
level 4
level 5
level 6
level 7
level 8
level 9
level 10
when level 10 profit, level 10 - level 1 - level 3 = usd 3, just close marti level 10, 1 and 3.
other level 2-9 still running and if level9 profit , level 9 - level 2 - level 4 = usd 3, just close marti level 9, 2 and 4. but still flooting next marti open level 10 again.
This is a good way to reduce floating losses. What level 10 profit, level 10-level 1 = USD 3, just class Marti level 10, and 1.
Other level 9 class and if level 9 program, level 9-level 2 = USD 3, just volume market 9, and 2. But stay clean new market 10 again, which I used to do very effectively to reduce floating losses.
 
I think that no briker should know where our target is, so all EAs should have virtual output lines on the monitor, so only the trades know where the target is or stop
 
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.


tanaka master GRID EA is the same thing as your ATTACK MARTINGALE. it is not worth doing just instruct the manual so the person knows how to use it in their experts.
 
I coded.
For example, lot multiple is 2
Buy arrow appear ->BUY order 0.01 lot
Sell arrow appear->SELL order 0.02lot but Order distance has to be more that xx pips
Buy arrow appear->BUY order 0.04lot but Order distance has to be more that xx pips

You can change lot size for Linear or multiple.
View attachment 76007

EU M5
View attachment 76006

Please become rich and send a cup of cofee for me ..... I am so tired..:oops:
Dear Mr. Tanaka akiko, I wonder what time frame this is the result of? Parameters? thanks
 
I can just modify my EA templete not for indicator, but for manual operation , OK?


tanaka master make the manual expert simple even just with this:
-numero magic
- basket profit of all currency pair
- basket profit of 1 currency pair (a capacity to receive the orders and recalculate the closing).
- attack martingale.
- high-spread lock
- take profit and stop loss as an option in both attack martingale and manual order if you need to.
- Initial screen with profit of the day and basket with drawndown.
only that the expert must have.
 
Back
Top