For this line
long = (not umacd or macdH == color.green) and mab > mbb and mab < rsiOBL and
mab > rsiOSL and srcHigh > smmaH and srcClose > srcOpen ?
mbb > mid ? 1 : mab > mid and mbb < mid ? 2 : mab < mid and mbb < mid ? 3 : 0 : 0
I want to use strength 3, so that's mean mib doesn't matter for me right? or i need to calculate positions of mab and mbb to the mid?
I'm trying to write this code in metastock language but i'm not that good :)
Or if your mean taking an actual position on a Broker, then TradingView Pinescript does not cater for this. This script was only meant for Backtesting your setups and provide some idea of performance.