Questions tagged [candlesticks]

57 questions
4
votes
2 answers

Plotly Candlestick updated and shown dynamically in a loop

I would like to dynamically update a Candlestick chart from plotly: import time import plotly.graph_objects as go while True: candle_df = candle_handler.get_dataframe() candlestick = go.Candlestick(x=candle_df['Time'], open=candle_df['Open'],…
Newbie
  • 121
  • 9
4
votes
0 answers

How to integrate chartjs-chart-financial with chart js

I'd like to use chartjs-chart-financial to plot a 'candlestick' chart. However, chartjs-chart-financial isn't published to npm yet. I run an npm install followed by gulp build in the directory that has the cloned repo from…
2
votes
1 answer

Getting multiple cryptos' ohlc values in ccxt or binance python api?

I'm trying to create an automated bot according to my strategy but I'm struggling with a few things: 1- In ccxt, I can get OHLC data of a specified symbol. But I couldn't find any data on both documentation and google etc, about getting multiple…
yktrcn
  • 29
  • 1
  • 6
2
votes
1 answer

Trading veiw Lightweight graph set timescale at one hour

I am currently using lightweight chart for my candlestick graph but i am facing an issue . How can i set my data in candle stick. My data. "data": [ { "open": "1.18384", "high": "1.1845", "low": "1.18368", "close": "1.18429", …
2
votes
0 answers

candlestick chart with javascript

Am trying to design a candlestick chart with java script,but have an error,can any one help me? and my error is: Uncaught Error: "candlestick" is not a chart type. I was watching a video and did all steps but still have the error the video…
2
votes
2 answers

Charting OHLC candle with SMA 200 using mplfinance plot function

I'm using mplfinance plot function to draw OHLC candlestick chart of a symbol. OHLC data is of 2 min timeframe. Also, I'm plotting sma 20 period and sma 200 period on the same chart. Because of sma200, the number of candles which are displayed on…
2
votes
2 answers

How do you get the last say 20 "Close price" values from python-binance using the "Get Historical Kline/Candlesticks" function?

I am trying to make a list from the last few "close price" values on binance. This is the code that I currently have. from binance.client import Client client= Client(API_KEY,API_SECRET) klines = client.get_historical_klines("BTCUSDT",…
1
vote
2 answers

Converter bid/ask to OHLC formula

I can get bid and ask data from my market data provider but I want to convert this in OHLC values. What is the good calculation using bid/ask? I saw in a post that for a specific period: Open = (first bid + first ask) / 2. High = Highest bid Low =…
Teddol
  • 17
  • 2
1
vote
1 answer

creating multiple candlestick charts on same page with plotly

I'm creating a script that takes stock data from csv (name of the stock , start date , end date) and create a candlestick chart , then add some lines to analyse it all with plotly example in this screenshot url example of chart code : import…
Fchpro01
  • 11
  • 3
1
vote
1 answer

How to add fibonacci retracement in interactive plots (plotly)

how to add different color hlines in go.figure add_hline() function previous pyplot function hlines had colors section for adding different colors for pyplot how could i do the same ? # highest_swing and lowest_swings generate the area for which we…
1
vote
1 answer

Apexcharts: mixed chart candlestick + area chart (fill area between 2 data points )

I use ApexCharts js for make mixed chart. Candlesticks + on this candlestick I need placed area chart from start date to end date (range, for example between 1.4 to 1.5 ). For candlestick series i use { x: new Date(timestamp), y: [open,…
IPFgr
  • 11
  • 1
  • 1
1
vote
0 answers

Strategy = Multiple confirmations for alert

I'm pretty much a beginner at coding but am trying to create an indicator with multiple confirmations and alerts but have come across a few issues. My strategy is to use adx crossunders ,higher volume at the cross , engulfing candles and pivot…
Champy4
  • 11
  • 2
1
vote
2 answers

cufflinks remove gaps in candlestick charts

I am using cufflinks for plotting candlestick charts in jupyter notebook. How to remove gaps of non trading days in chart. In plotly we can update layout ['xaxis']['type'] to 'category'. How can we update the same for a QuantFig in…
1
vote
2 answers

Stock screener code not detecting bullish engulfing patterns

I was attempting to follow the code on a YouTube video (https://www.youtube.com/watch?v=nPD_hZgwS00) which demonstrates how to make a stock screener. I watched the video linked above and the three previous videos as well. Following those videos I…
fortiswdg
  • 27
  • 1
  • 1
  • 7
1
vote
1 answer

gnuplot: how to set color of the whisker in candlestick?

I am drawing candlestick chart. How do I set color of the whisker to be black? Right now, it is the same as the rest of the box. This is my code so far: set terminal svg set output 'out.svg' set key off set xlabel 'X' set ylabel 'Y' set title…
lisprogtor
  • 5,677
  • 11
  • 17
1
2 3 4