Continued r(lambda) pivot preference equal 1-(R1-P)/(P-S1)

By AlexGo
The result of the formula is an integer, but before we get there, let's consider what it means that the distance between the R1(first Resistance) and the Central Pivot P=(H+L+C)/3 is usually, if not always, different, sometimes R1-P is bigger other times P-S1. The same way desirable risk-reward on an either long or short entry in any tradable instrument for a duration of either early or soon, later or late; is also smaller or bigger.
^DXY is bullish if the 2021 pivot preference was ...probably (-4) or something, if you place a short trade graphic element on the P, then drag the ...oh, it' called favorable risk-reward for shorts, or for longs, if it's favorable or not, then still, and...
^DXY in 2021 r(lambda) was equal favorable risk reward only if the formula result was a positive integer. ^DXY climbed steadily throughout 2021 but the distance between R1 and Central was smaller than between Central and S1. In another year it could have been the opposite and ^DXY could have been climbing, and maybe this year it is opposite yet, price will be falling?
So it's a logic:
(i don't know how
//-----------------------------------------------------------
//label text assignments
if(prevMN<=0){ //Previous Month is Br
if(realMN>=0){ //REALIZED MONTHLY
rMpivpref="2BL";} //this should be 2BL only if prevMN is below 0
else if (realMN<=0){ //this must next distinguish between + and - Br
if(realMN>=prevMN) rMpivpref="-Br";
else rMpivpref="+Br";}
}
if(realMN<=0){
if(antiMN>=0){ //ANTICIPATED
aMpivpref="2BL";} //this should be 2BL only if prevMN is below 0
else if (antiMN<=0){ //this must next distinguish between + and - Br
if(antiMN>=realMN) aMpivpref="-Br";
else aMpivpref="+Br";}
}
if(prevWk<=0){ //Previous Week is Br
if(realWk>=0){ //REALIZED WEEKLY
rWpivpref="2BL";} //this should be 2BL only if prevMN is below 0
else if (realWk<=0){ //this must next distinguish between + and - Br
if(realWk>=prevWk) rWpivpref="-Br";
else rWpivpref="+Br";}
}
if(realWk<=0){
if(antiWk>=0){ //ANTICIPATED
aWpivpref="2BL";} //this should be 2BL only if prevMN is below 0
else if (antiWk<=0){ //this must next distinguish between + and - Br
if(antiWk>=realWk) aWpivpref="-Br";
else aWpivpref="+Br";}
}
if(prevD<=0){ //Previous Day is Br
if(realD>=0){ //REALIZED DAILY
rDpivpref="2BL";} //this should be 2BL only if prevMN is below 0
else if (realD<=0){ //this must next distinguish between + and - Br
if(realD>=prevD) rDpivpref="-Br";
else rDpivpref="+Br";}
}
if(realD<=0){
if(antiD>=0){ //ANTICIPATED
aDpivpref="2BL";} //this should be 2BL only if prevMN is below 0
else if (antiD<=0){ //this must next distinguish between + and - Br
if(antiD>=realD) aDpivpref="-Br";
else aDpivpref="+Br";}
}
//--------------------------------------------------------------------------------------------------------------------------||
if(prevMN>=0){ //Previous Month is BL
if(realMN<=0){ //REALIZED MONTHLY
rMpivpref="2Br";} //this should be 2Br only if prevMN is above 0
else if (realMN>=0){ //this must next distinguish between + and - BL
if(realMN>=prevMN) rMpivpref="+BL";
else rMpivpref="-BL";}
}
if(realMN>=0){
if(antiMN<=0){ //ANTICIPATED
aMpivpref="2Br";} //this should be 2Br only if prevMN is above 0
else if (antiMN>=0){ //this must next distinguish between + and - BL
if(antiMN>=realMN) aMpivpref="+BL";
else aMpivpref="-BL";}
}
if(prevWk>=0){ //Previous Week is BL
if(realWk<=0){ //REALIZED WEEKLY
rWpivpref="2Br";} //this should be 2Br only if prevMN is above 0
else if (realWk>=0){ //this must next distinguish between + and - BL
if(realWk>=prevWk) rWpivpref="+BL";
else rWpivpref="-BL";}
}
if(realWk>=0){
if(antiWk<=0){ //ANTICIPATED
aWpivpref="2Br";} //this should be 2Br only if prevMN is above 0
else if (antiWk>=0){ //this must next distinguish between + and - BL
if(antiWk>=realWk) aWpivpref="+BL";
else aWpivpref="-BL";}
}
if(prevD>=0){ //Previous Day is BL
if(realD<=0){ //REALIZED DAILY
rDpivpref="2Br";} //this should be 2Br only if prevMN is above 0
else if (realD>=0){ //this must next distinguish between + and - BL
if(realD>=prevD) rDpivpref="+BL";
else rDpivpref="-BL";}
}
if(realD>=0){
if(antiD<=0){ //ANTICIPATED
aDpivpref="2Br";} //this should be 2Br only if prevMN is above 0
else if (antiD>=0){ //this must next distinguish between + and - BL
if(antiD>=realD) aDpivpref="+BL";
else aDpivpref="-BL";}
}

There has got to be a picture here showing what it(code) means, briefly, it sorts through six possible trend configurations: ^Fresh Bullish, ^More Bullish, ^Less Bullish, ^Fresh Bearish, ^More Bearish, ^Less Bearish, and for the sake of utility named 2BL,+BL,-BL,2Br,+Br,-Br
Now, U




Trend Analysis

Disclaimer