i almost finnished my first EA which i will post very soon after these 2 errors are fixed.
the first problem is that when i run 2 or more of the EA i get a
TradeDispatcher: trade context is busy error.
which is ofcourse that the EA want to both buy and sell or closeorder at the same time.
now i did some readup about this problem and i checked mq4 docs. however that script which is gigantic didnt work well when compiling.
the other problem i have is that when the line turns blue or red it wont do the buy or sell or close order at that same time. it waits like 15,30,45 minutes before it does a buy, or close or sell.
however i want to have it buy or sell or close order when line crosses red or blue.
thanks as always
the first problem is that when i run 2 or more of the EA i get a
TradeDispatcher: trade context is busy error.
which is ofcourse that the EA want to both buy and sell or closeorder at the same time.
now i did some readup about this problem and i checked mq4 docs. however that script which is gigantic didnt work well when compiling.
the other problem i have is that when the line turns blue or red it wont do the buy or sell or close order at that same time. it waits like 15,30,45 minutes before it does a buy, or close or sell.
however i want to have it buy or sell or close order when line crosses red or blue.
thanks as always