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

[amibroker] Re: Christopher - ? on the file Daily Jobs/Updates Quote.Bat



PureBytes Links

Trading Reference Links


Joe - a few points for you to consider:  (Please understand I'm using 
#'s more for readability's sake and not to be rude)

1 - All of the files should be looked at as a 'package', such that 
the package should always be started by running SuperUpdate.js. 
Basically, you should not run each file seperately.

2 - Before running SuperUpdate.js, you must make sure AB is already 
running.  (ie Run AB manually before SuperUPdate) As the Readme says, 
I haven't been successful starting AB from the SuperUPdate.js and 
having the quotes update work.

3 - The Batch File and the 2 Registry files are necessary so that you 
can automate the downloading of BOTH (a) most recent EOD quotes and 
(b) historical quotes (from 1/1/2000).  Amiquote currently doesn't 
have command line parameters to allow such funcitons.

3a - The registry files only 'poke' at those items that Amiquote 
uses, and it really does nothing fancy.  IMO they are safe to use, 
since i use them every day.  However, please, please be careful, 
since I'm no registry/windows expert, and always backup your system.

4 - You mention the use of multiple TLS's.  The current package uses 
only 1 TLS, for exporting of symbols with lacking quotes (i.e. <50 
quotes).  Those lacking quote symbols are exported to the TLS, and 
the Batch File downloads historical quotes for them.  In your case, I 
would question why you would maintain symbol lists in TLS files, as 
oppose to grouping symbols in AB into watchlists etc.

That's pretty much my initial thoughts.  If you want, we can take 
this offline to handle your specific case.

- chris

--- In amibroker@xxxxxxxxxxxxxxx, "Joe Landry" <jelandry@xxxx> wrote:
> CHRIS
> I'm looking at automating my daily jobs like you've done and would 
like to run Amiquote on multiple lists.
> Since my last exposure to BAT files were in the DOS days, I'm 
trying to understand what role the
> register editor plays in this and would like to know what my 
exposure is from poking new items
> in my register.   
> Clicking on your bat file, sure enough starts Amiquote but I 
stopped it very quickly and I'd like to understand more. Also would 
like to be able to point it to individual and specific Amiquote TLS's 
like I've got one for indicators, one for Profunds, one for Rydex 
funds, all separate small jobs. 
> Where can you point me so I can understand more? on creating these 
bat files and setting up the
> XP scheduler? 
> 
> Thanks in advance.
> JOE  
> PS: Let me know if I should take this offline..although your notes 
would be useful for other novices like me. 
>  
> 
>   ----- Original Message ----- 
>   From: Christoper 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Wednesday, November 17, 2004 10:03 PM
>   Subject: [amibroker] Re: Plotting Zero Axis Trend Bar
> 
> 
> 
>   Argh!  Max-Min values!!!  Forgot about those... thanks very much 
for
>   the reply Bob.
> 
>   --- In amibroker@xxxxxxxxxxxxxxx, "Bob Jagow" <bjagow@xxxx> wrote:
>   > Corey Saxe had your solution--I've pasted it below.
>   > 
>   > Regards,
>   > Bob
>   > ----
>   >  /* Instantaneous Trendline
>   > TASC V. 18:5 (18-27): Adaptive Trends and Oscillators by Ehlers
>   > AFL conversion by Corey Saxe */
>   >  //SetBarsRequired(10000,10000);
>   >  Y=(H+L)/2;
>   >  pi = 4 * atan(1) ; //Pi
>   >  RTD = 180/pi;//radians to degrees
>   >  DTR = pi/180;//degrees to radians
>   > 
>   > //InPhase & Quad Components-----
>   >  V1=Y-Ref(Y,-6);
>   >  V2=Ref(V1,-3);
>   >  V3 =0.75*(V1 - Ref(V1,-6)) + 0.25*(Ref(V1,-2)- Ref(V1,-4));
>   >  IP = AMA(V2,0.33);
>   >  Quad = AMA(V3,0.2);
>   > //Use ArcTan to compute the current phase---
>   >  Phase=IIf (abs(IP + Ref(IP,-1)) > 0,
>   >  atan(abs( (Quad+Ref(Quad,-1)) / ( IP + Ref(IP,-1) ))) * RTD, 
0);
>   > 
>   >  Phase=IIf (IP < 0 AND Quad > 0, 180 - Phase,
>   >  IIf (IP < 0 AND Quad < 0, 180 + Phase,
>   >  IIf (IP > 0 AND Quad < 0, 360 - Phase, Phase)));
>   > 
>   > //Compute differential phase-------
>   >   DP = Ref(Phase,-1) - Phase;//DeltaPhase
>   >   DP = IIf ( Ref(Phase,-1) < 90 AND Phase > 270, 360 + Ref
(Phase,-1) -
>   > Phase, DP);
>   >   DP = IIf (DP < 1 , 1, IIf (DP > 60, 60, DP));
>   > 
>   > //Sum deltaphases, sum is Instantaneous Period--
>   > instper=0; V4=0;
>   > for(i=40;i<BarCount;i++)
>   > {
>   > for(j=0;j<40;j++)
>   > {
>   > V4[i]=V4[i] + DP[i-j];
>   > if(V4[i]>360 AND InstPer[i]==0) InstPer[i]=j;
>   > }
>   > }
>   > 
>   > //Resolve Instantaneous Period errors & smooth---
>   > instper=IIf(instper==0,40,instper);
>   > V5=AMA(InstPer,0.25);
>   > 
>   > period=int(V5);
>   > Adj=Param("MS Adj",2,0,3,1);
>   > TL=Sum(Y,period+Adj)/(period+Adj);//Trendline
>   > V11=AMA(Y+0.5*(Y-Ref(Y,-3)),0.33);
>   > 
>   > Plot(V11, "Sig",3,1);
>   > Plot(TL, "Trendline",0,1);
>   > Plot(C,"Prices",2,128);
>   > //Plot(V11-TL,"Diff",IIf((V11-TL)<0,4,5),1|styleOwnScale);
>   > dir1 =TL>Ref(TL,-1);
>   > dir2 =V11>TL;
>   > 
>   > Plot( 2.5,"TL>Ref(TL,-1)",IIf( dir1, colorGreen,
>   > colorRed ),styleOwnScale|styleArea|styleNoLabel, 0, 100);
>   > Plot
(3,"black",colorBlack,styleOwnScale|styleArea|styleNoLabel,0,
>   > 100 );//black line
>   > Plot( 5.5,"TL>Sig",IIf( dir2, colorGreen,
>   > colorRed ),styleOwnScale|styleArea|styleNoLabel, 0, 100);
>   > GraphXSpace=5;
>   > Title=" Ehlers Instantaneous Trendline ";
>   > 
>   > -----Original Message-----
>   > From: Christoper [mailto:turkey@x...]
>   > Sent: Wednesday, November 17, 2004 7:16 PM
>   > To: amibroker@xxxxxxxxxxxxxxx
>   > Subject: [amibroker] Plotting Zero Axis Trend Bar
>   > 
>   > 
>   > 
>   > 
>   > How do you plot a thick horizontal line at the bottom of a 
graph?
>   > 
>   > For example, I have a trend system, and I would like to plot 
the OHLC,
>   > with a colored bar on teh bottom (green and red).  I don't have 
an
>   > issue with the colors, but just getting a thick bar at the 
bottom.  I
>   > can plot a really thin line, but that's too thin.
>   > 
>   > - chris
>   > 
>   > 
>   > 
>   > 
>   > 
>   > 
>   > Check AmiBroker web page at:
>   > http://www.amibroker.com/
>   > 
>   > Check group FAQ at:
>   > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>   > Yahoo! Groups Links
> 
> 
> 
> 
> 
>   Check AmiBroker web page at:
>   http://www.amibroker.com/
> 
>   Check group FAQ at: 
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> 
>         Yahoo! Groups Sponsor 
>               ADVERTISEMENT
>              
>        
>        
> 
> 
> --------------------------------------------------------------------
----------
>   Yahoo! Groups Links
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/amibroker/
>       
>     b.. To unsubscribe from this group, send an email to:
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
>       
>     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
> 
> 
> 
> [Non-text portions of this message have been removed]





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/