Hi all,
I'm very interested in the potential of this EA. I have looked through the code and I have a question:
If we have not reached the targeted percentage gain, and one of the pairs have a change in color for HAS. So all the original orders for that pair would be closed and a new chain of orders would be started right?
However, in the code, I noticed that the realized profits/losses are not accounted for. For example, there is a current running profit of 1% and our target profit is 10%. One of the pairs change in HAS color and the orders are closed for a loss of say 0.5% of account balance.
The code to calculate when to close the entire basket does not take into account this 0.5% loss right?
What was the original idea of this strategy? Do we take the realized losses or profits into account for calculation of when to close the basket, be it for a loss or a gain? Or do we simply ignore those losses/gains realized during the lifetime of the basket?
I hope I have made myself clear in the question.
I'm very interested in the potential of this EA. I have looked through the code and I have a question:
If we have not reached the targeted percentage gain, and one of the pairs have a change in color for HAS. So all the original orders for that pair would be closed and a new chain of orders would be started right?
However, in the code, I noticed that the realized profits/losses are not accounted for. For example, there is a current running profit of 1% and our target profit is 10%. One of the pairs change in HAS color and the orders are closed for a loss of say 0.5% of account balance.
The code to calculate when to close the entire basket does not take into account this 0.5% loss right?
What was the original idea of this strategy? Do we take the realized losses or profits into account for calculation of when to close the basket, be it for a loss or a gain? Or do we simply ignore those losses/gains realized during the lifetime of the basket?
I hope I have made myself clear in the question.
SmartGrid All Time Return:
-145.7%