Here is the TMS system screener to find entries for the strategy, as discussed on the forum here :
./trading-made-simple-tms-system/
//TDI indicator
//parameters :
lengthrsi=13
lengthrsipl=2
lengthtradesl=7
//overbought and oversold values of the TDI indicator
upperzone = 60
lowerzone = 40
//heiken ashi
xClose = (Open+High+Low+Close)/4
if(barindex>2) then
xOpen = (xOpen[1] + xClose[1])/2
xHigh = Max(xOpen, xClose)
xLow = Min(xOpen, xClose)
endif
//indicators
r = rsi[lengthrsi](close)
mab = average[lengthrsipl](r)
mbb = average[lengthtradesl](r)
yellowMA = average[5](TypicalPrice)
yellowMAshifted = yellowMA[2]
//screener conditions
longCondition = mab crosses over mbb AND mab<=lowerzone AND xHigh>yellowMAshifted
shortCondition = mab crosses under mbb AND mab>=upperzone AND xLow<yellowMAshifted
SCREENER [longCondition OR shortCondition]