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

Re: [amibroker] AB Guru's help, please.



PureBytes Links

Trading Reference Links

Mike My take on this is: "Todays Open = "+WriteVal(O,1.2); "Todays Low = "+WriteVal(L,1.2); "Todays High = "+WriteVal(H,1.2); "Todays Close = "+WriteVal(C,1.2); "Distance Open to Low = "+WriteVal(abs(O-L),1.3); "Distance Open to High = "+WriteVal(abs(O-H),1.3); "Distance Open to Close = "+WriteVal(abs(O-C),1.3); "Largest Distance = "+WriteVal(Max( Max(abs(O-L),abs(O-H) ) ,abs(O-C) ),1.3 ); "Smallest Distance = "+WriteVal(Min(Min(abs(O-L),abs(O-H) ),abs(O-C)  ),1.3 ); Largest10Avg = MA(  Max(  Max(abs(O-L),abs(O-H)) ,abs(O-C) ),10) ; Smallest10Avg = MA( Min(  Min(abs(O-L),abs(O-H) ) ,abs(O-C) ) ,10) ; Plot(MA(  Max(  Max(abs(O-L),abs(O-H)) ,abs(O-C) ),10) ,"10MA Highest",colorGreen,styleLine); Plot(MA( Min(  Min(abs(O-L),abs(O-H) ) ,abs(O-C) ) ,10), "10MA Smallest",colorRed,styleLine); Steve At 02:46 PM 5/31/2003 +0000, you wrote: Hello, I am trying to develop code for charts that would help determine market range and expansion and market opens. The idea is to give an idea of the potential risks AND rewards for any trade taken during the Day, by knowing what A typical trading Day looks like. I would need to do catalog the following: open low high close the distance from the Open to the Low the distance from the Open to the High the distance from the Open to the Close the smallest distance from the Open for that day the largest distance from the Open for that day Then I would like to plot the following: the 10 Day average of the smallest distance the 10 Day average of the largest distance Yahoo! Groups Sponsor 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 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.