on-internet
← Community

I need to modify an indicator based on the Lua language

Stack Overflow em Português ·

I need to create an indicator for the IQ Option platform. Specifically, I want a symmetry line to appear if the edge of a candle's body is symmetrical with the wick of a previous candle, and vice versa. Here is the example code, which might be modified to achieve what I need: instrument { name = "Highs & Lows - Meeting Lock", description = "Fixes Candle [0] interaction without affecting previous markings", overlay = true } hline(open[0], '', 'purple') local lookback = 20 -- Search up to 20 candles within the extreme range of Candle [1] -- Candle [1] identification local type_v1 = close[1] > op

Comments

Sign in or sign up to comment and upvote.

No comments yet.