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 [email protected], "Lester Vanhoff" <[EMAIL PROTECTED]> 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 [email protected], 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; > > > ****************************************************** ------------------------ Yahoo! Groups Sponsor --------------------~--> You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/GHeqlB/TM --------------------------------------------------------------------~-> Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/amibroker/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
