Forum

I want your support with Expert coding (MT4)

This my first expert to code . The expert is open trade based on signal . The signal work correctly . But I want to add section called Monitoring Section for this expert . The function of this code is opening Pending Stop orders in opposite direction for the last open trade . IF the pend order

Looking for expert to modify the Take Profit for Open orders

I want a simple expert to modify the Take profit for an open orders . Thank you

How obtain the sum of last row of losses

I want to adjust the Take profit to recover all losses row for a given Currency Pair . Assume The results for GBPUSD closed trades are : -20 , 14 , 30 , -34 , 32 , -12 , -13 ,-34 The expert need to sum the last loses row Only in this case Sum=(-12)+(-13)+(-34)=-59 $ Then Calculated_Take_Profit =