PureBytes Links
Trading Reference Links
|
Not sure how the RSI gets into the plot of the MA, but here is what
you asked for:
YesterdaysRSI = Ref(RSI(2),-1);
Hbar = HHV(C,90);
Lbar = LLV(C,90);
Diff = Hbar - Lbar;
Todaysposition = ((C-Lbar)/Diff) * 100;
Plot(MA(Todaysposition,11), "Position MA", colorBlue, styleThick);
You can also use parameter statements to be able to adjust the MA time
frame from within the graph parameters if desired. Change variable
names as desired.
--- In amibroker@xxxxxxxxxxxxxxx, "upsidetarget" <digimax@xxx> wrote:
>
> Hi All,
>
> I am a recovering Metastock user and could use some help with the
amibroker syntax.
> How would I express:
>
> RSI(2) value one period ago
>
> this one is a little harder...
>
> It involves the highest 90 period close, and the lowest 90 period
close, where the current
> period close is shown as a 0-100 value between the two. i.e. 100
equals the highest 90
> period close.
>
> The actual indicator I am trying to output is an 11 period simple
moving average of the
> above.
>
> Thanks for your help,
>
> Michael
>
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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|