[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Simple but



PureBytes Links

Trading Reference Links

I added the permanent date on X axis as all this makes more sense with long term charts. Please double check the formula. I'm not MetaStock guru:

/****START****/
WH=HHV(High,5);
WL=LLV(Low,5);
WBP=(WH+WL+Close)/3;

RBAND=ValueWhen(Cross(MA(WBP,25),WBP),HHV(WH,25),1);
SBAND=ValueWhen(Cross(WBP,MA(WBP,25)),LLV(WL,25),1);
MSWNG=(RBAND+SBAND)/2;

Plot(RBAND, "", colorGreen, styleLine);
Plot(SBAND, "", colorRed, styleLine);
Plot(MSWNG, "", colorViolet, styleLine);

Plot(Close, "", colorDarkYellow, styleCandle);
SetChartOptions(0, chartShowDates);
/****END****/

--- In amibroker@xxxxxxxxxxxxxxx, "Lester Vanhoff" <ebsn247lsm@xxx> wrote:
>
> AFL is here and it doesn't look good at all. I did this in a hurry so please double check:
> 
> /****START****/
> WH=HHV(High,5);
> ..............
> Plot(Close, "", colorDarkYellow, styleCandle);
> /****END****/
> 
> --- In amibroker@xxxxxxxxxxxxxxx, J Wayne Skerritt <ecodesign@> wrote:
> >
> > simple but what?
> > 
> > Could y'all provide a brief explanation of what this is and suggestions 
> > as how it might be used?
> > 
> > TIA
> > 
> > wayne
> > 
> > pilpelia wrote:
> > 
> > > powerful.
> > >
> > > Does some one have the below version in AFL ?
> > >
> > > *************************************************
> > > WH:=HHV(HIGH,5);
> > > WL:=LLV(LOW,5);
> > > WBP:=(HHV(HIGH,5)+LLV(LOW,5)+CLOSE)/3;
> > >
> > > RBAND:=VALUEWHEN(1,CROSS(MOV(WBP,25,S),WBP),
> > > HHV(WH,25));
> > >
> > > SBAND:=VALUEWHEN(1,CROSS(WBP,MOV(WBP,25,S)),
> > > LLV(WL,25));
> > >
> > > MSWNG:=(RBAND+SBAND)/2;
> > > ******************************************************