Forum

Automatic Closing

Tonight I met the problem: As soon as I open a position(both manually or with EA),it will be closed automatically right away(I have enough fund and I opened minimal size)!!! I used Metatrade4(desktop version) to trade. later, I log out and log in. My account operated right about one hour and the

" trailing stop function " dosen't work, need help!!!

CurrentPrice = Bid; while((Bid-OrderOpenPrice())/_Point > TakeP*3/4){ if(Bid > CurrentPrice){ CurrentPrice = Bid; TakeP = (CurrentPrice-OrderOpenPrice())/_Point; } } if((CurrentPrice-Bid)/_Point >