@run-out Added a comment with further clarification. Thanks!
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Posts made by aayushkucheria
-
RE: Select highest value in a range only if the bar with the highest value passes a condition?
-
RE: Select highest value in a range only if the bar with the highest value passes a condition?
I meant to say that if I have a range, and the highest high value in that range -->
Then only take it if the highest high value > Another Indicator I've defined at that bar.So basically, in the below picture the line is the indicator. If there's no value above it, I don't want anything.
But if there are high values above it, then I want the highest high. -
Select highest value in a range only if the bar with the highest value passes a condition?
Hey,
I'm making an indicator which requires me to select the highest value in a certain range only if that value is greater than the price channel high at that bar.I'm able to find the highest value from this code -
# self.counter defines how far back the range starts self.highest = basicops.Highest(self.data.high, period=self.counter, subplot=False)
But once I have the highest value, how do I get the price channel high value at that bar to check my condition?
Thank you!