# What's this indicator?

#### quangwu

##### New Member
hi everyone,
My friend just send me a chart and I found a strange indicator. This indicator, with name "winner" is like candle.

Anyone know it, pls tell me pls, thanks  #### mastermind007

##### Well-Known Member
hi everyone,
My friend just send me a chart and I found a strange indicator. This indicator, with name "winner" is like candle.

Anyone know it, pls tell me pls, thanks  Right click on the image and it should show you the name. It looks some kind of Cyclical oscillator of which there can be infinite permutations

Last edited:

#### quangwu

##### New Member
I don't have it . just ask someone else

#### quangwu

##### New Member
Right click on the image and it should show you the name. It looks some kind of Cyclical oscillator of which there can be infinite permutations
I think so, but I don't have that code. Do you know the name of that?

#### velmont86

##### Active Member
hi everyone,
My friend just send me a chart and I found a strange indicator. This indicator, with name "winner" is like candle.

Anyone know it, pls tell me pls, thanks  find the afl.....below
Code:
``````_SECTION_BEGIN("Winner");

m = Param("Periods", 10, 2, 5, 1 );
n = Param("Average", 5, 2, 5, 1 );

pa = (2*C+H+L)/4;
cost = pa*Volume;

scost5 = Sum(cost,n);
svolume5 = Sum(Volume,n);
pa5 = scost5/svolume5;

RSV = (pa5-LLV(pa5,m))/(HHV(pa5,m)-LLV(pa5,m))*100;

pak = WMA(rsv,n);

UP=pak;
Oo=IIf(up<down,up,down);
Hh=Oo;
Ll=IIf(up<down,down,up);
Cc=Ll;
barcolor2=IIf(up>down,5,colorRed);
PlotOHLC( Oo,hh,ll,Cc, "Winner ", barcolor2, styleCandle );

_SECTION_END();``````

#### Happy_Singh

##### Happy
Add this code to get candles with only out lines (not filled)

Code:
``SetBarFillColor(GetChartBkColor());``

find the afl.....below
Code:
``````_SECTION_BEGIN("Winner");

m = Param("Periods", 10, 2, 5, 1 );
n = Param("Average", 5, 2, 5, 1 );

pa = (2*C+H+L)/4;
cost = pa*Volume;

scost5 = Sum(cost,n);
svolume5 = Sum(Volume,n);
pa5 = scost5/svolume5;

RSV = (pa5-LLV(pa5,m))/(HHV(pa5,m)-LLV(pa5,m))*100;

pak = WMA(rsv,n);

UP=pak;
Oo=IIf(up<down,up,down);
Hh=Oo;
Ll=IIf(up<down,down,up);
Cc=Ll;
barcolor2=IIf(up>down,5,colorRed);
SetBarFillColor(GetChartBkColor());
PlotOHLC( Oo,hh,ll,Cc, "Winner ", barcolor2, styleCandle );

_SECTION_END();``````

.

#### quangwu

##### New Member
find the afl.....below
Code:
``````_SECTION_BEGIN("Winner");

m = Param("Periods", 10, 2, 5, 1 );
n = Param("Average", 5, 2, 5, 1 );

pa = (2*C+H+L)/4;
cost = pa*Volume;

scost5 = Sum(cost,n);
svolume5 = Sum(Volume,n);
pa5 = scost5/svolume5;

RSV = (pa5-LLV(pa5,m))/(HHV(pa5,m)-LLV(pa5,m))*100;

pak = WMA(rsv,n);

UP=pak;
Oo=IIf(up<down,up,down);
Hh=Oo;
Ll=IIf(up<down,down,up);
Cc=Ll;
barcolor2=IIf(up>down,5,colorRed);
PlotOHLC( Oo,hh,ll,Cc, "Winner ", barcolor2, styleCandle );

_SECTION_END();``````
Thanks a lot, that's what I look for #### mastermind007

##### Well-Known Member
velmont

thanks for the afl
?
How is this Indicator supposed to be interpreted? Is it in "trend detector" category, mainly usable for confirmation?