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

Re: Alertif Frustration



PureBytes Links

Trading Reference Links

dingo,

Do you have the Alert output window open ?

Go to the View menu and select Alert Output.

HB

--- In amibroker@xxxx, "dingo" <dingo@xxxx> wrote:
> I'm trying to implement the AlertIf function and as you will see I
> "don't get it"!
> 
> Please consider the following formula:
> 
> StochRsi=EMA((RSI(8)-LLV(RSI(8),8))/(HHV(RSI(8),8)-LLV(RSI(8),8)),3)
*100
> ; 
> 
> tmpMA = 21; // Optimize("MA",21,5,40,1);
> 
> Buy=Cross(17,StochRsi)AND Ref(MA(C,tmpMA),-1) < MA(C,tmpMA);
> 
> Sell=Cross(StochRsi,83);
> 
> Short=Cross(StochRsi,83) AND Ref(MA(C,tmpMA),-1) > MA(C,tmpMA); 
> 
> Cover=Cross(17,StochRsi);
> 
> tmpDaysBack = 1;
> 
> AlertIf( Buy, "", "Buy Alert", 1, 3, tmpDaysBack );
> 
> AlertIf( Sell, "", "Sell Alert", 2, 3, tmpDaysBack );
> 
> AlertIf( Short, "", "Short Alert", 3, 3, tmpDaysBack );
> 
> AlertIf( Cover, "", "Cover Alert", 4, 3, tmpDaysBack );
> 
> The formula produced a Cover arrow (although invisible) for 
7/24/2002.
> The From dates are 3/1/2000 - 7/25/2002. I'm running the formula 
in the
> AA window. What am I supposed to be seeing and where? Is it 
supposed to
> be a message box with the Text in it? I've tried all kinds of
> tmpDaysBack settings from 0 to 7. 
> 
> I'm stumped!
> 
> d