Closed lahomagit closed 1 year ago
Try one of these
high of loaded data indicator_high-pivot-pivotlength.txt
high found in the last n bars indicator_high-line.txt
note
The pivots example is excellent, thank you. Is there any way to make it automatically draw new pivots as data is added to the chart? Right now it seems to require toggling the indicator to redraw with new data, and I haven't been able to solve that.
You are right there was a bug in the script :) Fixed it here with option to use body of candle instead of wicks 👍🏼 indicator_high-pivot-pivotlength copy 1.txt
Invalid input for function brokenarea, expected 2 arguments (lowerValue and higherValue). Dude, I'm getting such an error, I haven't been able to solve it for 2 days, can you help me? Can you give me this code working. please i need this
@Redline600 Can you share your code? Are you trying to use one of the indicators Tucsky provided in this thread? Their last upload (indicator_high-pivot-pivotlength copy 1.txt) has been working great for me.
yes, I solved the problems myself in my study last night. Can we communicate for different projects?
Is it possible to update previous data of a plot via the setData method of the ISeriesAPI?
This code attempts to draw a horizontal line at the high of loaded data (using a line plot as a priceline, essentially), updating previous values of the line when a new high is found, but it does not work (nor does it throw any error):