Information

Username: Zenner
Member since: 14 Jul 2012
Last login: 28 Jan 2013
Status: Active

Activity

Where Created Comments
Algorithms 0 2
Forum Topics 9 11
Jobs 0 0

Last Algorithm Comments

ZE
Zenner · 4 years ago

Nice work thumbs up 

ZE
Zenner · 11 years ago
Hi I do not know if this has been fixed but in the issue is in the call to CreateBuyStopOrder because the takeprofit price is the same as the BuyStop and that is not possible. So if you change the code to: Trade.CreateBuyStopOrder(Symbol, Volume, buyOrderTargetPrice, buyOrderTargetPrice - StopLoss * Symbol.PipSize, buyOrderTargetPrice+ TakeProfit * Symbol.PipSize, expirationTime); it should work