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

Re: [amibroker] RE; Bob Jagow "LineArray"



PureBytes Links

Trading Reference Links

you could try creating a formula for the line
Line = (y1-y0) / (x1-x0) + y0;

then use Cross(C,Line);



On Sat, 05 Mar 2005 19:20:47 -0000, ckinsey2003 <ckinsey2003@xxxxxxxxx> wrote:
> 
> 
> Thanks for your input Bob. But nobody has yet shown me how to Explore
> or Backtest the History of a Stock with LineArray.. I did not mean to
> confuse things using the CCI as an example. Take a Stocks price for
> example (all positive values). Draw a extended LineArray across all
> neighboring PEAKS for the 1 year history of that stock. Then BUY =
> cross(C, LineArray); For me that CROSS only shows in an AA for the
> last historical "Line" on that stock (if there was a cross). Not much
> of an Explore or Backtest.
> 
> ****************************
> How can I Detect
> CROSS( C, LineArray);
> For many LineArrays over a stocks history for Explore or Backtest?
> ****************************
> 
> I don't want to Draw STUDYs. Too subjective for me and I like to
> Backtest in mass. Then, if things look interesting I Refine from
> there. Thanks for your tip on up scaling the CCI so it is always
> positive for PEAKS test.
> 
> Jack Kinsey
> 
> Jack,
> LINEARRAY-generated lines are fine, I was complaining only that you can't
> use Study() to localize their use.
> I get by with watchlists and CHARTID, but miss a layer-enabled linearray.
> 
> Although anything's possible, I see a lot of problems in developing a
> backtest version of your trendline break code.
> No point in worrying about backtesting unless explore/scan/plot proves
> interesting, so why not scan and explore hand-drawn study lines to
> prove the
> concept?
> 
> If you pass that gate, it's a lot easier IMO to use Peak(sCCI,chng,n) and
> Peak(sCCI,chng,n), where sCCI is shifted up for use with Peak--e.g.
> [sCCI =
> CCI() + 400].
> 
> Bob
> 
> 
> 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
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/