Yes FIFO is trades both ways, but also applies if the EA is trying to open and close a new trade... all previous trades are closed out too.
"Once per bar" will solve the 300 open and close issue. Try putting that in before the buy condition.
Yes FIFO is trades both ways, but also applies if the EA is trying to open and close a new trade... all previous trades are closed out too.
"Once per bar" will solve the 300 open and close issue. Try putting that in before the buy condition.
I still have this bug, not sure why but I tried swapping all my crosses to the below and it behaves much better, especially when there are multiple trading conditions.
example:
MA5 < MA20 candle 0
MA5 >= MA20 candle 1
It may just be glitching on my end, I'm going to see how this works out but so far, so good.
Could it be a FIFO issue with forex?
Hi,
Here's a question I couldn't find in the forum.
Is there a way to pass a condition for the duration of a candle?
Example of which is if a cross of a 5MA and 20MA happens during a candle but one of the conditions to buy is if a candle is above the 100MA.
In this example the 5MA and 20MA (On an indicator) happens first or at the beginning of a candle (triggering the pass) but the price is below the 100 MA. The price then moves past the 100MA during the candle, however the buy does not execute because the cross has already happened.
Is there a way for a PASS to last for the duration of the candle and all conditions below it gets calculated? Meaning the crossover event keeps passing until the end of the candle and the buy is executed when/if the candle crosses the 200 MA?
Thanks again!!
Hi, Thanks for the reply. I'm currently doing some tests and will report back with what I find!
Hi,
This is an amazing product and I have built some amazing code and strategies with it. However, I cannot start actually using the EA output because there seems to be issues with indicator crosses that do not register. This has happened on a number of indicators. For example, I am attaching the shared link below for a simple cross on Aroon Horn, which is a very simple and common indicator. The signals don't change between candles and the data is populated at the start of the candle. However, it still skips crosses (Yellow Circles) or doesn't create the buy until the next candle (Orange Circles) . Is there something I am doing wrong? Can anyone please help? I've tried this on three different versions of Aroon and same thing happens.
https://fxdreema.com/shared/YHwNRQoGb
