Metastock Indicator Formula |
Weekly High & Low Curves |
These indicators are for analysis of weekly high price and low price.
You only need to copy this formula into meta-stock Indicator builder |
Formula: |
{Weekly high and low}
{Variable}
x:=Input("Nth Week",1,365,1);
{Logic& Data Array}
x1:=LastValue(ValueWhen(x,DayOfWeek()=5 , LLV(LOW, 5) ));
x2:=LastValue(ValueWhen(x,DayOfWeek()=5 , HHV(HIGH, 5) ));
x1;x2;
|
|
|