DislikedMikkom perhaps you'd be kind enough to post your source code for the pretty EURUSD graph since
1) the method "isn't for you"
2) dreamliner was kind enough to share the method
3) i brought the thread back from the dead
whatcha say? whatcha say?
i started writing it myself, but got tangled up with iFractals... not sure if that is what i need or not.
if you want to be stingy, at least explain whether you used iFractal, and if not, how you accomplished coding it.Ignored
I basically used the channel indicator that I had and every time when new fractal arrives = channel top/bottom changes, I delete all old pending orders (long or shorts based on which one of the channel sides changes) and then open new stops based on fractal.
Some code like position sizing is from my internal code library so it won't compile but you'll see the general logic and if you remove the position sizing, it should work.
btw using iFractal is just as easy as watching channel changes, just check if there is a fractal at current+3 bars at open. That basically means that you should add pending order at that exact level.
edit: looks like post #19 is quite similar to what I did except my channel does not repaint = the channel changes only after 2 bars have closed after the peak.