Sharad,
Will help if you show us what you already
have.
Preston
--- In equismetastock@yahoogroups.com,
"SHARAD LOHIA"
<sharadlohia@...> wrote:
>
> Can
anybody pls help or guide
>
> I want to program a Triple
Divergence Indicator where price makes 3
consecutive lower lows with
intermediate rallies of 5% and the RSI
Indicator has made higher bottoms
on each successive lower low of
price.
>
> I have been able
to program the price making 3 lower bottoms but am
unable to program the
RSI 3 higher bottoms. The problem i am facing
is how to store the value of
RSI when the first and second lower
bottom was made - so as to be able to
compare it with the current RSI
value.
>
> regards
>
SHARAD LOHIA
>
> ----- Original Message -----
> From:
rbw1226
> To: equismetastock@yahoogroups.com
> Sent: Tuesday, May 27, 2008 7:05 PM
> Subject: [EquisMetaStock
Group] Coding an exploration and expert
advisor.
>
>
>
Coding an exploration and expert advisor.
>
> I have tried to
code an exploration containing these indicators:
>
> Example of
Alcoa Inc. - AA
> 16th 19th 20th
> RSI 74.5878 77.8750
68.8206
> STOCH 82.2645 86.6776 80.1709
> MACD 1.62294 1.83796
1.88434
> SMI 85.2341 88.5809 84.9160
> 3Period MA(S)42.6300
43.4933 43.6567
> Close 43.15 44.59 43.23
>
> Each are
default but would like to know how to code if changing
>
default.
> What I am trying to do is based on values changing from
uptrend
to
> signal/display values plus I reckon -1 or
difference.(also if
> changing from downtrend)
> For example
each column would display like.
> RSI 68.8206 with a -1 or difference of
value change being -9.0544
> from previous.
> STOCH 80.1709 -1 or
-6.5067
> MACD 1.88434 +1 or +.04638
> SMI 84.9160 -1 or
-3.6649
> 3Period MA(S) 43.6567 +1 or + .1634
> Close 43.23 -1 or
-1.36
>
> If this is not possible would it be possible to only
display
values
> when a change from previous 2 periods trend
occurs. Which only
the
> MACD and 3periodma would not display a
value or signal in this
case.
> Or better yet would display value
with also a 0 indicating no
change
> in trend.
>
>
Thanks a lot in advance because I think I must be asking and
trying
> for something not possible. As for making this an expert advisor
I
> was thinking of when close crossed 3periodma and at least 2
> indicators changed trend.
>
> Thanks again
>
Burt
>