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

Re: [amibroker] StoRSI on CSCO



PureBytes Links

Trading Reference Links

Don't know why the plot works on some data and not others without clicking.  However, you do not see any signals because you have not specified that you want to.  There are many options, including coloring StoRSI for buy/sell or plotting arrows.  For arrows you can use Plot() and PlotShapes().
 
Bill
 
 
 
 
----- Original Message -----
Sent: Thursday, July 05, 2007 12:22 AM
Subject: [amibroker] StoRSI on CSCO

Hello All,

I am having a small problem; sometimes on some data (for example CSCO eod data) an indicator is not being shown in the graph until i click on the chart. For example for the StoRSI code below on CSCO data i do not see the graph until i click on the graph pane; but even so, the buy and sell signals dont come up; since the StoRSI array is presumably being {EMPTY}. I tried some debugguing but could not see what i was doing wrong.. can someone help..

UpperLine = 90;
LowerLine =
10;

Plot( 100, "", colorBlue, styleNoDraw);
Plot( 0, "", colorBlue, styleNoDraw);

Plot( UpperLine, "Upper Level", colorBlue, styleLine);
Plot( LowerLine, "Lower Level", colorBlue, styleLine);
r =
RSI(8);
StoRSI =
EMA(( r - LLV( r, 8 )) / (( HHV( r, 8 )) - LLV( r, 8 )), 3 ) * 100;
Plot( StoRSI , "StoRSI", colorBlack, styleLine);
GraphXSpace =
2;

_TRACE("StoRSI:" + StoRSI);

Buy = (StoRSI < 30);
Sell = (BarsSince(Buy) == 10);

thanks
Chaitanya.


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.14/885 - Release Date: 7/3/2007 10:02 AM
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___