[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Alertif problem



PureBytes Links

Trading Reference Links



Dear Dimitris,
 
I have read many of your posts on the Ami Bulletin Board and have been impressed with your knowledge of practical trading application and programming ability.  I tried to use your RSI/MACD however I was not able to find the Degauss.dll.  I would appreciate it if you could send me a copy. (I have 20 years trading experience and am new to AmiBroker)  On another note, I have been working with the RevEngEMARSI indicator and have found it to be a great indicator since it moves with the price action.  I am trying to develop a system that uses more than one set of time paramaters for both the "EMA periods" and "Wilder periods".  I can not get two different plotted lines with the way I am attempting to do it.  Could you help me figure out what I am doing wrong?  Any help will be greatly appreciated.  The following is what I am currently using:
 
////////////////////////////////// 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( Close, Date() + ", Close", colorBlack, styleCandle );Plot( RevEndEMARSI, "Reverse EMARSI", colorRed );////////////////////////////////// ReM////////////////////////////////
 
aper = Param("EMA periods", 300, 1, 1000, 1 );xper = Param("Wilder periods", 21, 1, 100, 1 );Factor = EMA( RSI( xper ), aper );XUC = Wilders( Max( C - Ref( C, -1 ), 0 ), xper );XDC = Wilders( Max( Ref( C, -1 ) - C, 0 ), xper );x1 = ( xper - 1 )*( XDC * Factor/(100-Factor)-XUC);
 
ReM = IIf( x1 >= 0, C + x1, C + x1*(100-Factor)/Factor );//Plot(C, "O:" + O + "H:"+ H + "L:" + L + "C:" + C,colorBlack,styleCandle);Plot( ReM, "ReM", colorBrightGreen,styleThick );
 
Also, I noted that in one of your posts you stated that you could not short stocks in your country.  Where do you live?  I appreciate you sharing your vast knowledge with those of us that are new to programming.
 
Sincerely,
 
David Keleher


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 the Yahoo! Terms of Service.