benchch

Major Minor Fib Points Large

175
for djpark111. wanted larger circles
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?
study("Major Minor Fib Points", "FibP", overlay=true)
h_left_min = input(title="Minor Value", type=integer, defval=5)

h_left_low_min = lowest(h_left_min)
h_left_high_min = highest(h_left_min)
newlow_min = low <= h_left_low_min
newhigh_min = high >= h_left_high_min

central_bar_low_min = low[h_left_min]
central_bar_high_min = high[h_left_min]
full_zone_low_min = lowest(h_left_min * 2)
full_zone_high_min = highest(h_left_min * 2)
highest_bar_min = central_bar_high_min >= full_zone_high_min
lowest_bar_min = central_bar_low_min <= full_zone_low_min
plotshape(highest_bar_min ? -1 : 0, offset=-h_left_min, style=shape.circle, location=location.abovebar, color=purple, size=size.small)
plotshape(lowest_bar_min ? 1 : 0, offset=-h_left_min, style=shape.circle, location=location.belowbar, color=purple, size=size.small)



h_left = input(title="Major Value", type=integer, defval=13)

h_left_low = lowest(h_left)
h_left_high = highest(h_left)
newlow = low <= h_left_low
newhigh = high >= h_left_high

central_bar_low = low[h_left]
central_bar_high = high[h_left]
full_zone_low = lowest(h_left * 2)
full_zone_high = highest(h_left * 2)
highest_bar = central_bar_high >= full_zone_high
lowest_bar = central_bar_low <= full_zone_low
plotshape(highest_bar ? -1 : 0, offset=-h_left, style=shape.circle, location=location.abovebar, color=blue, size=size.small)
plotshape(lowest_bar ? 1 : 0, offset=-h_left, style=shape.circle, location=location.belowbar, color=blue, size= size.small)