how to turn indicator into ea

 

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

 
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 

 
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!!

Reason: