Over60 » Fri Mar 20, 2015 8:45 am wrote:Hi Milanese,
[hide]Thank you very much for considering my request concerning a script to create limit-orders with MagicNumber (MN) for the HPEA.
The following request refers to the HP as to the APTM.
Using Partial Close (PC), assuming e.g. at 10 pips in TP, the order-management can regarded differently.
By discrete trading we can decide, what we like to do after PC by taking already profit, which depends of the used lotsize.
The remaining order after PC could e.g. locked by SL at BE, as a protection stop, under consideration that trailing open end will still perform, but anyway then trailing will need changed parameters by an additional option.
E.g, I set initial SL = 50. JSL= 10, BE = 5. By a move of 5 pips (at BE-level) without PC setting, the JSL simultaneously will start jumping from 50 to 40 pips concerning the price. The SL-distance to actual price will decrease by the amount of defined jump-steps, if price moves in order direction (every 10 pips) until e.g. 10 pips MinDistanceToPrice has been fulfilled for further jumping.
Please correct my statements, if I´m wrong.
But with PC and trailing in combination, I´d like to lock with JSL at BE after PC for the remaining position.
Afterwards the trailing should be continued by using the SLMindistanceToPrice and the defined jump-steps as usual.[/hide]
Btw, there might be traders, who do not wish to cover resp. to lock the remaining position after PC at BE by changed trailing function, because by calculation and considering already taken partial profit, in the worst case there might be a zero-sum result, otherwise this option might work via trailing during a homerun open end.
I assume there has to be an additional option by true/false, if locking and further trailing starting at BE for the remaining position is requested.
Hope that my description was not confusing.
With kind regards
Over60