読み取り専用

フォーラムは現在、読み取り専用のアーカイブとなっています。.

バグ報告やプラットフォームに関する質問はこちら → [email protected]

私たちのコミュニティはDiscordとYouTubeで活動しています。ぜひ参加してください!

ご参加ください Discord YouTube

部分閉鎖

4件の返信

自分自身

登録者、bbp_participant、コミュニティ、4件の返信.

プロフィールを表示

13年前 #111568

I need to know how to take a partial position off. There is a Close position partially, however, how do I apply this my parameters. I need to close part when a portion of my profits reach a certain ATR multiplier.

Layne

0

マーク・フリック

管理者、sq-ultimate、2件の返信.

プロフィールを表示

13年前 #122681

こんにちは,

 

the key is to create a rule that will check when profit reached the given ATR multiplied value.

You can do for example it by condition: ConvertPLToRealPips( Open P/L(..) ) > (1.5 * ATR(14))

This wil be true if open P/L of given order is bigger than 1.5 * ATR(14).

 

As the action you can then add Close Position Partially(…)

when you’ll specify the amount of the order to be closed.

 

マーク

マーク
StrategyQuantアーキテクト

0

自分自身

登録者、bbp_participant、コミュニティ、4件の返信.

プロフィールを表示

13年前 #122720

ありがとうマーク

I was attempting to do just that but in a different manner. I will implement your suggested method and report back to the forum.

Layne

0

自分自身

登録者、bbp_participant、コミュニティ、4件の返信.

プロフィールを表示

13年前 #122843

こんにちは,

 

the key is to create a rule that will check when profit reached the given ATR multiplied value.

You can do for example it by condition: ConvertPLToRealPips( Open P/L(..) ) > (1.5 * ATR(14))

This wil be true if open P/L of given order is bigger than 1.5 * ATR(14).

 

As the action you can then add Close Position Partially(…)

when you’ll specify the amount of the order to be closed.

 

マーク

マーク、,

I’ve been working on this for some time thinking I could get it. I get it to the point where it actually takes off the required position size. However, then on the next candle open it takes of the same percentage again of the remaining lots. It does this continually until the broker doesn’t allow any more reduction in lot size or the bar is not in profit anymore.

I would like to scale out in one or two steps and let the remaining position size run to the TP or my trailing stop.

Layne

0

ssdex

カスタマー、bbp_participant、コミュニティ、99件の返信。.

プロフィールを表示

11年前 #130350

Layne:

 

I figured out why it just closes out the whole order. The script continues to look at the Rule and if there isn’t something there to tell it not to continue to do the Partial Close it will continue until the whole order is closed.

 

I put a line—current position size = (the first lot size) 

 

This fixed it for me at the moment. 

 

Hope it helps you figure out what is wrong on your end.

 

がんばって,

 

ジェームズ

0

4件の返信を表示中 - 1 - 4件目 (全4件中)