読み取り専用

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

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

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

ご参加ください Discord YouTube

EA内の悪循環

1件の返信

TJ#

Customer, bbp_participant, community, 143件の返信。.

プロフィールを表示

11年前 #112841

管理者様,

 

I have an testing EA that is working fine but occasionally it will end up in a rabbit hole(vicious loop) that cause huge losses on backtest. 

 

Is there any way to stop participating a trade after 2 consecutive losses within the a candle,  a period a time? Also, how would you exit the EA from this loop?  

 

Thank you. 🙂

 

よろしくお願いいたします。,

 

TJ

ファイル loop.pngloop.png

0

マーク・フリック

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

プロフィールを表示

11年前 #127372

you can use Strategy Control -> Total Losses to count total losses in the last X trades, but there’s no function to give you total losses in some time period.

 

It would have to be done by a custom programming by creating a custom function for that.

 

But you can maybe create some conditions by combining Total Losses with another function Bars Since Order Closed which returns number of bars since the last trade closed.

マーク
StrategyQuantアーキテクト

0

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