TWaveStrategy Settings

SwingLength (int)

Number of bars to define swing points. Lower values make it more responsive.

Group: Algo settings
Default: 2
Range: 2–3

IsInBackTestMode (boolean)

Enable this in backtest mode to fine tune configurations. DO NOT use this for realtime charts

Group: Algo settings
Default: false

StopLossUSD (double)

Fixed dollar risk per trade when StopLossOption is set to FixedDollar.

Group: Stop Loss
Default: 100

StopLossOption (enum (FixedDollar | RecentPivot))

Choose between fixed dollar stop or dynamic swing-based stop.

Group: Stop Loss
Default: FixedDollar

StopLossThresholdTicks (double)

Buffer in ticks added to swing-based stops.

Group: Parameters
Default: 0

EntryThresholdTicks (double)

Max distance from swing to allow entry. Prevents chasing.

Group: Parameters
Default: 60

TrailStopThresholdTicks (double)

Tick buffer from the latest SBar to trail stops.

Group: Parameters
Default: 0

TakeProfitUSD (double)

Target profit per trade in USD if using fixed profit mode.

Group: Exit Order
Default: 300

TakeProfitOption (enum (FixedProfit | SBarTrailingStop))

Choose between a fixed profit or trailing stop using SBars.

Group: Exit Order
Default: FixedProfit

AtrPeriod (int)

ATR period for calculating volatility-based significant bars.

Group: Exit Order
Default: 14

SBarMultiplier (double)

Multiplier for ATR to determine significance of SBars.

Group: Exit Order
Default: 1.25

TelegramChatId (string)

Sends log messages to this Telegram chat ID via TBChart logging server.

Group: Logging