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

[amibroker] Re: Could someone please correct my formula



PureBytes Links

Trading Reference Links

Thanks  Anthony,
That solved the problem.

Dennis

--- In amibroker@xxxxxxxxxxxxxxx, Anthony Faragasso <ajf1111@xxxx> 
wrote:
> Dennis,
> 
> I do not have vix in my database but...
> 
> cond1=Foreign("^Vix","vix");
> 
> should read:
> 
> cond1=Foreign("^Vix","C");
> 
> Anthony
> 
> "theoldchartreader " wrote:
> 
> >  Hi,
> > I am trying to subtract todays vix from yesterdays vix and then 
plot
> > it as a ribbon.
> >
> > Once again thank you in advance,
> > Dennis
> >
> >
> > cond1=Foreign("^Vix","vix");
> > Cond2=(cond1-Ref(Cond1,-1);
> >
> > Plot(Cond2,"vix",colorRed,styleLine|styleOwnScale);
> >
> > Plot(10,"ribbon", IIf
> > 
(Cond2>.80,colorRed,colorGreen),styleOwnScale|styleArea|styleNoLabel,
> > -0.5, 100 );
> >
> >
> >                    Yahoo! Groups Sponsor
>                         ADVERTISEMENT
> 
> 
> >
> > 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
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.


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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/