Is there any other way to instruct R to take half position size at first TP
and move the new SL to breakeven?

I currently take 2 runs to do this.

First run: with SL and 1st TP
Second run: with SL and no TP (Closes when indicators give signal)


Afterwhich, I merge the results of both runs.

Would appreciate some reference to achieve this.

Position size is not fixed but based on ATR (package: IKTrading)

Oliver

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Finance@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should 
go.

Reply via email to