Creating a simple button to close partial open order

 

Hi ,

Am looking to do two things.

1. Create a code to close partial open position (eg 50% -- i normally have one trade at a time)

2. Dedicate a hotkey on my keyboard to do that function.


So if there is anyone out there who can assist in at least the first question i will be very appreciative.


Regards

Jester

 
Please make it clear whether you are asking about MQL4 or 5 as many people post their MQL4 topics in the wrong section.
 
Keith Watford:
Please make it clear whether you are asking about MQL4 or 5 as many people post their MQL4 topics in the wrong section.
@keith am asking for MQL5.
 
Sj_Take_Profit :


Please use: Position Close Partial Panel

Position Close Partial Panel

Reason: