// Khai báo toàn cục về rủi ro và số tiền thua lỗi double Risk_amount = 10.0 ; // Khởi tạo với giá trị mặc định gấp đôi Last_loss_amount = 0 ; // Biến lưu số tiền bị lỗi void Tính toán Rủi ro () { // Choose toàn bộ lịch sử giao dịch if ( HistorySelect ( 0 , TimeCurrent ())) { int
I am creating a trading EA based on the martingale method. However, the following order is not being calculated according to martingale to offset the loss from the previous order. I would greatly appreciate your help, as there seems to be an error in my EA. Thanks
My EA did not properly implement the sell limit condition that I was requesting. At "// Check the conditions for a sell signa"l and "// Check the conditions for a sell signal " seem to be logically correct. Can you check and point out errors for me? Thank you ! input double RiskUSD = 10.0 ; // USD