読み取り専用

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

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

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

ご参加ください Discord YouTube

SMAの上/下の閉関数をx回最適化する

2件の返信

しきい値

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

プロフィールを表示

10年前 #115340

I am making an EA that looks for X number of consecutive closes above/below an SMA.

The only way I know how to do this is:
close [step1]> sma[step1]
close [step2]> sma[step2]
close [step3]> sma[step3]
close [step4]> sma[step4]
close [step5]> sma[step5]

etc…. but this is not optimizable. Is there another way of doing this so I can optimize X number of consecutive closes above/below the SMA?
 

0

Tomas Matejka

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

プロフィールを表示

10年前 #138284

こんにちは,

 

yes, it can be done by using counter. See the example attached

0

しきい値

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

プロフィールを表示

10年前 #138286

Nice, this opens a lot of options up for me. Can see this being used in so many ways.

ありがとう、トーマス。.

0

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