[QUOTE=loh2005;254546]You have the point, But then I'm sure there a<textarea name="message" id="vB_Editor_QE_1_textarea" rows="10" cols="60" style="width:500px; height:200px" tabindex="1" dir="ltr">
the aim of the pipsmaker is to calculated out the profits from all the opened trades and find out where is the right place , when will be the right time and which trades was suitable to close and get the profits.
let said if u had setup up the SL or TP, then the Pipsmaker will not do its job anymore.
but if u intent want to do it, then u can just add the SL & TP on it.
int StopLoss = 30; // let said u want add 30 or other u like, u can change overhere. if zero means disable.
int TakeProfit = 30; // same on top...
At the OrderSend()function u had to add up somethings like this,
OrderSend(Symbol(),OP_SELL,volume,Bid,slippage,Bid+StopLoss*Point,
Bid-TakeProfit*Point,comment,magic,0,arrow_color); for sell order and
OrderSend(Symbol(),OP_BUY,volume,Ask,slippage,Ask-StopLoss*Point,
Ask+TakeProfit*Point,comment,magic,0,arrow_color);for buy orders
let do it yourself , hope u makeit.
Thanks. I give it a try.



3Likes
LinkBack URL
About LinkBacks






Reply With Quote
Please let me know and which broker you use it with normal-, mini- or microaccount?
, I'm from Belgium and I speak french]

Bookmarks