This script idea is designed to be used with 10pip brick (recommended) Renko charts. It combines the Renko price action with a directional coloured EMA (default length 6) and a RMI (instead of the usual RSI) indicator to provide entry and exit signals. RMI is bit like RSI with a built-in momentum factor and works well with Renko.
Signals can optionally be filtered by Daily or Weekly Open, where by only trade long above open and short below open (this option is enabled by default). Exit occur when EMA or RMI reverses direction, or optionally (disabled by default) when the Renko prints a brick in the reverse direction. Each Entry and Exit signal creates an Alertcondition that can be picked up by the TradingView Alarm system.
TIP: To get 10pip Bricks set Renko to "Traditional" type bricks and 0.001 for non-JPY currency pairs, and 0.1 for JPY currency pairs. Also set chart Time frame to 5min or 15mins.
References:
TheLark Relative Momentum Index (RMI)
發布通知
...
By request, added option to use the more familiar RSI instead of RMI.