An age-old trading problem to solve

BellaGeneral Comments

There is a trading problem traders sought to solve when I started trading. (We don’t have to mention when that was if that is okay with you). There is a trading problem new traders needed to solve when we started our firm in 2005. There is a trading problem some new traders on our desk need to solve today. In … Read More

Garrett’s Extended Hours % AVOL Indicator for thinkorswim

smbcapitalGeneral Comments

Garrett’s Extended Hours % AVOL Indicator for thinkorswim ### inputs ### input AVOL_length = 21; input subtractFirstBarVolume = yes; ### daily AVOL ### def daily_volume = volume(period = AggregationPeriod.DAY); def AVOL = Average(daily_volume[1], AVOL_length); # AfterHours Volume def ah = getTime() > regularTradingEnd(getYYYYMMDD()); def firstAHVolume = if ah and !ah[1] then volume else firstAHVolume[1]; def ahVol = if ah and … Read More