WH=HHV(High,5);
WL=LLV(Low,5);
WBP=(HHV(High,5)+LLV(Low,5)+Close)/3;
RBAND=ValueWhen(Cross(MA(WBP,25),WBP),HHV(WH,25));
SBAND=ValueWhen(Cross(WBP,MA(WBP,25)),LLV(WL,25));
MSWNG=(RBAND+SBAND)/2;
Plot(rband,"rband",colorGreen,styleLine);
Plot(sband,"sband",colorRed,styleLine);
Plot(mswng,"mswng",colorBlue,styleLine+styleDashed);
Plot(C,"",colorBlack,styleCandle);
From:
amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of pilpilonim
Sent: Saturday, April 08, 2006
9:00 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker]
Support-Resistance indicator
Hi ,
I am using nice support resistance indicator in VT
and wondering if
someone has it in AFL or can translate it.
Thanks
-------------------------------------------------------
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;
----------------------------------------------------------
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
SPONSORED LINKS
YAHOO! GROUPS LINKS