Hakim314 Posted May 23, 2012 Report 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
iwjw Posted May 23, 2012 Report 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
Hakim314 Posted May 23, 2012 Author Report 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now