SmartDCA by TradeAkademi — Strategy by trade_akademi

By trade_akademi

Performance Metrics

Description

SmartDCA is a single-direction (Long or Short) step-based DCA strategy with adaptive take-profit and structured risk management.All core parameters are fully user-configurable. The strategy logic does not enforce a fixed trading style; behavior depends entirely on user-selected settings.General StructureThe strategy operates in one direction at a time (Long or Short).All position management logic is applied relative to the selected direction.The following components are fully controlled by the user:Trade direction (Long / Short)Entry modelEntry filtersTake-profit percentageDCA distance percentageTP/DCA increment scaling modeOrder size modelMaximum DCA stepsRisk management optionsExit model selectionThe strategy plan is visualized either across the entire chart history or within a user-defined custom backtest date range.Entry ConfigurationUsers can select the entry model:Structural breakoutRSI reversalTrend flipNone (manual disable)Optional entry filters refine signal selection based on:Reward spaceEntry qualityRSI extremityFair value (VWMA)Trend alignmentDCA & Position ScalingAfter initial entry:Additional DCA orders are triggered when price deviates from the average position price by the defined DCA percentage.DCA distance and take-profit levels expand step-by-step according to the selected scaling mode.Order size progression depends on the selected order size model.Maximum DCA steps define the upper exposure limit.This ensures the full theoretical risk is bounded and visible.Exit ModelsUsers can choose the exit behavior:Fixed take-profitStructure-based exitAdaptive FastAdaptive SlowProtect ProfitTrend EndedNoneAll exits are executed using market orders.Additional Risk ControlsOptional risk features include:DCA Compression (partial size reduction after recovery)Defensive Profit ExitTrend Soft Stop (breakeven protection after trend reversal)These mechanisms are configurable and do not override the predefined maximum DCA limit.Visualization & ReportingThe strategy provides:Active position trackingDCA step monitoringPosition notional transparencyTrend strength visualizationHistorical DCA performance summaryUsers may restrict execution to a custom backtest range or allow the strategy to operate across the full visible chart history.Risk DisclosureThe maximum DCA step defines the full predefined risk envelope.Strong and sustained one-directional trends may lead to full DCA utilization.The strategy does not attempt unlimited recovery.Users are responsible for configuring position sizing and DCA parameters relative to their capital.This script is for educational and analytical purposes only and does not constitute investment advice.Release NotesThe visual error in Protect Profit mode has been fixed.Release NotesAdded Micro Trend Exit model for low timeframes.

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView