PureBytes Links
Trading Reference Links
|
Just change from this:
if(xlow>=0,C+xlow,C+xlow*(100-valuelow)/valuelow);
to this:
iif(xlow>=0,C+xlow,C+xlow*(100-valuelow)/valuelow);dom1_1998 <Dom2000@xxxxxxxxxxx> wrote:
I got the most of this MS formula converted but having trouble andcould use a some help with the "if" part.For some reason it doesn't like if.Dominick//Reverse Engineered RSI-Lowwildperhigh=Param("Wilder Time Periods High",14,1,100);valuelow=LLV(RSI(wildperhigh*2),wildperhigh*2);expperlow=2*wildperhigh-1;//Average Up Close-Lowauclow=MA(if(C>Ref(C,-1),C-Ref(C,-1),0),expperlow,E);//Average Down Close-Lowadclow=MA(if(Ref(C,-1)>C,Ref(C,-1)-C,0),expperlow,E);xlow=(wildperhigh-1)*(adclow*valuelow/(100-valuelow)-auclow);if(xlow>=0,C+xlow,C+xlow*(100-valuelow)/valuelow); Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 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 Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
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.
|