Hi Guys,
For the last few months I have been using the attached EA to visually control my SL, TP. Very useful and WYSIWYG.
I found lately that this EA can also activate partial TP. In this mode it displays the first TP where it closes part of the trade (cp_level) and then moves to the next TP to close the rest of the trade (cp_closedlevel). The problem is that when I use this mode, the EA closes partially at the cp_level but it does not move to the cp_closedlevel and closes the rest of the trade at the same cp_level.
I am not a programmer so if anyone could help by fixing this, I would appreciate it.
Kostas
P.S. The parameters are:
For the last few months I have been using the attached EA to visually control my SL, TP. Very useful and WYSIWYG.
I found lately that this EA can also activate partial TP. In this mode it displays the first TP where it closes part of the trade (cp_level) and then moves to the next TP to close the rest of the trade (cp_closedlevel). The problem is that when I use this mode, the EA closes partially at the cp_level but it does not move to the cp_closedlevel and closes the rest of the trade at the same cp_level.
I am not a programmer so if anyone could help by fixing this, I would appreciate it.
Kostas
P.S. The parameters are:
- ol_sell_color - color of sell orders lines
- ol_buy_color - color of buy orders
- cl_color - color of cancel levels lines
- be_color - color of break even lines
- sl_color - color of stop loss lines
- tp_color - color of take profit lines
- use_be - is break even functionality enabled
- default_be_level - default break even level (number of pips)
- be_offset - offset of break even level (sets stop loss to open price + be_offset level)
- use_cl - is cancel level functionality enabled
- default_cl_level - default cancel level (in pips)
- use_timer - if true, EA uses asynchronous mode, so no ticks are required to take an action
- delete_on_deinit - deletes all lines on EA deletion or on change of chart’s TF
- cp_color - color of close part lines
- cp_style - style of close part lines
- cp_level - when profit pips will be more than cp_level EA will close part of the order
- cp_closedlevel - after closing part of the position, EA moves cp line to the distance specified in this parameter, counted from current price
- cp_lots - number of lots to close after reaching cp_level
- default_sl_level - default stop loss level (in pips)
- default_tp_level - default take profit level (in pips)
- default_trailing_stop - default trailing stop level (in pips)
Attached File(s)
visual order editor.mq4
12 KB
|
1,548 downloads