PureBytes Links
Trading Reference Links
|
I am new to AmiBroker and am having problems with two things, first I
am trying to plot 3 RevEngEMARSI lines on my charts and cannot seem
to successfully change the variables and have the 3 lines appear on
the same chart. The second problem is when I reference RevEngEMARSI
as a filter for exploration I keep getting an error. Can anyone help
me with the proper formula? Any help will be very much appreciated
////////////////////////////////
// RevEngEMARSI
////////////////////////////////
eper = Param("EMA periods", 65, 1, 1000, 1 );
wper = Param("Wilder periods", 14, 1, 100, 1 );
Value = EMA( RSI( wper ), eper );
AUC = Wilders( Max( C - Ref( C, -1 ), 0 ), wper );
ADC = Wilders( Max( Ref( C, -1 ) - C, 0 ), wper );
x = ( wper - 1 )*( ADC * Value/(100-Value)-AUC);
RevEndEMARSI = IIf( x >= 0, C + x, C + x*(100-Value)/Value );
Plot( RevEndEMARSI, "Reverse EMARSI", colorYellow);
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|