Countertrade after half SL
4件の返信
こんにちは 🙂
I want to open in this case a short countertrade when the Long SL is half reached. Is this correct?
ありがとうございます!
エキスパートアドバイザーによる自動取引
https://www.rabenesche.de
また、以下の分野でも活動しています:
https://forums.babypips.com/u/ravenash
0
こんにちは,
instead of Order SL you can do: Open PL (in pips) <= SL pips / -2
0
こんにちは、トーマス,
where do I find SL pips? Can’t find it in strategy control. And EA Wizard says -2 is not allowed as parameter
エキスパートアドバイザーによる自動取引
https://www.rabenesche.de
また、以下の分野でも活動しています:
https://forums.babypips.com/u/ravenash
0
こんにちは,
I suppose SL Pips is your stop-loss defined size as a strategy input. You simply divide (use the division) by -2 (minus 2)
0
I’m sorry for coming back so late. Busy week. 😉
You can’t take a value -2 in EA Wizard. It’s not allowed. But you can do it in Meta Editor and compilation seems fine.
I solved it with a custom function in EA Wizard: Open P/L (MagicLong) <= Custom Function: sqSafeDivide(sqGetOrderStopLoss(MagicLong), -2)
エキスパートアドバイザーによる自動取引
https://www.rabenesche.de
また、以下の分野でも活動しています:
https://forums.babypips.com/u/ravenash
0
4件の返信を表示中 - 1 - 4件目 (全4件中)