StrategyQuant
Q AI AssistantAlgoCloudQuantAnalyzerQuantDataManager
Free CourseCompany
BlogDocumentationForumContact us
BlogMarketplace
Log in
Create free account

Product

  • Pricing & licenses
  • Learn
  • Marketplace
  • Start free trial

Legal

  • Terms of Service
  • Privacy Policy
  • Cookies

Contact

[email protected]

Company

StrategyQuant s.r.o.

Korunní 2569/108, Vinohrady, 101 00 Praha 10, Czech Republic, EU

IČ: 04000498

DIČ: CZ04000498

Social

  • Legal Notice | PROCESSING AND PROTECTION OF PERSONAL DATA

    Past performance is no guarantee of future success. All information should be viewed as educational only

    UNITED STATES Disclaimer required by Government - Commodity Futures Trading Commission informs: Futures and options trading have great potential rewards, but also great potential risk. You must be aware of the risks and be willing to accept them in order to invest in the futures and options markets. Don't trade with money you can't afford to lose. This is neither a solicitation nor an offer to buy/sell futures, shares or options on the same. No representation is being made that any account will or is likely to realise profits or losses similar to those discussed in this document. The past performance of any trading system or methodology is not necessarily indicative of future results.

    CFTC RULE 4.41 - HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. UNLIKE A RECORD OF ACTUAL PERFORMANCE, SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE TRADES WERE NOT EXECUTED, THE RESULTS MAY HAVE OFFSET THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED TRADING PROGRAMMES IN GENERAL ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO REALISE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN.

    NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL, OR IS LIKELY TO, REALISE PROFITS OR LOSSES SIMILAR TO THOSE DISCUSSED WITHIN THIS SITE. IF YOU DECIDE TO INVEST REAL MONEY, ALL TRADING DECISIONS IN THE FINANCIAL MARKETS SHOULD BE YOUR OWN.

    © StrategyQuant 2026

    Powered by Klaudie.ai

    Back to marketplaceDIGITAL

    Trend Filters Random Groups

    StrategyQuantRandom Groups
    Trend Filters Random Groups

    Two random groups for the StrategyQuant X AlgoWizard and Builder: 4 long and 4 mirrored short trend conditions (close above or below an EMA, EMA and HMA rising or falling, DI+ above or below DI-), with random periods. Bind a random condition placeholder of a template to a group, and the Builder draws only from these trend filters.

    Trend Filters Random Groups

    Two random groups for the StrategyQuant X AlgoWizard and Builder: 4 long and 4 mirrored short trend conditions (close above or below an EMA, EMA and HMA rising or falling, DI+ above or below DI-), with random periods. Bind a random condition placeholder of a template to a group, and the Builder draws only from these trend filters.


    Included groups and conditions

    Group | Condition | Block
    Trend Filters Long | Close above EMA | MABarClosesAbove
    Trend Filters Long | EMA rising | MARising
    Trend Filters Long | HMA rising | HMARising
    Trend Filters Long | DI+ above DI- | DIPlusHigher
    Trend Filters Short | Close below EMA | MABarClosesBelow
    Trend Filters Short | EMA falling | MAFalling
    Trend Filters Short | HMA falling | HMAFalling
    Trend Filters Short | DI+ below DI- | DIPlusLower


    How to use

    1. Install the package (Marketplace in StrategyQuant X); the XML and a README land in extend/Sources.
    2. AlgoWizard > Customize > Random block groups: import the XML.
    3. In your template, open a RandomCondition placeholder and select "Trend Filters Long" in its Random group field; for the short side select "Trend Filters Short" or add a NegatedCondition placeholder.


    Tested

    Tested in StrategyQuant X 145.3205: the groups import correctly.


    Requirements

    StrategyQuant X 145.3205 or newer.


    Important notes

    • Periods are random: EMA and HMA 20 to 200 in steps of 10, DI 7 to 50. The moving-average method (EMA), the price (close), the chart and the shift (1) are fixed. Edit the group in AlgoWizard to change the ranges.
    • A random placeholder draws one condition from its group. To trade both directions, either bind the short placeholder to "Trend Filters Short" or add a NegatedCondition placeholder next to the long one; the second way mirrors the drawn long condition exactly, the first way draws the short condition independently.
    • When you bind a group in a template, StrategyQuant X stores a copy of the group in that template; the Builder reads the group from the template, not from your group file.
    • The XML is imported through AlgoWizard; a group with the same id or name may be replaced or duplicated, check the Random block groups list after the import.
    • These are building blocks for templates, not strategies.

    Past performance is no guarantee of future success. All information should be viewed as educational only UNITED STATES Disclaimer required by Government - Commodity Futures Trading Commission informs: Futures and options trading have great potential rewards, but also great potential risk. You must be aware of the risks and be willing to accept them in order to invest in the futures and options markets. Don't trade with money you can't afford to lose. This is neither a solicitation nor an offer to buy/sell futures, shares or options on the same. No representation is being made that any account will or is likely to realise profits or losses similar to those discussed in this document. The past performance of any trading system or methodology is not necessarily indicative of future results. CFTC RULE 4.41 - HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. UNLIKE A RECORD OF ACTUAL PERFORMANCE, SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE TRADES WERE NOT EXECUTED, THE RESULTS MAY HAVE OFFSET THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED TRADING PROGRAMMES IN GENERAL ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO REALISE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL, OR IS LIKELY TO, REALISE PROFITS OR LOSSES SIMILAR TO THOSE DISCUSSED WITHIN THIS SITE. IF YOU DECIDE TO INVEST REAL MONEY, ALL TRADING DECISIONS IN THE FINANCIAL MARKETS SHOULD BE YOUR OWN.
    Free1 download

    Files

    • RandomGroups-TrendFilters.sqm2 KBLocked

    Download unlocks after purchase or with an active tier.

    Details
    Version1.0.0
    PublishedOctober 26, 2026
    Last updatedNovember 2, 2026
    AppSQ
    TypeRandom group
    AuthorStrategyQuant
    Groups2
    Conditions8
    Group typeCondition
    App version145.3205