Problem solved.
The robot I am working on made a huge profit. But in a way which is not tradeable. The problem was then, that it tried to buy a number of lots which was bigger than allowed by the broker. And it then failed.
Have I found the GRALE!!!! Sorry no, it was a simple trade that was initiated by ATR(2). The break bar was very large and the Take Profit was therefore set to 650 pips. And it turned out, that the robot got those pips and the account balance were suddently on more than 500.000$.
So that is the GRALE!!- No, 99% of cases it would have hit the Stoploss which were also large - 150 pips. So using that robot would ruin any account in less than a month.
So the thing is, I learned that there are a maximum limit of how many lots can be traded in one trade. He he, not that I will ever come any close to that.
The robot I am working on made a huge profit. But in a way which is not tradeable. The problem was then, that it tried to buy a number of lots which was bigger than allowed by the broker. And it then failed.
Have I found the GRALE!!!! Sorry no, it was a simple trade that was initiated by ATR(2). The break bar was very large and the Take Profit was therefore set to 650 pips. And it turned out, that the robot got those pips and the account balance were suddently on more than 500.000$.
So that is the GRALE!!- No, 99% of cases it would have hit the Stoploss which were also large - 150 pips. So using that robot would ruin any account in less than a month.
So the thing is, I learned that there are a maximum limit of how many lots can be traded in one trade. He he, not that I will ever come any close to that.
MetaTrader 4 - so many advantages.