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

[amibroker] Multitime frame AFL What is the mistake



PureBytes Links

Trading Reference Links

I want a multi time frame scan but getting errors,Please let me know the mistake

TimeFrameSet(in45Minutes);

StochK45=StochK(14,3);
StochD45=StochD(14,3,3);
TimeFrameRestore();

TimeFrameSet(in5Minute);

StochK5min=StochK(14,3);
StochD5min=StochD(14,3,3);
TimeFrameRestore();

Buy=(StochK45>StochD45)& Cross(StochK5min,StochD5min);
Sell=(StochD45>StochK45)&Cross(StochD5min,StochK5min);

Errors:

1) it is showing syntax error for 45 mins

2) When I scan I am keeping the settings for 5 mins then it is showing Cross of 5 minutes stochastics & ignoring whether the 45 mins stochastics is above or below it's trigger







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

**** 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:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto: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/