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

[amibroker] Re: IB>QT>AB Pro Real Time Data Feed Problem



PureBytes Links

Trading Reference Links

Thank you :)



--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxxx> 
wrote:
> Johan,
> 
> Add this:
> periods=Param("Periods",5,5,15,1);
> 
> x=ROC(diff,periods);
> 
> Plot(x,"ROCofDIFF"+"(
> "+WriteVal(periods,1)+" )",colorRed,styleLine|styleOwnScale);
> 
> Anthony
> 
> 
> ----- Original Message ----- 
> From: "Johan" <epostens@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Friday, February 13, 2004 3:52 AM
> Subject: [amibroker] Indicator based on....
> 
> 
> Hi!
> 
> I programmed the difference between Dow and sp500. Plotted Bbands
> over this difference.
> 
> Now i would also like an rsi or roc indicator for the difference
> line. Can i show this in the same window? Not same scaling of 
course.
> But perhaps itīs possible to have one scale at the right and one at
> left?
> 
> Or do you know how to plot rsi or roc based on diff line in another
> pane?
> 
> 
> This is the code i use:
> 
> spx = Foreign("$spx","c");
> dow = Foreign("$indu","c");
> diff = (dow-spx);
> 
> Plot(diff,"spread",5,1);
> 
> Plot(BBandBot( diff, 20, 2),"bb",4,1);
> Plot(BBandTop( diff, 20, 2 ),"tb",4,1);
> 
> 
> Thanks for your help!
> 
> 
> 
> 
> 
> 
> 
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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
> 
> 
> 
> 
> 
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.583 / Virus Database: 369 - Release Date: 2/10/2004



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/