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

Re: [amibroker] looking into the future



PureBytes Links

Trading Reference Links

Hi CS,

Tuesday, February 25, 2003, 2:39:29 PM, you wrote:

C> Yuki, If scCMF(14) is an equation that can be solved for zero, it
C> is possible.

Well have to ask Steph about this, if he has the time these days.
It's a dll call, so I don't know if the formula is that type of
equation or not.  But I would think so, wouldn't you?

Sure gives me some hope, however.

Yuki

C> For instance, from the Toronto MetaStock Users site is a formula for MACD:

C> // By Jerry G. of http://www.torontometastockusers.com
C> A1=Param("Fast Period",12,2,100,1); // Short Period
C> B1=Param("Slow Period",26,2,100,1); // Long Period
C> T1=Param("Signal Period",9,2,100,1); // Signal Period
C> X1=2/(1+A1);
C> Y1=2/(1+B1);
C> top=EMA(C,B1)*(1-Y1)-EMA(C,A1)*(1-X1);

C> //Close required for trigger line crossover
C> S1=(EMA(MACD(A1,B1),T1)+top)/(X1-Y1);

C> //Close required for 0 value MACD
C> S2=top/(X1-Y1);
C> Plot(S1,"Close for Trigger Line Cross",3,1);
C> Plot(S2,"Close for 0 Line Cross",4,1);

C> -CS
C>   ----- Original Message ----- 
C>   From: Yuki Taga 
C>   To: amibroker@xxxxxxxxxxxxxxx 
C>   Sent: Monday, February 24, 2003 9:08 PM
C>   Subject: [amibroker] looking into the future


C>   All:

C>   I have a trend qualifier that I use with pretty decent success for
C>   short-term trading on some brokerage stocks.  The qualifier is really
C>   simple:

C>   If 2 of the 3 major brokerage stocks have scCMF(14) values greater
C>   than zero, the trend is up, else it is down.

C>   One of the drawbacks of any indicator with a fairly lengthy look back
C>   period, of course, is that it may not do what you expect on any one
C>   given day.  i.e., composite stocks down sharply, but the indicator
C>   may actually rise slightly on that day, because of the look back

C>   So my question:

C>   It it possible, via a computer, to calculate tomorrow's value of a
C>   particular indicator based on hypothetical price values?  (I'm pretty
C>   sure this could be done, but I don't know how to do it, other than by
C>   hand, which can be a very long and laborious process.)  To cut to the
C>   chase, would it even be possible to input a desired situation on a
C>   particular stock -- say, cross(0, scCMF(14)) -- and then get the
C>   computer (AB, preferably, via some kind of scan) to give me the price
C>   action that would need to take place to achieve this situation?

C>   Yuki ^_^

C>   mailto:yukitaga@xxxxxxxxxxxxx


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 http://docs.yahoo.com/info/terms/