- Domov
- Komunita
- Noví obchodníci
- 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?
Členom od May 11, 2011
7 príspevkov
May 19, 2011 at 15:03
Členom od May 11, 2011
7 príspevkov
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
Členom od Aug 06, 2011
326 príspevkov
Aug 09, 2011 at 21:58
Členom od Aug 06, 2011
326 príspevkov
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);

*Komerčné použitie a spam nebudú tolerované a môžu viesť k zrušeniu účtu.
Tip: Uverejnením adresy URL obrázku /služby YouTube sa automaticky vloží do vášho príspevku!
Tip: Zadajte znak @, aby ste automaticky vyplnili meno používateľa, ktorý sa zúčastňuje tejto diskusie.