I try to draw previous daily ( for now once I get it it will be weekly % monthly as well) ohlc starting from beginning of daily bar and extended to the right
the problem I get when I use array.set(pdtime,x, request.security(syminfo.tickerid, ‘D’, time[x])) is I can’t use this in a loop, can’t use a loop with request.security… I need another way to get the ohlc into an array, and to be able to draw lines using the array.get
thank you
elgaza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.