11/1/2023 0 Comments Inside bar indicator thinkorswimUpdated script ( need help)ĭef l = If (hi >= hi and lo lo) Hg2.SetPaintingStrategy(PaintingStrategy.BOOLEAN_wedge_up) Īssert(bodyFactor >= 0, "'body factor' must not be negative: " + bodyFactor) Īssert(shadowFactor >= 0, "'shadow factor' must not be negative: " + shadowFactor) ĭef AverageBodyHeight = Average(BodyHeight, length) ĭef ErrMargin = 0.05 * AverageBodyHeight ĭef IsShort = BodyHeight shadowFactor * BodyHeight īullish.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP) #// This package features BB (with 20 ma), inside bar color change (white), outside bar color change (black), and holy grail 2-candle pattern background higlhlight (yellow)ĭef lastbar = !isnan(close) and isnan(close) ĭef mult2 = if mult > 50 then 50 else if mult low and high high ĭef holyGrail = low high and low > low and high < high Īddchartbubble(inbar, (high * (1 + bubble_ht_offset)), "IB", color.yellow, yes) Īddchartbubble(outbar, (low * (1 - bubble_ht_offset)), "OB", color.blue, no) Īddchartbubble(lastbar and holyGrail and inbar, close, "Holy Grail" + "\nInbar", color.yellow, yes) Īddchartbubble(lastbar and holyGrail and outbar, close, "Holy Grail" + "\nOutbar", color.yellow, yes)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |