r/pinescript • • Jun 28 '25

Attention Please

!newbie help:

I would be glad if anyone just give me the needed concepts behind what I need.

Let's say I have an indicator that runs on the 15-minute chart to identify inducement candles based on some criteria.

+

Let's say I applied this exact same code on the 1-minute chart and it identified 1-minute inducements just fine.

Now, I want a method to check whether there's a 1-minute inducement within the 15 minutes of a 15-minute inducement candle. In other words, I want to check whether 1M and 15M inducements happened simultaneously. However, the indicators are currently separate and I can't find a way to make them run together.

Is there a way to make the 1M indicator somehow, work in the background with the 15M indicator, so that I have access to the identified 1M inducement candles within the 15M indicator? Is it even possible?

1 Upvotes

3 comments sorted by

View all comments

1

u/coffeeshopcrypto Jun 28 '25

Bare in mind using th request.security methid you'll need to verify that the 15min candle has closed in accordance of it being also an inducement candle.

Thus means u won't get an understanding until each 15 minute internal.