Guppy Count Back
Guppy Count Back, an essential feature within Amibroker AFL, encompasses a methodology that assesses historical price data from the Amibroker data feed. This system aims to identify potential entry or exit points based on trend analysis. By utilizing a combination of moving averages and market dynamics, Guppy Count Back assists traders in making informed decisions, enhancing their ability to navigate changing market conditions effectively.
/_SECTION_BEGIN("GUPPY COUNT BACK orig"); MASK= ParamStyle("MASK",styleCandle, maskPrice); barcolor = IIf(C > Ref(C,-1), ParamColor("Up Color",colorBrightGreen), IIf(C ==Ref(C,-1),colorOrange, ParamColor("Dn Color",colorOrange))); Plot( C, "Close", barcolor,MASK); H1=0; L1=0; H2=0; L2=0; H3=0; L3=0; for( i = BarCount-20; i < BarCount; i++ ) { if(H[i]>H[i-1]) { H1=H[i];L1=L[i] ;H1bar=i; for( j = H1bar-20; j < H1bar; j++ ) { if(H[j]Ref(C,-1), ParamColor("Up Color",colorBrightGreen), IIf(C ==Ref(C,-1),colorOrange, ParamColor("Dn Color",colorOrange))); //Plot( C, "Close", barcolor,MASK); H1=0; L1=0; H2=0; L2=0; H3=0; L3=0; for( i = BarCount-20; i < BarCount; i++ ) { if(L[i]
L1 AND H[j]>H1) { L2=L[j];H2=H[j] ;L2bar=j; for( k = L2bar-20; k < L1bar; k++ ) { if(L[k]>L2 AND H[k]