i want to set brick size like for eg- 5/-
and if two consecutive times price closes above previous close, then buy
i want to set brick size like for eg- 5/-
and if two consecutive times price closes above previous close, then buy
You can use the below code, checked with Candlestick, works fine. Not sure about Renko-
Buy-
SET A= Ref(CLOSE,1) SET B= Ref(CLOSE,2) A > B AND LAST> A