Skip to content

BrandyMint/ilgizar-candlestick-panel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grafana Candlestick Panel

Install

Official Grafana Plugins install instruction

Usage

Four basic metrics should have aliases: open, close, high, low. The trade volume metric has alias volume. All other metrics are taken by indicators.

Work tested on Influx data source.

Examples of query on InfluxDB data source:

open: SELECT first("open") FROM "ticker" WHERE ("market" =~ /^$market$/ AND "pair" =~ /^$pair$/) AND $timeFilter GROUP BY time($__interval) fill(linear)

close: SELECT last("close") FROM "ticker" WHERE ("market" =~ /^$market$/ AND "pair" =~ /^$pair$/) AND $timeFilter GROUP BY time($__interval) fill(linear)

low: SELECT min("low") FROM "ticker" WHERE ("market" =~ /^$market$/ AND "pair" =~ /^$pair$/) AND $timeFilter GROUP BY time($__interval) fill(linear)

high: SELECT max("high") FROM "ticker" WHERE ("market" =~ /^$market$/ AND "pair" =~ /^$pair$/) AND $timeFilter GROUP BY time($__interval) fill(linear)

volume: SELECT max("volume") FROM "ticker" WHERE ("market" =~ /^$market$/ AND "pair" =~ /^$pair$/) AND $timeFilter GROUP BY time($__interval) fill(linear)

Screenshots

Main view with plugin options: example color chart

Solid view: example solid chart

Bar view: example bar chart

Chart with indicators: example chart with indicators

Changelog

v0.0.1
  • First working version

About

Grafana candlestick panel plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 79.9%
  • HTML 20.1%