Skip to content
Python backtesting
Sponsored by
Pineify
AI Trading Toolkit
↗
Initializing search
OpenBacktesting
lucidcog/openbacktesting
Start here
Start here
Your first backtest
Examples
Scope and limitations
Studio
Studio
Install and launch
Choose your workspace
Run your first strategy
Read charts and results
Edit code and parameters
Inspect logs
Compare parameters
Save, share, and reopen
Troubleshooting
Guides
Guides
Writing strategies
Market data
Trading rules
Indicators
Strategy inputs
Running strategies
Reading results
Parameter experiments
Plotting data
API reference
API reference
Backtest
Strategy
Data and instruments
Orders, positions, and trades
Accounts and events
Indicator API
Inputs
Runtime
Helpers
Portfolio
Optimizer
Plotting
Plotting
Table of contents
Declare and export visuals
Select a drawing method
Colors and limits
Plotting
Plotting.fill
Plotting.histogram
Plotting.level
Plotting.line
Plotting.marker
Plotting.pane
Plotting.bg_color
Plotting.bar_color
export_result
Returned drawing references
PaneRef
PlotRef
FillRef
MarkerRef
PlottingLimits
PlottingError
Colors
Indicators
Indicators
Candles and patterns
Candles and patterns
cdl_doji
cdl_engulfing
cdl_eveningstar
cdl_hammer
cdl_harami
cdl_inside
cdl_marubozu
cdl_morningstar
cdl_shootingstar
cdl_z
ha
Cycles
Cycles
dsp
ebsw
ht_dcperiod
ht_dcphase
ht_phasor
ht_sine
ht_trendmode
msw
Momentum
Momentum
ac
ao
apo
bias
bop
brar
cci
cfo
cg
cmo
coppock
crsi
cti
dm
er
eri
fisher
fosc
gator
ibs
inertia
kdj
kst
lrsi
macd
macdext
macdfix
mom
pgo
pmo
po
ppo
psl
pvo
qqe
rci
rmi
roc
rocp
rocr
rocr100
rsi
rsx
rvgi
slope
smc_sweep
smi
smi_stochastic
squeeze
squeeze_pro
stc
stoch
stochf
stochrsi
td_seq
trix
trixh
tsi
uo
vwmacd
wavetrend
willr
Moving averages and prices
Moving averages and prices
alligator
alma
anchored_vwap
anchored_vwap_bands
avgprice
dema
ema
frama
fwma
hilo
hl2
hlc3
hma
ht_trendline
hwma
ichimoku
jma
kama
linreg
linregangle
linregintercept
linregslope
ma
ma_envelopes
mama
mavp
mcgd
medprice
midpoint
midprice
mmar
ohlc4
pwma
rainbow
rma
sinwma
sma