- Início
- Comunidade
- Traders Iniciantes
- Using RSI MA Lordorly V1.02 - goes well, but how to change t...
Advertisement
Edit Your Comment
Using RSI MA Lordorly V1.02 - goes well, but how to change take profit?
Membro Desde May 11, 2011
7 postagens
May 19, 2011 at 15:03
Membro Desde May 11, 2011
7 postagens
Hi,
This EA seems to be performing very good and gets the open trades to nice profit very quickly. However, it's really slow on closing them and often seems to be loosing some of its earned profit... Where can I change it so that it takes profit on every open trade at 15-20 pips or so?
Thanks.
George
This EA seems to be performing very good and gets the open trades to nice profit very quickly. However, it's really slow on closing them and often seems to be loosing some of its earned profit... Where can I change it so that it takes profit on every open trade at 15-20 pips or so?
Thanks.
George

forex_trader_43716
Membro Desde Aug 06, 2011
326 postagens
Aug 09, 2011 at 21:58
Membro Desde Aug 06, 2011
326 postagens
Set a Takeprofit of 15-20 pips within the OrderSend function (second 0 after slippage):
Double SL = 20*Point;
Ticket = OrderSend(Symbol(), OP_BUY, Lots, Ask, Slippage, 0, SL, "Buy(#" + MagicNumber + ")", MagicNumber, 0, DodgerBlue);
Double SL = 20*Point;
Ticket = OrderSend(Symbol(), OP_BUY, Lots, Ask, Slippage, 0, SL, "Buy(#" + MagicNumber + ")", MagicNumber, 0, DodgerBlue);

*Não serão tolerados uso comercial ou spam. O não cumprimento desta regra poderá resultar na exclusão da conta.
Dica: Ao adicionar uma URL de imagem/youtube, você estará automaticamente incorporando-a à sua postagem!
Dica: Digite o símbolo @ para que o nome de um usuário que participe desta discussão seja completado automaticamente.