Expert Advisors: Resonance Hunter

 

Resonance Hunter:

Multi-currency Expert Advisor that analyze resonance events at related financial assets.

Considering correlations between different financial assets is not a new idea and it would be interesting to create the algorithm based on the analysis of such regularities.

Here we present the multi-currency trading robot inspired by the article of Vasily Yakimkin "Resonances - a New Class of Technical Indicators" published in the "Currency Speculator" magazine (№04 (part 1) and №05 (part 2) in Russian).

In few words, the idea of this method is as follows. For example, to analyze the EUR/USD market we may use not only the readings of any indicator concerning this asset but also the readings of the same indicator concerning the related assets - EUR/JPY and USD/JPY.

Author: Nikolay Kositsin

 

Hello. When testing the Expert Advisor gives the following error: 2012.03.17 23:25:23 2012.02.09 15:59:41 failed instant sell 0.10 AUDUSD at 1.07970 sl: 1.12970 [Invalid request].

As far as I understand it cannot open an order. How can this problem be solved?


 
Lest:

Hello. During testing the Expert Advisor gives the following error: 2012.03.17 23:25:23 2012.02.09 15:59:41 failed instant sell 0.10 AUDUSD at 1.07970 sl: 1.12970 [Invalid request].

As far as I understand it cannot open an order. How can this problem be solved?

Study the work of the tester even more carefully! The point is that in the "Market Watch" window you do not have some currency pair among those that are necessary for normal market analysis by the Expert Advisor and that are available in the Expert Advisor's input parameters. For example, I got such an error when AUDJPY was missing. I have slightly corrected the Expert Advisor code, so it is advisable to upload a new one!
 

Good afternoon. Your advice did not help. All pairs are enabled, even left three pairs for work. The same error is written in the log. I have loaded the Expert Advisor code again.

By the way, the indicator lines are not drawn for some reason.

Files:
1.JPG  586 kb
2.JPG  528 kb
 

I don't know! This Expert Advisor has always worked absolutely normally for me with default parameters! Another thing is that it has a lot of input parameters and if you want to, you can always set such incorrect values that will produce such a result!

I checked it specially and put the Expert Advisor on InstaForex-Server. Everything works and trades are opened! The only thing is that the indicator is not drawn in the visualiser. But I don't know whether the visualiser can work normally with such indicators.

 
It's sad.
 
Hello. I got your Expert Advisor working. I tried to run it in the office, everything works fine. This time I didn't compile the code, I tested it as is.
 

How does this EA take profit.

When I load the EA into the expert advisor I see no input for Take Profit. Is this implement in the EA? 

 
The code itself generates 4 errors when compiling. Maths geeks.
 
karalex:
The code itself generates 4 errors when compiling. maths geeks.
Thanks for your message, the error has been fixed. The problem was in the obsolete identifier ORDER_FILLING_AON (now it is called ORDER_FILLING_FOK).
 
When I load the EA into the expert advisor I see no input for Take Profit. Is this implement in the EA?