Herbie / Publications
Forum
Problems with SMA/EMA cross program
Hi there, I tried this program, and has the following problem with it. When the price comes close to the action time, I get several buy or sell actions all ending in losses, they are not that big, but they all add up... Once the price have moved away from the cross, it is more stable and remains in
Account Balance
Hi there, I tried to display the time and Balance, but I am seeing nothing. void OnTick() { //-- The algorithm ---------------------------------------------------- 3 --- Alert("aaaaaa",TimeToStr(TimeCurrent()),AccountBalance()); Print("Time=",TimeCurrent()," Account balance=