Summary of the Issue:
When attempting to remove dynamic or percentage-based money management from the generated trading strategy in StrategyQuant Builder, the system automatically reverts to the default setting of "Fixed size, 0.1 lots" for the #MoneyManagement section, instead of allowing full deletion or omission. This behavior prevents users from generating a strategy file that contains no money management settings or leaves position sizing for manual management.
**Details:**
- The original strategy used “Risk fixed % balance” money management.
- The request was to “delete the money management,” expecting the #MoneyManagement section to be removed or not included at all.
- Instead, the builder replaced the dynamic method with the default "Fixed size, 0.1 lots" method automatically.
**Problems Encountered:**
- There is currently no way to generate a strategy without any money management section, as one is always imposed.
- This limits the flexibility of users who wish to manage position sizing externally or through other means.
- It may also cause confusion if users expect the tool to allow a "no money management" option.
**Feedback & Suggestions:**
- Please add the ability to fully omit or remove the #MoneyManagement section when requested by the user, instead of defaulting perpetually to "Fixed size."
- Consider introducing an explicit “None” or “External” option for Money Management for advanced users.
- Clarify in documentation or in the builder interface that at least one money management method is always required, or provide a warning if none is allowed.
**Impact:** This limitation reduces the usability of the strategy builder for advanced users and can lead to unintended risk settings or deployment problems.
**Request:** Please review this logic and provide a fix or alternative to allow users to exclude money management settings as needed.
---
pseudocode
#Strategy Name = Multi-Indicator Hard Voting Forex Strategy Type = MetaTrader Symbol = GBPUSD Timeframe = H4
#StrategyCharts Main chart = GBPUSD / H4
#MoneyManagement Method = Fixed size, 0.1 lots Initial Capital = 10000
#Variables StopLossCandles = 5
#Signals [Signals, OnBarUpdate, OnBarOpen] -------------------- LongEntrySignal = ( ( (Close[1] CrossesAbove BollingerBands(20, 2, Lower)[1]) + (Stochastic(14, 3, 3, Simple, Low/High, Fast %K)[1] CrossesAbove 20) + (BullsPower(13)[1] > 0) + (HeikenAshi(HAClose)[1] > HeikenAshi(HAOpen)[1]) + (BearsPower(13)[1] < 0) ) >= 3 ) ShortEntrySignal = ( ( (Close[1] CrossesBelow BollingerBands(20, 2, Upper)[1]) + (Stochastic(14, 3, 3, Simple, Low/High, Fast %K)[1] CrossesBelow 80) + (BearsPower(13)[1] > 0) + (HeikenAshi(HAClose)[1] < HeikenAshi(HAOpen)[1]) + (BullsPower(13)[1] < 0) ) >= 3 )
#Long [If-Then, OnBarUpdate, OnBarOpen] --------------------
#If Condition = LongEntrySignal
#Then
#ClosePosition Direction = Short
#EnterAtMarket Direction = Long Stop Loss = Lowest(Low, 5)[1] Profit Target = 2x(LatestEntryPrice[1] - Lowest(Low, 5)[1]) Trailing Stop = 450 points TS Activation Level = 700 points
#Short [If-Then, OnBarUpdate, OnBarOpen] --------------------
#If Condition = ShortEntrySignal
#Then
#ClosePosition Direction = Long
#EnterAtMarket Direction = Short Stop Loss = Highest(High, 5)[1] Profit Target = 2x(Highest(High, 5)[1] - LatestEntryPrice[1]) Trailing Stop = 450 points TS Activation Level = 700 points
#Description This strategy trades the 4-hour chart using a confluence of five technical indicators for high-confidence trade entries. A hard-voting system requires at least 3 of 5 "voters” (Bollinger Bands(20,2), Stochastic(14,3,3), Bulls Power(13), Bears Power(13), Heiken Ashi candles) to generate the appropriate bullish or bearish signals before allowing a trade. For long entries, signals include price reversals from the lower Bollinger Band, Stochastic crossing up from oversold, Bulls Power positive, Heiken Ashi turning green, or Bears Power negative. For short entries, signals are triggered by reversals from the upper Bollinger Band, Stochastic crossing down from overbought, Bears Power positive, Heiken Ashi turning red, or Bulls Power negative. The strategy uses a fixed position size. Stop loss for longs is just below the lowest low of the past 5 candles; shorts above the highest high. The take profit is 2x this SL distance for a 2:1 RR. Optional trailing stop of 450 points is activated upon 700 points of profit. The strategy is applicable to all major/minor pairs as listed, enabling portfolio-level diversification.
Please authenticate to join the conversation.
In Review
AI Demo
11 months ago

joeleong817
Get notified by email when there are changes.
In Review
AI Demo
11 months ago

joeleong817
Get notified by email when there are changes.