request for mm.
//@version=2 strategy(title='[STRATEGY][RS]Renko V0', shorttitle='S', overlay=true, pyramiding=0, initial_capital=100000, currency=currency.USD) trade_size = 10000 ro = open rc = close buy_entry = rc[4] < ro[4] and rc[3] > ro[3] and rc[2] > ro[2] and rc[1] > ro[1] and rc > ro sel_entry = rc[4] > ro[4] and rc[3] < ro[3] and rc[2] < ro[2] and rc[1] < ro[1] and rc < ro strategy.entry('buy', long=strategy.long, qty=trade_size, comment='buy', when=buy_entry) strategy.entry('sell', long=strategy.short, qty=trade_size, comment='sell', when=sel_entry)