Hakim314 Posted May 23, 2012 Report Share Posted May 23, 2012 I'm working with my friend on EA, but it's trending only. How to define consolidation in programming language to switch robot to other mode ? What parameters should I choose ? What to consider ? Thank You in advance Quote Link to comment Share on other sites More sharing options...
iwjw Posted May 23, 2012 Report Share Posted May 23, 2012 you could take the current bar and look x bars back if these x bars were within a range of y pips then you could wait for a breakout of that range and the consolidation could have finished if your looking from the other side you also only recognize the consolidation when it is already happening for a while or nearly done Quote Link to comment Share on other sites More sharing options...
Hakim314 Posted May 23, 2012 Author Report Share Posted May 23, 2012 So what is the solution to TEACH EA how to recognize it ? or how to avoid it. I was thinking about checking X bars back, but it's doesnt work good. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.