Readout of indicator values

 
Hi,

I´m looking for a way to read out values of indicators, like RSI or average movement, to try out scripting an expert advisor.

Anyone know how to do that?

I am beginner/advanced-beginner in mysql, so I´d be grateful for an example script code.

Thanks!
 
taifun:
Hi,

I´m looking for a way to read out values of indicators, like RSI or average movement, to try out scripting an expert advisor.

Anyone know how to do that?

I am beginner/advanced-beginner in mysql, so I´d be grateful for an example script code.

Thanks!

Hi Taifun,

You can display the values of indicators in the EA by using COMMENTS to display them directly on the chart or use PRINT statements to print them to your logs.

Quick examples:

Comment ("Indicator Value1 = ",Value1);

Print( ("Indicator Value1 = ",Value1);

Hope this helps,

Robert