Pending orders activate on candle close
-
Hey guys, I've been trying to figure this out for a while. If a bear candle moves 100 pips down, I want to place a buy order on the high of that candle. I can do this with pending orders, but I need price to close above this level, not just wick it (HTF). I have tried with Objects, but I'm having trouble with the orders going through and deleting old lines. Trying to play around with Candle IDs but I'm just not getting it. Any ideas?
-
Not sure I fully get it. Why do you need an object when you can just check the condition? Could you please upload a screenshot of that scenario?
-

For example, but because it might be 5 or 15 candles later, I'm not sure how to mark that area of interest and enter a trade only after a candle closes below that line. It somewhat works with pending orders in that, if another candle forms that fits the conditions it deletes this candle's entries, however I don't want it to wick that area and reverse.
Hopefully this makes sense!
-
Then you need a loop searching for that specific price in past candles. That is not a trivial project to do. Are you familiar with variables and loops?
-
Very beginner with variables, I have and am using some and have done one loop haha but I haven't figured this one out yet.
-
Add a shared link to look at.