読み取り専用

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

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

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

ご参加ください Discord YouTube

数学

1件の返信

しきい値

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

プロフィールを表示

12年前 #112155

Any way to simply this into an equation?

ATR(10)[1]<ATR(10)[2]

and ATR(10)[1]<ATR(10)[3]
and ATR(10)[1]<ATR(10)[4]

and ATR(10)[1]<ATR(10)[5]

and ATR(10)[1]<ATR(10)[6]

and ATR(10)[1]<ATR(10)[7]

and ATR(10)[1]<ATR(10)[8]

and ATR(10)[1]<ATR(10)[9]

and ATR(10)[1]<ATR(10)[10]

and ATR(10)[1]<ATR(10)[11]

…….

…….

……

and ATR(10)[1]<ATR(10)[99]

and ATR(10)[1]<ATR(10)[100]

 

0

マーク・フリック

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

プロフィールを表示

12年前 #124517

there is a way with a little programing. the best way would be to create a custom function

 

bool checkATRCondition() {
   for(int i=2; i<100; i++) {
      if(iATR(NULL, 0, 10, 1) >= iATR(NULL, 0, 10, 2)) {
         return(false);
      }
   }  
   
   return(true);
}
 
in EA Wizard/code/CustomFuncitons.mq4
and then use it in your EAW rule as CustomFunction: checkATRCondition() is True

マーク
StrategyQuantアーキテクト

0

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