A simple Close All Trades button on chart. maybe somebody like to use it.
this is an Expert Advisor (EA), place it in the Experts folder.
Have fun.
====
update on v2 :
** simple updates (visually telling)
** also corrected the buttons to be unpressed few seconds after being pressed (wasn't the case in v1).
** executed for all orders, not limited to orders on current chart only.
update on v2x :
** limit the close all/delete all functions to orders on current chart only.
** as requested by mbisson.
update on v3a :
>> added 'SL + 1' button :
** add 1 pip to existing SL value (kinda 'manual trailing' if you got what I mean..).
** if no existing SL value set, then it will automatically add BE + 1 as SL.
** work for orders related to current chart only.
>> added "Delete SL" button :
** remove existing SL value on all orders.
** work for orders related to current chart only.
update on v3b :
>> added 'Change SL' button :
** change the existing SL value to new value as define by user
** work for all orders related to current chart only.
# only mq4 file is available here on first post
# both mq4 & ex4 files for v3b are located in Post #63 >> HERE
# max number of attachment allowed in a post reached, unable to attach it here anymore.
update on v3d :
>> added 'SL = BE' button :
** change the SL to BE price, for both orders with existing SL value or with none.
** work only for orders in allowable position (e.g. varies by brokers on how many pips from current bid/ask price, etc..).
** work for orders related to current chart only.
** Use this indicator if you wanna know where is the BE price >> Break Even Line for Multiple Orders Indicator
>> changes on 'SL + 1' button :
** add 1 pip to existing SL value (kinda 'manual trailing' if you got what I mean..).
** now this would only work for orders with existing SL value.
** for orders without SL value, no changes will be made.
** work for orders related to current chart only.
>> changes on "Delete SL" button --
** remove existing SL value on all orders.
** TP price now remain as is, will not be deleted anymore.
** work for orders related to current chart only.
>> changes on "Change SL >>" button --
** change the existing SL to the new user define price.
** TP price now remain as is, will not be deleted anymore.
** work for orders related to current chart only.
>> added "Change TP >>" button --
** change the existing TP to the new user define price.
** SL price will remain as is.
** work for orders related to current chart only.
# both mq4 & ex4 files for v3d are attached on Post #72 >> HERE
# max number of attachment allowed in a post reached, unable to attach it here anymore.
====
as always have fun.
this is an Expert Advisor (EA), place it in the Experts folder.
Have fun.

====
update on v2 :
** simple updates (visually telling)
** also corrected the buttons to be unpressed few seconds after being pressed (wasn't the case in v1).
** executed for all orders, not limited to orders on current chart only.
update on v2x :
** limit the close all/delete all functions to orders on current chart only.
** as requested by mbisson.
update on v3a :
>> added 'SL + 1' button :
** add 1 pip to existing SL value (kinda 'manual trailing' if you got what I mean..).
** if no existing SL value set, then it will automatically add BE + 1 as SL.
** work for orders related to current chart only.
>> added "Delete SL" button :
** remove existing SL value on all orders.
** work for orders related to current chart only.
update on v3b :
>> added 'Change SL' button :
** change the existing SL value to new value as define by user
** work for all orders related to current chart only.
# only mq4 file is available here on first post
# both mq4 & ex4 files for v3b are located in Post #63 >> HERE
# max number of attachment allowed in a post reached, unable to attach it here anymore.
update on v3d :
>> added 'SL = BE' button :
** change the SL to BE price, for both orders with existing SL value or with none.
** work only for orders in allowable position (e.g. varies by brokers on how many pips from current bid/ask price, etc..).
** work for orders related to current chart only.
** Use this indicator if you wanna know where is the BE price >> Break Even Line for Multiple Orders Indicator
>> changes on 'SL + 1' button :
** add 1 pip to existing SL value (kinda 'manual trailing' if you got what I mean..).
** now this would only work for orders with existing SL value.
** for orders without SL value, no changes will be made.
** work for orders related to current chart only.
>> changes on "Delete SL" button --
** remove existing SL value on all orders.
** TP price now remain as is, will not be deleted anymore.
** work for orders related to current chart only.
>> changes on "Change SL >>" button --
** change the existing SL to the new user define price.
** TP price now remain as is, will not be deleted anymore.
** work for orders related to current chart only.
>> added "Change TP >>" button --
** change the existing TP to the new user define price.
** SL price will remain as is.
** work for orders related to current chart only.
# both mq4 & ex4 files for v3d are attached on Post #72 >> HERE
# max number of attachment allowed in a post reached, unable to attach it here anymore.
====
as always have fun.

Attached File(s)