読み取り専用

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

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

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

ご参加ください Discord YouTube

カウント関数

2件の返信

サイモンO

Subscriber, bbp_participant, customer, community, 14 replies.

プロフィールを表示

5年前 #274087

こんにちは,

I would like to request, if possible, a count function, that could count for how many bars a certain condition is true, so that we can store that info into a variable. For instance, how many bars a condition C1>C2 is true over last n-bars(period).
I am using algowizard inside of strategyquantX if that is of relevance.

SqX is a wonderful tool, well worth the money and I think, that such a count function would enable even more possibilities.

ありがとうございます。.

0

Tomas Matejka

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

プロフィールを表示

5年前 #274121

こんにちは,

you can simply setup a counter that will be increased by +1 with each time the condition is valid.

You also setup another condition that negates this and reset counter to 0.

You can then setup a condition like : if ‘counter’ > 20 then: buy / sell for example

0

サイモンO

Subscriber, bbp_participant, customer, community, 14 replies.

プロフィールを表示

5年前 #274147

Thank you, but I tried that already when I read about similiar problems on this forum. My problem is however not solvable like that. I honestly believe that a simple implementation of a count function such as in easylanguage, would greatly improve strategy building for price action strategies.

 

 

0

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