I'm not quite sure what this means.
Using words can you describe what you are looking for?
Currently you have:
Close[0]&&Close[1]>ray
With the first part 'Close[0] &&' there is no comparison.
Are you looking for close price of the current bar to be greater than 0?
Are you looking for close price of the current bar to be greater than close price of the previous bar?
With the second part, 'Close[1]>ray', what does ray represent?
Does this mean that you are looking for when the close of the previous bar is greater in price than the price the first anchor of the ray is set to?
Comment