The Expert Advisor that gains profit from the positive swaps + multi-currency arbitrage tactics.
Many may have already tried to gain profit from the trades with positive
swaps of the instruments. But opening towards the positive swaps is one
thing. At the same time it is necessary to keep all this business
Author: Yury Reshetov
I think there is a bug in the following line of code :
money = money - 10 * buyvolume * OrderOpenPrice();
Here, the value of buyvolume will be 0 when this line of code is called first time. Then, inside the if condition it is assigned the value of OrderLots()
buyvolume = OrderLots();
So, next time, buyvolume has the value of previous OrderLots.This does not seem to make sense.
Why is the following code repeated 4 times ? It is already there at the beginning in the start() function, so no point in repeating so many times.
prevtime = Time;