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

RE: [amibroker] What is wrong with this code ??



PureBytes Links

Trading Reference Links

Hi,

i have not checked your code detailed but what i see is that you use future
quotes in your ref function: Ref( LLV( RSIa( Close, 14 ), 1)

- - - - - - - - - - - - - - - - -
Best Regards
 
Thomas
http://www.tradingbasis.com
- - - - - - - - - - - - - - - - -


-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Richard Jay
Sent: Tuesday, May 30, 2006 1:14 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] What is wrong with this code ??

Would anyone with RT Forex data care to take a look at this ??

I keep on getting Buy/Sell signals generated even though the price is 
nowhere near the Bollinger Bands. Here's the formula, plotted on 30min 
charts EUR/USD and GBP/USD:

Buy = Ref( LLV( RSIa( Close, 14 ), 1 ), 0 ) < 25 AND BarsSince( Low >= 
BBandBot( Close, 30, 3 ) ) >= 1;
Sell = Ref( HHV( RSIa( Close, 14 ), 1 ), 0 ) > 75 AND BarsSince( High >= 
BBandTop( Close, 30, 3 ) ) >= 1;




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

 
Yahoo! Groups Links



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

 
Yahoo! Groups Links

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

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