I FOUND IT ! (2 a.m., but still…)
THIS F***ING LINE :
|
// position management during trading window IF (Time >= BuyTimeMorning AND Time <= SellTimeAfternoon) THEN |
has to go AFTER all the conditions, and everything will go back to normal.
Now system is a looser, but I can work on it and rest in peace 🙂
1 user thanked author for this post.