ApeX Predator
Well-known member
The current full version that has the red/green zero line uses the 34TEMA for trend following. It was sorta intended as an interim until someone can figure out the actual source of the pro version and the thrust squares. I believe that @SuryaKiranC removed that portion from his current branch off version.
My original was based off of your V2-03, before your implemented 34TEMA, hence the confusion with me claiming V2-04 before I realized there was a latest version your code as V2-04. For now I will keep it forked, so people are not confused.
my current implementation of Zero Line is as following. If somebody with access to RAF or RAF_Pro can compare, how far we are, it will be helpful.
Code:
def tEMA = TEMA(close, FisherLen);
def tLen = Floor(FisherLen / 2);
def sTema = GetValue(tEMA, tLen);
def atr = ATR(14);
def tAtr = if low > sTema + atr then 1 else if high < sTema - atr then -1 else 0;
def tLadx = ADX(tLen);
ZeroLine.SetDefaultColor(Color.WHITE);
ZeroLine.AssignValueColor(if tAtr == 1 then Color.GREEN else if tLadx < tLadx[1] then Color.YELLOW else Color.RED);
P.S: This is not an ask for RAF_Pro Code, Just the visual comparison, or possibly a screenshot of /ES or some ticker with RAF_Pro and our code here. that is all, not a dig at RAF_Pro Code.