PureBytes Links
Trading Reference Links
|
Hi All,
Cant get the following code to generate the correct
signals i.e. macd crossing 0 if it is an hourly chart and crossing
signal line if it is a daily chart - should ONLY test for these two
conditions in the respective time frames. To the best of my limited
capabilities it seems error free. Can anyone spot an error in it?
TIA for any help.
Regards
R ====================================== INT_CHK=INTERVAL();
BC= IIf(int_CHK==inDaily,Cross(MACD(),SIGNAL()),
IIf(int_CHK==3600,Cross(MACD(),0), 0));
buy=bc;
filter=buy; =======================================
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
SPONSORED LINKS
YAHOO! GROUPS LINKS
|