admin

Buy/Sell arrows on the chart example

1185 2 84
This example shows how to display arrows on the chart.
Remove from Favorite Scripts Add to Favorite Scripts
study('plotarrow example', overlay=true)
data = close >= open
h = 25
plotarrow(data ? 1 : 0, colorup=red, maxheight=h, minheight=h)
plotarrow(data ? -1 : 0, colordown=lime, maxheight=h, minheight=h)
You can also use this:

study('plotshape example', overlay=true)
data = close >= open
plotshape(data, style=shape.triangleup, location=location.abovebar, color=green)
plotshape(not data, style=shape.triangledown, location=location.belowbar, color=red)
Reply
admin admin
or this
Reply
English
English (UK)
English (IN)
Deutsch
Français
Español
Italiano
Polski
Türkçe
Русский
Português
Bahasa Indonesia
Bahasa Melayu
ภาษาไทย
Tiếng Việt
日本語
한국어
简体
台灣
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out