How to talk to Q
I have been using Q for a few months now, long enough to have taught myself a handful of habits. This is what I would say to someone opening that …
コンテンツへスキップ | メインメニューへ移動 | 検索に移動
Welcome to today’s blog post! We’re excited to dive into the new Is Greater/Is LowerAdaptive comparison block , an innovative extension of the previous range-based adaptive block. Additionally, we’ll introduce a powerful new indicator, Autocorrelation , now available on the StrategyQuant Sharing Server. To wrap up, we’ll share our vision for 2025, focusing on expanding the Strategy Client with custom snippets and enhanced functionality. Let’s get started!
その IsGreater Is/Lower Adaptive comparison block does one main thing: it checks if one indicator is greater than another, but only generates a signal if similar situations were profitable in the past.
This comparison block analyzes the entire length of the signal, from the moment it is generated until it is no longer valid. For example, if we analyze a signal where the RSI is greater than 50, this adaptive block evaluates signals where the RSI was above 50. This number of signals can be limited by settin Trades Look Back Situations where the RSI was below 50 are ignored, allowing the block to assess the overall quality of the signal.
The key difference between the Is Greater Adaptive Block / Is Lower Adaptive Block そして、 Crosses Above Adaptive / Crosses Below Block lies in their approach. The Is Greater Adaptive/ Is Lower Adaptive Blocks evaluates the entire signal duration, while the Crosses Above Adaptive /Crosses Below Adaptive Blocks analyzes events after a specific crossover within a defined number of bars.
その Is Greater Adaptive そして Is Lower Adaptive mechanisms follow a structured process to evaluate trade signals and adapt to market conditions. The process consists of four key steps:
The first step is identifying a basic Is Greater または Is Lower event. This occurs when one indicator crosses above or below another. Examples include:
These events serve as the initial signals to be evaluated further.
Once a crossover event is detected, the system evaluates its historical performance. It analyzes how similar signals have performed in past trades (X-trades). This step acts as a “backtest within a backtest,” helping to determine the potential reliability of the current signal based on historical data.
In the image above, we have a graphical representation of how signals are defined when using isGreaterAdaptive . A signal can be considered a situation where Close > Moving Average .
The system then compares the historical performance against user-defined metrics and thresholds. Traders can configure various evaluation criteria, such as:
These metrics ensure that only signals meeting the trader’s expectations are considered valid.
Finally, the system assesses whether the current market conditions resemble those in which the signal has historically performed well. If the conditions align and the metrics meet the specified thresholds (eg, a profit factor greater than 1.5), the trade is confirmed. Otherwise, the system refrains from entering a trade, reducing the likelihood of false signals.
This adaptive approach allows traders to leverage historical data and real-time market analysis to make more informed trading decisions.
その後、クロスオーバーのパフォーマンスがユーザー定義の閾値と比較されます。ユーザーは次のようなさまざまな評価指標を選択できます。
ブロックのインポート スニペットのインポート方法については、ドキュメントセクションをご覧ください。 ここ
ビルダー
ビルダーでは、「ビルダー / ブロック」からこのブロックを有効にできます。ブラインドデータマイニングを行う際は、方向性がなくシグナルの平均的な絶対的強度を計算する「平均パフォーマンス(Avg Performance)」指標の使用が推奨されます。設定における詳細度や具体性は、各ユーザーの判断に委ねられます。.
AlgoWizard – カスタムブロック
StrategyQuant Xのカスタムブロックを使用すれば、トレーダーはコーディングを行うことなく、自身の取引戦略に合わせた独自の構成要素を作成できます。これらのブロックを活用することで、ユーザーの要件に合わせた特定の条件、指標、またはロジックを定義することが可能です。 作成されたカスタムブロックは、StrategyQuantのビジュアル戦略ビルダーであるAlgoWizardにシームレスに統合され、複雑で適応性の高い取引戦略を構築することができます。.
カスタムブロックは、インジケーターの期間、プロフィットファクター、勝率などの主要な指標をパラメータ化できるようにすることで柔軟性を高め、戦略の挙動に対するより優れたコントロールを提供します。要するに、カスタムブロックはより正確で、動的で、洗練された
現在、この条件に基づいていくつかのカスタムブロックを用意しました。こちらからダウンロードできます リンク 以下の手順に従ってインポートします。.
AlgoWizard – テンプレート
これは、今後の記事でより詳しく解説する高度なトピックです。カスタムブロックとランダムグループを組み合わせることで、プロトタイプの戦略を作成し、特定のタイプの戦略を検索しつつその適応性を維持するようSQXに指示することができます。.
インジケーターは以下のプラットフォームに対応しています:MT4/MT5/Tradestation/ Multicharts。. You can download it ここ .
その 自己相関インジケーター 金融市場における繰り返しのパターンや循環的な挙動を特定するための、テクニカル分析で用いられる強力な統計ツールです。その機能、実装、および応用の概要は以下の通りです。.
自己相関は、時系列データとそのデータを一定期間(ラグ)ずらした自己との間の類似度を測定するものです。簡単に言えば、今日の価格変動が、過去の特定の期間の変動に関連しているかどうかを判断するものです。.
このインジケーターには、異なる市場シナリオに対応する3つのカスタムブロックが含まれています。
The Autocorrelation indicator provides valuable insights into market behavior but should always be used as part of a comprehensive trading strategy.
Indicator is implemented for: MT4/MT5/Tradestation/ Multicharts. You can download it ここ .
We have several exciting features planned for the upcoming year, including:
We’re committed to expanding the Strategy Client’s capabilities, offering tools that empower traders to navigate dynamic markets efficiently.
I have been using Q for a few months now, long enough to have taught myself a handful of habits. This is what I would say to someone opening that …
In the previous article Q built 201 breakout custom blocks for me in three and a half minutes. This is what I did with them the same day, and the …
Q, the AI assistant in StrategyQuant X, searched the web for breakout ideas and turned them into 201 custom blocks, the entry conditions and price levels that strategies are built …
Excellent article Ivan !!
Very interesting article. But I have 2 comments: 1) During the generation of strategies in SQX 141 and 142, the generation is interrupted due to errors: a) Error: java.lang.NullPointerException finished in 0.00 s. b) Error: com.strategyquant.tradinglib.strategy.xml.XmlStrategyException: cannot create strategy from XML! Error while parsing rule ‘Trading signals’ – Cannot find block ‘IsGreaterAdaptive’ at SQ.Internal.Rule.initialize(Rule.java:169) at SQ.Internal.Rule.newInstance(Rule.java:130) at SQ.Internal.StrategyEvent.parseXml(StrategyEvent.java:107) at SQ.Internal.StrategyEvent.<init>(StrategyEvent.java:58) at SQ.Internal.XmlStrategy.parseXml(XmlStrategy.java:264) at SQ.Internal.XmlStrategy.callOnIn finished in 0.00 s. and the generation must be restarted. 2) Why these blocks (including other scripts etc) are not automatically included in the new version of SQX. I’m tired of manually importing them again into… 続きを読む »