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

[amibroker] Coding trouble



PureBytes Links

Trading Reference Links

This is my first attempt to code and it does not work. Need assistance.

I want to run an exploration to produce a report lisiting every member of a watchlist where both todays Stochastic %K and the Signal line (MACD)are in uptrends.

The AFL editor sees no trouble with the coding but as I get nil results I suspect the code is defective.

I would also like to add another factor - Stochastics must be below -25 
but I gave up when the basic part did not work

StochKRising=StochK(5)>MA(C,10);
SignalRising=(Signal(5)>MA(C,10));

Filter=StochKRising AND SignalRising;

AddColumn(StochK(5),"StochK",1.2);
AddColumn(MA(C,10),"MA(C,10)",1.2);
AddColumn(Signal(5),"Signal",1.0);
AddColumn(MA(V,10),"MA(V,10)",1.0);

Any help would be appreciated



------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

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

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/