読み取り専用

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

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

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

ご参加ください Discord YouTube

New Rules ignoring old rules

3件の返信

force199

購読者、bbp_participant、コミュニティ、11件の返信。.

プロフィールを表示

11年前 #112849

こんにちは、,

 

I tend to find that whenever I create a new rule, the EA seems to ignore the old rule. Why is that?

 

EG If I set…

 

Rule 1 to: Bid > SMA 80 on Daily chart

Rule 2 to: Close > SMA 80 on 4 hour chart

Rule 3 to Bid crosses above SMA on 1 hour chart

 

And then I have place holders of “Do Nothing” on Rules 1 and 2, then “Enter at Stop” on Rule 3, I find that in practice the EA has ignored rules 1 and 2, and is executing trades based on Rule 3 only.

 

That is not good. What am I doing wrong?

 

 

0

マーク・フリック

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

プロフィールを表示

11年前 #127354

if I understand it right you want to make ti evaluate all three rules to make action in rule 3.

 

This is not how it works, each rule is independent. 

 

You should define all your three conditions in one rule – you can have multiple conditions in the IF section.

マーク
StrategyQuantアーキテクト

0

force199

購読者、bbp_participant、コミュニティ、11件の返信。.

プロフィールを表示

11年前 #127387

Thanks Mark, the system wasn’t working when I had all three rules in one IF section, but I had another look at it today and I think its the confusion between pips and real pips and when to use 20 or 0.0020 that have messed me up. So I’m going to have another long look to fix it.

 

Incidentally, if I only want the first rule to trigger one trade, I assume on the second rule I identify that trade and select “DO NOTHING” on the THEN action, since there is not a “DON’T OPEN ANY MORE TRADES” option.

0

マーク・フリック

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

プロフィールを表示

11年前 #127465

if you don’t want to use second rule at all then you can delete it.

If you want to use multiple rules to open trades at different circumstances then you can use controls from Strategy Control, such as 市場での地位 または Order Opened This Bar

マーク
StrategyQuantアーキテクト

0

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