No
First you have to select the order, then check that Bid is at the price to take partial profit
OrderClose(OrderTicket(),0.05,Bid,30,clrGreen)
That would close 0.05 lots and the broker will open a new ticket with the remaining lots
That is, of course assuming that the minimum lot size is not 0.10
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I'm not sure how to take part of my profits at a price before Take Profit line of an order. I place an order with code that looks something like this...
And then when the price reaches 10 pips I would like to take partial profits. Do I create a new limit order? Do I use the OrderSend with the OP_SELLLIMIT? Something like this...
Thanks,