PureBytes Links
Trading Reference Links
|
Hi Tomasz,
(Marcin, you can close [#25228] MTMACD problem)
Argh. You are right of course. Perhaps the instructions might be
refined just very little bit, to keep other programming illiterate
types like me from falling into a similar trap. ^_^
I had actually discarded the original scan file, thinking it was not
necessary to retain, somehow, based on the following line in the
instructions:
"Note that we are using Foreign function to retrieve indicator values
stored in artificial ticker. That way we don't need to re-calculate
it."
I realize now that this line in the instructions applied to the plot,
not the scan. But it's rather ambiguous (to me, anyway),
particularly when no mention is made that I can find about how often
rescans need to be done, nor exactly what settings should be used
when doing them. Yes, 1-minute is specified, and I made sure of that
when I set it up. But 'all quotations', or a subset? I'm guessing
'all' the first time, then perhaps 'n days = 1' on a daily basis. But
I cannot find these instructions in the document. Re-reading it,
helps, but it is not precise (some details seem to be missing),
except to those who understand programming.
This is a very nice piece of work, as I mentioned before. But since
it needs to be rescanned, and since the rescan takes about 13 minutes
on a P4 2.53 GHz using 100 percent of the processor, I'm not likely
to want to do this very near the close, when it would be most
effective. *Any* suggestion you might have (other than buying a
supercomputer) ^_^ to cut the scan time down would be appreciated.
I'm scanning 196 equities, is all.
Yuki
Wednesday, November 30, 2005, 4:03:39 AM, you wrote:
TJ> The file you should run as SCAN is the one that has ADDTOCOMPOSITE function.
TJ> It is NOT the file below. That one is for PLOTTING ready indicator.
TJ> For each indicator from the article I have provided TWO formulas,
TJ> one is for SCAN (the one with AddToComposite) and second is for
TJ> plotting (the one with Plot() function).
TJ> Best regards,
TJ> Tomasz Janeczko
TJ> amibroker.com
TJ> ----- Original Message -----
TJ> From: "Yuki Taga" <yukitaga@xxxxxxxxxxxxx>
TJ> To: "vlanschot" <amibroker@xxxxxxxxxxxxxxx>
TJ> Sent: Tuesday, November 29, 2005 1:48 PM
TJ> Subject: Re: [amibroker] Re: MTMACD problem
>> Hi PS,
>>
>> No joy. Here is the file I'm scanning:
>>
>> _SECTION_BEGIN("Multi Time");
>> x = Foreign("~MACD"+Name(),"C");
>>
>> Plot( x, "MTMACD", colorBlue , styleThick ) ;
>>
>> PlotGrid(0.5 );
>> PlotGrid(-0.5);
>>
>> Buy = 0;
>> Sell = 0;
>>
>> _SECTION_END();
>>
>> This runs through its routine, but the plot does not change, and the
>> ~ticker files still have a November 17 date. (Settings: 1 minute,
>> all symbols, all quotations)
>>
>> Yuki
>>
>> Tuesday, November 29, 2005, 9:32:49 PM, you wrote:
>>
>> v> Assuming you're using the ATC, yes you need to run this every day to
>> v> update the ~tickers. There are ways to automate this of course.
>>
>> v> Also, use Buy=Sell=etc=0 in the code, since you have to use Scan to
>> v> create/overwrite the tickers, after which the dates should have
>> v> changed.
>>
>> v> Hope it helps.
>>
>> v> PS
>> v> --- In amibroker@xxxxxxxxxxxxxxx, Yuki Taga <yukitaga@xxxx> wrote:
>>>>
>>>> I set this up, and thought it was working correctly, but apparently
>>>> I'm missing something.
>>>>
>>>> The initial scan was fine; all the ~MACD(Ticker) files were created,
>>>> and the inserted chart plotted. Looked just like the picture.
>>>>
>>>> But I'm having some problem (I think) getting this to update. I
>> v> have
>>>> roughly 200 symbols in my eSignal database. Apparently, none of
>> v> them
>>>> have changed their MTMACD levels since the day the initial scan was
>>>> run (the plotting continues each day, but the level on every ticker
>>>> remains the same). While I suppose this is possible, it seems very
>>>> unlikely to me. Moreover, the day that I set this up was November
>>>> 17, and that is the file date on all the ~MACD(Ticker) files, and no
>>>> symbol's MTMACD value has changed since that day. It seems pretty
>>>> clear that something is not updating correctly.
>>>>
>>>> Do I need to run a scan daily? If so, how do I do that? (Since the
>>>> first scan, all attempts to redo it are met with the "no buy or sell
>>>> arguments" error.)
>>>>
>>>> I also try to explore with a different file for crosses. But my
>>>> methodology is obviously wrong. Crosses that clearly happened 9
>> v> bars
>>>> ago are not picked up with 'n last days = 9 [or] 10'. But they are
>>>> picked up with n last days = 15.
>>>>
>>>> I need some advice on how to do this properly, I guess, or on what
>>>> can and cannot be done.
>>>>
>>>> Yuki
>>>>
>>
>>
>>
>>
>>
>>
>>
>> v> Please note that this group is for discussion between users only.
>>
>> v> To get support from AmiBroker please send an e-mail directly to
>> v> SUPPORT {at} amibroker.com
>>
>> v> For other support material please check also:
>> v> http://www.amibroker.com/support.html
>>
>>
>> v> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>> Best,
>>
>> Yuki
>>
>>
>>
>>
>> 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 other support material please check also:
>> http://www.amibroker.com/support.html
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
TJ> Please note that this group is for discussion between users only.
TJ> To get support from AmiBroker please send an e-mail directly to
TJ> SUPPORT {at} amibroker.com
TJ> For other support material please check also:
TJ> http://www.amibroker.com/support.html
TJ> Yahoo! Groups Links
Best,
Yuki
------------------------ Yahoo! Groups Sponsor --------------------~-->
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/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 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/
<*> 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/
|