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

[amibroker] Can Timeframe be changed per ChartSheet



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, "elee67" <elee67@xxxx> wrote:
> Thanks much for the fast response. That is another plus on the 
> Amibroker side :)
> 
> I've looked at the function.. nice...
> 
> I realize the code was posted and in the magazine, however it does 
> not appear to be same as the wealth-lab code in that the S&C code 
> for amibroker only performs an analysis and generates the TPR #. 
the 
> wealth-lab code seems to go through history and also draw out the 
> symmetrical triangles and convergence lines. In trying to translate 
> the wealth code over to amibroker, I found that the linearray 
> function doesn't seem like it likes to be in a for loop. Does this 
> mean I have to create an array that holds the points I need to plot 
> and wait till after the function has iterated through all the bars?

There is no problem with Linearray() function inside a for loop.
Enjoy the example in your Indicator builder :

 x=Cum(1);
z0=LastValue(Cum(1))-160;
x0=0;y0=0;x1=0;y1=0;R=30;
DIS=50;MAg=10;Coeff=0.5;Cc=0;
for(i=BarCount-200;i<BarCount-10;i++)
{
x0[i]=i;
y0[i]=sqrt(R^2-Coeff*(i-z0)^2)-5;
Plot(LineArray(x0[i],y0[i],x0[i]+dis,MAg*y0[i]+dis,0),"",colorRed+Cc%
2,1);
y1[i]=-sqrt(R^2-Coeff*(i-z0)^2)-5;
Plot(LineArray(x0[i],y1[i],x0[i]+dis,MAg*y1[i]+dis,0),"",colorRed+Cc%
2,1);
Cc=Cc+1;
}
Plot(y0,"",colorRed,8);Plot(y1,"",colorRed,8);
Plot(dis+Ref(MAg*y0,-dis),"",colorBlack,8);
Plot(dis+Ref(MAg*y1,-dis),"",colorBlack,8);

Dimitris Tsokakis
> Also, on the ROC function in wealth, they have an optional bar 
> parameter which ami doesn't seem to have.. not sure if that has any 
> effects.
> 
> Thanks!
> 
> Ps - I'm not back to 50/50 on a choice :)
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" 
<amibroker@xxxx> 
> wrote:
> > Hello,
> > 
> > Drawing capabilities are already there. 
> > You can draw all of that using plot and linearray functions 
> http://www.amibroker.com/f?linearray
> > 
> > BTW: The code for "Mechanically Recognizing Triangular 
Formations" 
> from March S&C
> > is _published_ already in the magazine itself as well as in the 
> members-only area of AmiBroker site.
> > 
> > And AmiBroker is better than WLab in almost every area not 
> mentioning
> > lower price.
> > 
> > Some of the limitations of WLab:
> > - does not refresh indicators in real time (it refreshes only 
> after bar is completed)
> > - is not able to handle large databases - not able to import few 
> years of intraday history
> > - have to purchase costly ($100) special add-ons for features 
that 
> are built-in
> >   in AmiBroker (see composites)
> > - has no handling of categories sectors/industries
> > - more than 10x slower than AmiBroker
> > - no N-tick charts
> > - has limited coverage of free eod data sources (only Yahoo)
> > - no features like interpretation/commentary
> > - no real time quote window (level-I display)
> > 
> > 
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> > ----- Original Message ----- 
> > From: "elee67" <elee67@xxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Monday, February 23, 2004 1:10 AM
> > Subject: [amibroker] Evaluating ami and wealth labs / Triangle 
> Pattern
> > 
> > 
> > > Hello,
> > > 
> > > I'm in the process of evaluating some software packages. I 
> started 
> > > out with TC2000, then moved off to Genesis Trade Navigator a 
> year 
> > > ago and now find it lacking somewhat. I also subscribe to 
Stocks 
> & 
> > > Commodities magazine(great mag!).. Anyway, In doing my research 
> I've 
> > > found some comments that AmiBroker appears to be a bit lacking 
> in 
> > > the drawing department, however it does make others look like a 
> > > tortoise compared to the hare(amibroker) :)....
> > > 
> > > Any ideas if additional drawing capabilities will be available 
> for 
> > > the AFL language?
> > > 
> > > Also, I was examining the triangle pattern recognition formula 
> in 
> > > the March Issue of S&C.. Looks very interesting.. However, it 
> > > appears that with AmiBroker, it identifies it via the TPR 
> whereas 
> > > with a few other systems(Wealth Labs), there appears to be a 
> good 
> > > way to draw the symmetrical triangle and convergence lines on 
> the 
> > > graph itself. I tried to see if there was a decent way to use 
> the 
> > > same code in AFL..but didn't seem like there was.
> > > 
> > > Anyway, Since this group is primarily Amibroker.. just 
wondering 
> > > what other comments would be on the product itself and if there 
> was 
> > > a way to program in AFL a symmetrical triangle recognition and 
> draw 
> > > it :).
> > > 
> > > Thanks!
> > > 
> > > 
> > > 
> > > 
> > > Send BUG REPORTS to bugs@xxxx
> > > Send SUGGESTIONS to suggest@xxxx
> > > -----------------------------------------
> > > 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
> > > 
> > > 
> > > 
> > >  
> > > 
> > >



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/