PureBytes Links
Trading Reference Links
|
AB cognoscenti: (Franco, some Latin, maybe even Italian, for you.)
For a long time, I have used a breadth indicator known to and used by
many: (used intelligently, a darned-good breadth indicator)
Above10Week = C >= MA(C,50);
Buy = 0; // required -- does not generate signals
AddToComposite(Above10Week, "~10WeekMA%", "V" );
/* add one to open interest field (we use this field as a counter) */
AddToComposite( 1, "~10WeekMA%", "I" );
PercentageRising = Foreign("~10WeekMA%", "V") / Foreign("~10WeekMA%", "I") * 100;
Plot(PercentageRising,"Pct. of stocks above 10 Wk MA",colorBlack,styleLine,0,100,xshift=0);
Plot(MA(PercentageRising,8),"",colorOrange,styleLine);
PlotGrid(60, Color = colorDefault);
PlotGrid(40, Color = colorDefault);
Title = EncodeColor(colorBlack)+"Stocks above 10 week MA = "
+WriteVal(PercentageRising,1.1,separator=True)+"%";
Little old me, a code-challenged idiot, did this all by herself;
please try not to get a case of, as they said long ago in England,
"the vapors".
This works wonderfully, as far as producing a chart goes, in my EOD
databases. But try as I might ... I cannot get it to produce
anything other than "strange" in my eSignal database. Well, "weird"
is other than "strange", but you get the idea. It's f*&^@#, as they
say in the vernacular. And I actually know what vernacular is, too.
I have tried two things:
1) making sure settings periodicity is "daily" (DUH!)
2) adding code to set the time frame as daily for the first line, and
then restoring it
Neither works. The chart output is still "strange, weird, or even
'on drugs'". ("This is your chart on opiates! Your chart is
ecstatic, but you are decidedly not.")
I have come to the conclusion (a no-brainer) that I am simply
incredibly stupid when it comes to this kind of thing, and therefore,
that I must prostrate myself to those who know the secret handshake,
or other Freemason-like rituals.
I promise not to reveal your secrets, should you deign to share them
with me, and that I will commit ritual suicide (oh, it's a nasty
business that you don't want to know about) should you refuse. Please
consider the unsightly mess that I am talking about, and kindly take
mercy on my Japanese soul.
Best,
Yuki
------------------------ Yahoo! Groups Sponsor --------------------~-->
Transfer from your equities account.
Receive up to $1,000 from GFT. Click here to learn more.
http://us.click.yahoo.com/aZttyC/X_xQAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|