読み取り専用

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

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

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

ご参加ください Discord YouTube

Closing Order when price didn’t move forward after some bars

3件の返信

コンマリン

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

プロフィールを表示

7年前 #237151

こんにちは、,

I want to close an order after x bars when price is not moving in my direction for example when a trend reversal occurs. How can I achieve it in an EA? Is that possible? Any Ideas?

Thanks 🙂

 

 

エキスパートアドバイザーによる自動取引
https://www.rabenesche.de

また、以下の分野でも活動しています:
https://forums.babypips.com/u/ravenash

0

コンマリン

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

プロフィールを表示

7年前 #237152

I forgot I know how to close after x bars. I want to know how to Code that the ea is realizing that its not going anymore in the opened direction.

エキスパートアドバイザーによる自動取引
https://www.rabenesche.de

また、以下の分野でも活動しています:
https://forums.babypips.com/u/ravenash

0

イリヤ

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

プロフィールを表示

7年前 #237157

こんにちは、,

First of all, for me, that is what an SL is for. if you base it on ATR, that could give your EA a good idea that you’re wrong with your assumption and the need to exit a trade is present.

But if you want a specific exit rule that contains “IF x bars has passed after order opened AND Another-Condition THEN close order ” that would depend on the trading strategy you are trying to code, and what would be an indication of “going the wrong way” or a “reversal” for you.

For example, maybe you want to use Fibonacci levels (38.2%, 50.0% and 61.8% ) to determine a bar closed beyond/above them which means reversal probability for you? Maybe pivot points is best for that assumption? maybe candlestick patterns? (Though IMO they’re useless).

So have your strategy in mind, and you can code it..

イリヤ

 

 

0

Tomas Matejka

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

プロフィールを表示

7年前 #237177

As Ilya mentioned the simplest solution is usually the best – meaning use a simple stop-loss

Another option would be to combine Open P/L < 0 & Bars Since Order Open > X => close a position

Let me know if you need any help with the setup

0

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