</> Codebase - Columns
StrategyQuant X platform codebase – a place to share coded customizations and extensions – among all users.
Columns
Batch Auto Rename
A StrategyQuant X plugin that adds a single-click Auto Rename button to every databank toolbar. The plugin prompts you for a trading style(can be any suffix) and renames selected strategies using the format: TradingStyle_Ticker_Timeframe_001 For example: Breakout_SP500_H4_001, Mean_Reversion_SP500_H4_002, Momentum_EURUSD_H1_001
Columns > Databank / Filter
AvgNetProfit%PerBar
I give you an example of use followed by a question ???? : (A) Imagine you get 6% profit on 20 Days (or bars) or (B) Imagine you get 5%
JeanJean
Columns > Databank / Filter
Samuel’s (Timothy Masters) Internal Profit Factor
This powerful profit factor punishes strategies for intratrade drawdown. You can read more about it here. It’s based on this implementation from clonex which had two shortcomings I tried to
profit factor
internal profit factor
Columns
Avg. Stagnation
I modified the original Stagnation code to use an average stagnation (daily basis) as the metric, for 2 reasons: 1. To know on average how many days before a new
Columns > Databank / Filter
K-Ratio
The K-ratio is a statistical metric that measures the growth of return and the consistency of that growth over a specified period. It takes into account both the returns themselves and the order of those returns.
Columns > Databank / Filter
Normalized Profit Factor
Here my first share. Seen it and coded from the article here : mastering-the-art-of-trading-metrics-an-interview-with-bozhidar-bozhkov-on-normalised-profit-factor Summary : 1. It works even when profits or losses are zero. 2. It gives a
Normalized Profit Factor
Columns > Databank / Filter
Number of trades from WF Matrix
This Java snippet adds a new databank column functionality and allows you to calculate the number of trades of all combinations of a WF Matrix.
databank
columns
WF matrix
Columns > Databank / Filter
Return / Max Drawdown (Max Intraday Drawdown or Trade Drawdown)
This new code chooses the greater Drawdown (Max Intraday Drawdown or Trade Drawdown).
Columns > Databank / Filter
Symmetrical Profit Factor and Score
A four decimal profit factor that can be summed or averaged properly with a zero baseline.
profit factor
Columns
Strategy Metrics Out Of Sample / In The sample Ratios
Strategy Metrics Out Of Sample / In The sample Ratios
oosisratio
oos
is
out of smaple
in the sample
