#Thinkorswim studies #Рисует линии вчерашних Hi, Low, Close, Open и сегодняшнего Open на графике. #Thinkorswim https://RadchenkoVY.com/TOS input sPeroid = {default DAY, WEEK, MONTH}; input iHigh = {default "yes", "no"}; input iLow = {default "yes", "no"}; input iClose = {default "yes", "no"}; input iOpen = {default "yes", "no"}; input iTodayOpen = {default "yes", "no"}; plot pHigh = if !iHigh then high(period = sPeroid)[1] else Double.NaN; plot pLow = if !iLow then low(period = sPeroid)[1] else Double.NaN; plot pClose = if !iClose then close(period = sPeroid)[1] else Double.NaN; plot pOpen = if !iOpen then open(period = sPeroid)[1] else Double.NaN; plot pTodayOpen = if !iTodayOpen then open(period = sPeroid)[0] else Double.NaN; pHigh.SetDefaultColor (Color.GREEN); pHigh.SetPaintingStrategy(PaintingStrategy.DASHES); pLow.SetDefaultColor(Color.RED); pLow.SetPaintingStrategy(PaintingStrategy.DASHES); pClose.SetDefaultColor (Color.GRAY); pClose.SetPaintingStrategy(PaintingStrategy.DASHES); pOpen.SetDefaultColor (Color.WHITE); pOpen.SetPaintingStrategy(PaintingStrategy.DASHES); pTodayOpen.SetDefaultColor (Color.WHITE); pTodayOpen.SetPaintingStrategy(PaintingStrategy.DASHES);;