if running trade close by a known line .. next closing should not be same line
-
Hello guys
quick question .. if i have multiple object lines (lets say H1 H2 H3 H4) and if current trade closed by passing throw object ( lets say H1 line )i need my next closing trade to be anyone of remining three ( H2 H3 H4 ) and not to be closed by object H1
thanks in advance
-
@saeed-2 I'm afraid I don't get it. Are those lines manually inserted on the chart? If not, how?
-
@l-andorrà lets say horizontal lines .. if certain condition happen .. EA will generate horizontal lines
if running trades hits one of them lets say H1 ... second open trade when it close will close when it hits any remaining horizontal lines except the last closed trade that been closed of that line -
@saeed-2 That can be a very complex structure to implement. If I understand it correctly, there can be an unlimited number of lines appearing and disappearing. You can create a structure to identify them by name, but you will need a kind of 'renaming' generator. Certainly not a trivial project. Can you please share the link to yours?
-
i got it and found other way .. thanks for your time
whenever an open trade closed by a centain object .. i saved it as variable number and then doesnt let the next open trade to close by this temporary variable number .. much easier like this