Questions tagged [candlesticks]

57 questions
0
votes
0 answers

How to draw custom views on top and bottom of the candle in candlestick chart

I am using the iOS Charts library for the candlestick chart, I not able to find any way to draw custom views that is a triangle as shown in the image library. I want to show the triangle(view) on the top and bottom of the candle based on the…
0
votes
1 answer

Why ta-lib's RSI output differs based on the input array size while the period is always 14?

I'm using talib-binding for node in my project to calculate RSI based on Binance's websocket candlestick feed. I would like to sync my RSI output as much as I can with what Binance's RSI indicator shows, but interestingly for the default 14 period I…
0
votes
1 answer

talib abstact API vs talib

Why talib.abstract does not cover all functions on talib? examples would be 'CDL3BLACKCROWS' which is available in talib but not in talib.abstract. talib API/talib.abstract, would not supposed to cover all functions on talib? How can I add…
RamA
  • 13
  • 5
0
votes
1 answer

R Shiny App HighCharter OHLC/Candlesticks default zoom period

I am using highcharter library for a shiny app to make candlesticks chart of an XTS. Code in server.R to generate the chart is given below (sry, this code is not reproducible) By default the chart generated shows data for all period. I want the zoom…
Anupam
  • 81
  • 5
0
votes
1 answer

Bar color and priority

I'm writing this simple code with 2 ATRs and added a black barcolor when the candle exceeds a set percentage of ATR both as high-low or as close-open. I'm now trying to highlight the following candle in yellow if it does retrace but in case this…
Daniel
  • 41
  • 2
  • 11
0
votes
1 answer

Can I write a word as background in Pinescript

I googled how to write a word in Pinescript, but i found nothing..!! 1 - the word should be at the center of the screen 2 - font size = 32 , border orange Example 1 click here Example 2 click here
0
votes
1 answer

Can i save variable in IF condation in Pinescript?

How i can save the variables in IF condation and show it later ? Variables show 0 outside IF condation I wanna show v1 and v2 Click to show the image //@version=4 study("Test2", shorttitle = "Test2", overlay=true) v1 = 0.0 v2 = 0.0 r = high -…
0
votes
1 answer

Can i get data of specific old candles in Pinescript?

I wanna to get data of old candles such as high, low , close , open Can i get the data of candle 1 and 2 ? click to see the image Note : the code in this link that i use to select those candles How to check if the candle is the largest one in…
0
votes
1 answer

How to check if the candle is the largest one in Pine-Script?

I wanna to make pine script code to check is that candle the largest one of the previous 50 candles and color it yellow i tried hard ,but i can't
Lab Devices
  • 43
  • 1
  • 6
-1
votes
1 answer

Code for background plot between candles and Ma

I wonder if someone has a piece of pinescript code that plot the Background between the candles and the (pink) 200 SlowMa. I was looking to do a background plot as the attached picture is showing. But, cannot find something like that atm, I tried…
Spica
  • 3
  • 2
-1
votes
1 answer

how to get last time of values in array object nodejs

I have an array objects of market ticks with the following values: candles['AUDIOUSDT'] = [ { t: 1649936820000, o: 41044.99, c: 41052.21, h: 41063.84, l: 41044.99, v: 1.2067 }, { t:…
Fardin
  • 23
  • 3
-1
votes
1 answer

how to change the default No of entries showing in Candlessticks chart?

I am trying to create a chart by lightweight-chart. I don't know what is the default number of entries showing on the screen. But i want to show only 25 entries on the chart like in this image i want to show only 25 candlestick by default but the…
1 2 3
4