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

[amibroker] Re: Code Help



PureBytes Links

Trading Reference Links


Shouldn't  

Sell=C<LLV(L,3)AND MA(C,15)> MA(C,45);
> Buy=C>HHV(H,3)AND MA(C,15)< MA(C,45);

be:

Sell=C<LLV(L,3)AND MA(C,15)< MA(C,45);
> Buy=C>HHV(H,3)AND MA(C,15)> MA(C,45);

(i reversed the signs between the MA)

--- In amibroker@xxxxxxxxxxxxxxx, "iascool" <sai20_2000@xxxx> wrote:
> 
> 
> 
> Iam trying to code 
> buy at 3days high  with 15MA > 45MA
> and sell at 3day low with 15ma<45MA
> for Real time , with scan every 5min checked ,Iam not getting the 
> alerts , am I wronge some where? , pls advise
> 
> Sell=C<LLV(L,3)AND MA(C,15)> MA(C,45);
> Buy=C>HHV(H,3)AND MA(C,15)< MA(C,45);
> AlertIf(Buy,"BUY",FullName(),1);
> AlertIf(Sell,"SHORT",FullName(),2);
> 
> Regards
> Iascool





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/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/