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

Question i need help, make ea from custom indicator

HendroTP

New Member
Credits
0
Hello everyone.
I would like to create an EA from custom indicator, but I can't. Can someone help me?
thank you
 

Attachments

Last edited:
Hello everyone.
I would like to create an EA from custom indicator, but I can't. Can someone help me?
thank you
Here is an idea :
renamed indicator as Goodarrow, and use EA Goodarrow for testing , see if any body can come with good settings.
Good thing is that we have indicator mq file , so we can play with settings.

It's very sophisticated EA (probablly one of the best EA's arround), developed by Mr. Tanaka :
 

Attachments

I don't know if this is possible, to good to be true ?
 

Attachments

  • usdjpy-0.5lot-5min-goodarrowEA-Mr.Tanaka.PNG
    usdjpy-0.5lot-5min-goodarrowEA-Mr.Tanaka.PNG
    19.9 KB · Views: 117
Sometimes trading strategy in backtesting show up the good result
but sometimes in the real trading environment is different.
 
Here is an idea :
renamed indicator as Goodarrow, and use EA Goodarrow for testing , see if any body can come with good settings.
Good thing is that we have indicator mq file , so we can play with settings.

It's very sophisticated EA (probablly one of the best EA's arround), developed by Mr. Tanaka :
Thankyou petar, you are good person
 
Here is an idea :
renamed indicator as Goodarrow, and use EA Goodarrow for testing , see if any body can come with good settings.
Good thing is that we have indicator mq file , so we can play with settings.

It's very sophisticated EA (probablly one of the best EA's arround), developed by Mr. Tanaka :

Pretty poor backtesting results, big drawdown compared to profits.
Not recommended
 
Ini EA berdasarkan indicator untuk scalping, silahkan indikator di backtest sendiri. Terlampir source code. (This EA is based on indicators for scalping, please backtest the indicators yourself. Attached source code.)



Hello everyone.
I would like to create an EA from custom indicator, but I can't. Can someone help me?
thank you
 

Attachments

Hasil backest
BO_SIGNAL_INDI_EURUSD_H1_EXNESS_FIXTPSL.jpg BO_SIGNAL_INDI_EURUSD_H1_OCTAFX_FIXTPSL.jpg
Hello everyone.
I would like to create an EA from custom indicator, but I can't. Can someone help me?
thank you
 

Attachments

  • BO_SIGNAL_INDI_EURUSD_H1_EXNESS_FIXTPSL.jpg
    BO_SIGNAL_INDI_EURUSD_H1_EXNESS_FIXTPSL.jpg
    173.3 KB · Views: 80
  • BO_SIGNAL_INDI_EURUSD_H1_OCTAFX_FIXTPSL.jpg
    BO_SIGNAL_INDI_EURUSD_H1_OCTAFX_FIXTPSL.jpg
    166.8 KB · Views: 72
BO_SIGNAL.mq4 same with GoodArrowIndicator.ex4. Thank you for posting the EA, I can learn to create same result with EA_GoodArrowIndicator(revA_No_alert).ex4

Here is an idea :
renamed indicator as Goodarrow, and use EA Goodarrow for testing , see if any body can come with good settings.
Good thing is that we have indicator mq file , so we can play with settings.

It's very sophisticated EA (probablly one of the best EA's arround), developed by Mr. Tanaka :
 
Ini EA berdasarkan indicator untuk scalping, silahkan indikator di backtest sendiri. Terlampir source code. (This EA is based on indicators for scalping, please backtest the indicators yourself. Attached source code.)
Terimakasih mas akangdw, besok coba saya backtest
 
Terimakasih mas akangdw, besok coba saya backtest

Sebenarnya gampang membuat EA berdasarkan indicator, terlampir modifikasi Moving Average untuk digunakan berbagai macam indicator. Khusus utk BO_Signal, Nilai buffer 0 = 1 dan nilai Buffer 1 = 0, biasanya Buffer 0 = 0 dan buffer 1 = 1
 

Attachments

terimakasih mas akangdw atas bimbingannya, saya sudah backtest dan pelajari.
saya punya ide, tapi saya tdk paham untuk codingnya. jika berkenenan mohon di modifkan yang ea "modifikasi moving average" dengan rule basket trading :
1. target tp in usd
2. apabila op pertama belum mencapai target in usd kemudian muncul sinyal baru op posisi kedua dgn lot x 2, apabila op pertama dan kedua masih belum mencapai target kemudian muncul sinyal baru op lagi sesuai sinyal yg muncul dengan lot x 3, dst.
3. dikasih stop loss in usd

