maxcruiver
Recruit
- Messages
- 9
lets see if I can take a crack at this flow chart...
1: at anytime take current price and make that the middle level0
2: create 3 buystop and 3 sellstop orders, lets say each is 1.0 lot
3: now if price goes up to level1 buystop and buystop gets triggered, now create 2 more buystop 1.0 lot each above the level1 buy order at level2 and level3 and create 3 sellstop orders 1 at each level1-level3 3.0 lots each and create 3.0 lots sellstop at level0
so far so good?
I think this isn't the actual way. From my observation of the williama_improve_all_margin EA so far, what i understand is it initially creates 3 levels pending orders of buy stops and 3 levels of sell stops, each 1 lot. When level#1 buy stop is triggered, it adds 1 more lot to the 3rd level of sell stop, no additional buy stop is created. When level#2 buy stop is triggered next, it adds 1 lot of pending sell stop to level 0, sellstop #1, and sellstop#2. Now level 0 has one lot of sell stop order, sell stop#1, #2, and #3 have 2 lots of pending order each.
Therefore the EA works a little differently from what Williama first mentioned. This is what confusing me...