Download MetaTrader 5
To add comments, please log in or register
They are making profit already using Freelance service. You can join them!
nextgenyx
30
nextgenyx 2014.09.07 17:46 

Hi community!

I have a Problem. I have an indicator which i like to use for my trading but now I want to test how the indicator is doing as an ea.

Can anybody tell me how to/help me to turn and indicator into an ea ?

Hope you can help me.

thanks

Rodrigo Malacarne
Moderator
9759
Rodrigo Malacarne 2014.09.08 02:55  
nextgenyx:

Hi community!

I have a Problem. I have an indicator which i like to use for my trading but now I want to test how the indicator is doing as an ea.

Can anybody tell me how to/help me to turn and indicator into an ea ?

Hope you can help me.

thanks

Hello nextgenyx,

please take a look at the Freelance section.

Regards,
Malacarne 

gbulle
127
gbulle 2014.09.08 13:46  
nextgenyx:

Hi community!

I have a Problem. I have an indicator which i like to use for my trading but now I want to test how the indicator is doing as an ea.

Can anybody tell me how to/help me to turn and indicator into an ea ?

Hope you can help me.

thanks

Hello,

if you want to do this by yourself these are the guidelines:

1- look at your indicator to check which are the buffer exported to the outside for example:

SetIndexBuffer(0, FextMapBuffer1);

SetIndexLabel(0,"UP");

where the index 0 is associated to the buffer FextMapBuffer1 and named "UP.


2- In your EA you have to reference  the current bar indicator value   for example:

up=iCustom(Symbol(),0,"WR_OSC",wr_osc_period,false,0,curBar)

and then apply your trading logic.

(look at online help for the functions iCustom,SetIndexBuffer,SetIndexLabel)

I hope this help you otherwise follow moderator suggestion!!

/
To add comments, please log in or register