Topic: FIFO Rule
In the USA traders have to obey the FIFO rule. The rule says I can have only one asset open at a time that has the same lot size. So for example lets say my EA wants to open more than one instance of EURUSD with lot size 1.0. If one instance of EURUSD lot size 1.0 is open and the EA wants to open a second instance of EURUSD lot size 1.0 I will get a FIFO violation message and the second instance of EURUSD will not be open. However, it is not a FIFO violation if another EURUSD is open with a different lot size. I was looking through all the indicators and I found one indicator "Enter Once" that would allow only one instance of an asset open for once a bar, once a day, once week, once a month, however this does not meet the FIFO requirement. What I need is a signal within the EA to only let the EA enter one instance of an asset to be opened at one time and reject a second instance of the asset that is trying to open another position if the lot size is the same, and then when the asset is closed the signal would allow another instance of the same asset with the same lot size to be opened. Does anyone have any idea's on how to do this, if so I am all ears?