I have watched a couple videos of people using a system they call the 3 Bar Play. They used it with day trading, but I want to use it with closing prices. However, the video never really gets into the nitty gritty of exactly how the numbers work. Does anyone know it well enough to help me out? This is what I have so far, and I just guessed on some of the calculations averageHigh = round(sum(allItems[-23:-3].High) / len(allItems[-23:-3].High),2) averageLow = round(sum(allItems[-23:-3].Low) / len(allItems[-23:-3].Low),2) averageCandleLength = averageHigh - averageLow segment = allItems[-3:] segVolume = segment.Volume segOpen = segment.Open segClose = segment.Close segHigh = segment.High segLow = segment.Low candleOpen1 = segOpen[0] candleClose1 = segClose[0] candleHigh1 = segHigh[0] candleLow1 = segLow[0] candleVol1 = segVolume[0] candleLength1 = candleHigh1 - candleLow1 candleOpen2 = segOpen[1] candleClose2 = segClose[1] candleHigh2 = segHigh[1] candleLow2 = segLow[1] candleVol2 = segVolume[1] candleLength2 = candleHigh2 - candleLow2 candleOpen3 = segOpen[2] candleClose3 = segClose[2] candleHigh3 = segHigh[2] candleLow3 = segLow[2] candleVol3 = segVolume[2] candleLength3 = candleHigh3 - candleLow3 # Conditions firstCandleLarge = candleLength1>(averageCandleLength*2) secondCandleLowFits = candleLow2 > (candleLow1+(candleLength1/2)) secondCandleHighFits = candleHigh2 <= (candleHigh1+(candleHigh1*.10)) thirdCandleBreaks = candleHigh3 > candleHigh2 bar3ClosedHigher = candleClose3 > candleOpen3 if(firstCandleLarge and secondCandleLowFits and secondCandleHighFits and thirdCandleBreaks and bar3ClosedHigher): print(sym) print(" ")