apabila berkenan mohon disematkan mas akangdw. terimakasih
 
terimakasih mas akangdw atas bimbingannya, saya sudah backtest dan pelajari.
saya punya ide, tapi saya tdk paham untuk codingnya. jika berkenenan mohon di modifkan yang ea "modifikasi moving average" dengan rule basket trading :
1. target tp in usd
2. apabila op pertama belum mencapai target in usd kemudian muncul sinyal baru op posisi kedua dgn lot x 2, apabila op pertama dan kedua masih belum mencapai target kemudian muncul sinyal baru op lagi sesuai sinyal yg muncul dengan lot x 3, dst.
3. dikasih stop loss in usd

apabila berkenan mohon disematkan mas akangdw. terimakasih

Saya coba ya, saya juga baru 4 bulan belajar coding mq4
 
Hello everyone.
I would like to create an EA from custom indicator, but I can't. Can someone help me?
thank you

https://www.cashbackforex.com/article/building-strategies-with-custom-indicators
Indicator: NonLagMA_7.1

Cara 1 :
Cocok untuk indicator seperti Hull, NonLag
Code:
//Buy: when close crosses over NonLagMA
//Sell: when close crosses under NonLagMA
int Shift = 1
double macurrent  = iCustom(NULL, 0, "NonLagMA_v7.1", 0, Shift);
double maprevious = iCustom(NULL, 0, "NonLagMA_v7.1", 0, Shift+1);
double close_current  = iClose (NULL,0,Shift);
double close_previous = iClose (NULL,0,Shift+1);

// Buy
if (close_current >= macurrent && close_previous <= maprevious)

// Sell
if (close_current <= macurrent && close_previous >= maprevious)

Cara 2:
Cocok untuk indicator seperti Hull, NonLag
Code:
//Buy: when current line is up and blue and previous line is down and red
//Sell: when current line is down and red and previous line is up and blue 

int Shift = 1
double buy_macurrent   = iCustom(NULL, 0, "NonLagMA_v7.1", 1, Shift);
double buy_maprevious  = iCustom(NULL, 0, "NonLagMA_v7.1", 1, Shift+1);
double sell_macurrent  = iCustom(NULL, 0, "NonLagMA_v7.1", 2, Shift);
double sell_maprevious = iCustom(NULL, 0, "NonLagMA_v7.1", 2, Shift+1);

// buy
if(sell_maprevious != EMPTY_VALUE && sell_macurrent == EMPTY_VALUE && buy_macurrent != EMPTY_VALUE)

//sell
if(buy_maprevious != EMPTY_VALUE && buy_macurrent == EMPTY_VALUE && sell_macurrent != EMPTY_VALUE)

Cara 3:
Code:
//Buy: when current trend is up and previous trend is down
//Sell: when current trend is up and previous trend is down     
int Shift = 1
double trend_macurrent  = iCustom(NULL, 0, "NonLagMA_v7.1", 3, Shift;
double trend_maprevious = iCustom(NULL, 0, "NonLagMA_v7.1", 3, Shift+1;

// buy
if (trend_macurrent == 1 && trend_maprevious == -1)

//sell
if (trend_macurrent == -1 && trend_maprevious == 1)

Cara 4:
Code:
int Shift = 1
double buffer_0 = iCustom(NULL, 0, "BO_SIGNAL", 0, Shift;
double buffer_1 = iCustom(NULL, 0, "BO_SIGNAL", 1, Shift;

// buy
if (if(buffer_0 != EMPTY_VALUE && buffer_0 != 0)

// sell
if (if(buffer_1 != EMPTY_VALUE && buffer_1 != 0)

Cara 5:
Code:
int Shift = 1
double buffer_0 = iCustom(NULL, 0, "BO_SIGNAL", 0, Shift;
double buffer_1 = iCustom(NULL, 0, "BO_SIGNAL", 1, Shift;

if (buffer_0 != buffer_1)
{
   // buy
   if (if(buffer_0 > buffer_1)

   // sell
   if (if(buffer_0 < buffer_1)
}
 
Here is an idea :
renamed indicator as Goodarrow, and use EA Goodarrow for testing , see if any body can come with good settings.
Good thing is that we have indicator mq file , so we can play with settings.

It's very sophisticated EA (probablly one of the best EA's arround), developed by Mr. Tanaka :
thank you petar for a wonderful idea. i tried changing name of indy to another following to your advice. i used dynamix to replace goodarrow, but it's placing only sell orders. how can i correct this? thank you very much.
 
Back
Top