読み取り専用

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

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

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

ご参加ください Discord YouTube

Close my longs when either crossover MA or ADR14 daily value hit

4件の返信

IvanD1983

サブスクライバー、bpb_participant、コミュニティ、46件の回答。.

プロフィールを表示

9年前 #117031

こんにちは、,

 

I’d like to exit my longs only if in profits and under the following conditions:

 

Either a crossover of the moving average occurs (already got that one right) or price hits the ATR14 for the day (I am struggling on how to give this order).

 

Could you please provide assistance?

 

Find my screenshot. 

 

よろしくお願いします。. 

ファイル 1.png1.png

0

Tomas Matejka

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

プロフィールを表示

9年前 #143353

こんにちは,

 

you can use BarRange as you showed in your previous topic. If BarRange[1] >= ATR(14) – Exit position

0

IvanD1983

サブスクライバー、bpb_participant、コミュニティ、46件の回答。.

プロフィールを表示

9年前 #143367

トーマス、,

 

BarRange[1] only looks at size of bar from high to low. 

 

What I need is the following:

 

When I am long, I will exit either when I get Xover of MAs against my position (this part is easy)

 

または

 

If the Daily ATR14 (expected range for the day) is hit.

 

ご覧ください image for a graphical illustration.  

ファイル 1.png1.png

0

Tomas Matejka

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

プロフィールを表示

9年前 #143449

こんにちは,

 

you could setup the condition for exit as shown in the example attached.

 

BarRange can be used for that too.

0

IvanD1983

サブスクライバー、bpb_participant、コミュニティ、46件の回答。.

プロフィールを表示

9年前 #143454

Great. I made the changes.

 

I understand that since the bar range is still the current day’s one, that’s why Shift is 0…

 

ありがとう。.

0

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