Partial order closing is a feature that allows selecting and closing a portion of an order while moving the remaining portion to the stop loss level. This feature provides a more intuitive, easy-to-use, and convenient way compared to the traditional method used on the MT4 platform.
To set up the appropriate partial order ratio, right-click on the chart and select “Expert Advisors” – “Properties,” or use the shortcut key F7.
showPartial: This feature will close the order when the desired ratio is reached. In this case, the ratio is 1:1.
PartialPart: This feature determines what percentage of the order volume should be closed when the desired ratio is achieved. In this case, it is set to 50% of the volume.