For Each Pending Order (Oldest / Newest) and If Demo Account... not working?
-
https://fxdreema.com/shared/sPKAyHz6c
this is a stripped version of my idea and after playing around for some time, i think there is bugs of:
-
'For each pending order' block - the loop direction seem broken, and no matter how i config it, it always deletes from newest first. I wish to delete from the oldest first but couldnt.
-
'If demo account' block seem broken.. please check
(i delink 'if demo account' for you to try, you can link and check again)
thanks! -
-
@vnpython-0 You do not need if deo account unless you have EA only doing something when on a demo account.
It's looping from new to old, so set it to old to new, all settings work in the order they are in, so if you have skip 1nth order it will start on 2 either the 2nd or the one before last depending on loop direction, every nth order will skip orders so if set on 5 then it will only recognise every 5th order, so 5-10-15 etc, not more than nth is the maximum trades/orders it will look at. only use sections that are relevent to what you need.