PureBytes Links
Trading Reference Links
|
I'm having difficulty with results from exploration and scan functions.
I've written one program to filter and buy and sell so that I can explore or scan as needed.
My review of the instructions indicated that Explore is used with a filter. In the code, I set up my filter, ran Explore, and reviewed the data. It looked correct. So far, so good.
Farther down in the program, I used the same code for a buy signal. I ran Scan and I saw only sell signals from my sell criteria. The buy signals were not there.
I seem to have missed something in the purposes of exploration and scan or am overwriting other data.
Here are the filter and buy criteria:
//Filter is for exploration
Filter =
diff > diff10 AND
C > 5.0 AND
ROC(C,10) > 0 AND
PDI(10) > MDI(10) AND
ADX(10)>25 AND
C > EMA(C,10) AND
EMA(C,10) > EMA(C,20) AND
C > TrailStop AND
Open > TrailStop AND
C > TrailStopLine;
Buy =
diff > diff10 AND
C > 5.0 AND
ROC(C,10) > 0.0 AND
PDI(10) > MDI(10) AND
ADX(10)>25 AND
C > EMA(C,10) AND
EMA(C,10) > EMA(C,20) AND
C > TrailStop AND
Open > TrailStop AND
C >TrailStopLine;
Any suggestions?
------------------------------------
**** 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/
|