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

Re: [amibroker] Help..problem filling an array..



PureBytes Links

Trading Reference Links

How can I triger an alert when RSI(14) "TOUCHES" the( minr , "-100%", 
colorBlue )? and when RSI(14) "TOUCHES" the ( maxr , "0%", 
colorBlue )?

The top and bottom lines are not static. They change as the previous 
RSI 14 High and Low change.

Please help. Thanks.


barvisible = Status("barvisible");

r = RSI( 14 );

maxr = LastValue( Highest( IIf( barvisible, r, 0 ) ) );

minr = LastValue( Lowest( IIf( barvisible, r, 100 ) ) );

ranr = maxr - minr;

Plot( r, "RSI(14)", colorRed );

Plot( maxr , "0%", colorBlue );

Plot( minr , "-100%", colorBlue );

GraphXSpace = 3; 


AlertIf(??????????????????????),"","Buy alert",1);

AlertIf(??????????????????????),"","Sell alert",1);

PlotShapes(????????????????????)*shapeUpArrow,colorGreen);

PlotShapes(????????????????????)*shapeDownArrow,colorRed);



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/