PureBytes Links
Trading Reference Links
|
I have tried to get the following formula to work and am definitely
in over my head on this one. I am trying to accomplish the following:
1. Set the Time frame to daily and get yesterday's close(vxdc)
2. Set the Time Frame to one minute and get the most recent close
(vxmc)
3. Subtract vxmc from vxdc for vxdif
4. Use vxdif for plot and color
I appreciate any help that can be provided on this one.
David K.
//Vix Barometer//
TimeFrameSet( inDaily );
vxdc = Foreign ("$Vix","C");
TimeFrameSet( in1Minute );
vxmc = Foreign ("$Vix","C");
TimeFrameRestore();
vxdif=(vxdc-vxmc);
Plot(vxdif,"vxdif",C);
COLOR=
//Ultra Bullish Reading//
(vxdif>=-1.20)*colorGreen+
Plot( 10, "Ribbon", COLOR,styleOwnScale|styleArea|styleNoLabel,2,5 );
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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
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/
|