PureBytes Links
Trading Reference Links
|
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.
__._,_.___
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
__,_._,___
|