PureBytes Links
Trading Reference Links
|
I'm the last guy to advise you about programming but
just for the heck of it I altered your code to the
following:
a = DecIssues() + AdvIssues() + UncIssues();
b = DecIssues()/a;
Buy = b < 0.65; //AND RSI() < 25;
//Sell = RSI() > 50;
Notice I put b = < not >. I got 4 buys using the S&P 500
stocks. So maybe your requirements just aren't met.
I even lowered your original code to b > 0.10 and still nothing.
dom
jacquesmmathieu wrote:
Can someone please tell me what is wrong with this code? I thought it
was pretty straight forward, but I'm not getting any buy signals. I
tried adjusting the parameters, but it still won't work.
a = DecIssues() + AdvIssues() + UncIssues();
b = DecIssues()/a;
Buy = b > .65 AND C > O AND RSI() < 25;
Sell = RSI() > 50;
Thanks in advance for helping a non-programmer! You guys are really
helping me learn.
Jacques
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 other support material please check also:
http://www.amibroker.com/support.html
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 other support material please check also:
http://www.amibroker.com/support.html
---- LSpots keywords ?>
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
|