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

[amibroker] Could someone please correct my formula



PureBytes Links

Trading Reference Links

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 ---------------------~-->
DVD Rentals with No Late Fees - Try Netflix for FREE!
http://us.click.yahoo.com/PdoN7C/pEZFAA/46VHAA/GHeqlB/TM
---------------------------------------------------------------------~->

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/