Only one pending buy placed on back test
-
This is the start of a multi conformation EA, on back test it places one pending buy, no sells and it doesn't place another buy once the 1'st is deleted. I don't think I have set this up wrong but maybe I have, any help on why this doesn't place a pending order at every previous L1 & H1 is much appreciated.
-
share a link to your project then i will be able to get to you properly
-
@jstap What are those 'pass once' blocks for exactly? If you just need one only pending order you just need a 'No pending order' block instead.
-
An update from me.
- My computer doesn't like to run a back test on per tick.
- For some reason back test had to run for some time to generate sells.
- Now I have added an option to check if L1 & H1 is a bull or bear candle it now generates buys and sells, (I assume before when it tried to generate order, it failed due to SL & EN being on the wrong side for weather it tried to generate a buy or sell).
-
@jstap Man, that's a completely differet project! I see you are using some code created by miro1360 for zigzag indicator. I'm afraid I'm not a programmer, so I have no idea if those blocks are interfering in any way with your pending order executions. Maybe miro himself couls take a look at it?

-
@l-andorrà Logically this would make sense , but when I have tried this it still continued to generate more than one order (that many the back test would crash), as you can see in the latest version I have added resetting the pass once block when trade closed or pending deleted seams to wor best.
-
@princeclaw Thank you, just saw your reply, the link is within the "link text" wording.