PureBytes Links
Trading Reference Links
|
Hi
I want to use the Cross function for a buy stop signal as explained
in the manual p120 i.e. when the price rises say 10 points above the
Open then Buy (on that day only), as in the line
Buy = Cross(High,Open +10 );
However Buy appears to sometimes return false when the high is > 10
points above the open.
While the line
BuyStop= (H-O) > 10;
works every time.
Below is a commentary which demonstrates it.
Buy = Cross(High,Open +10 );
BuyStop= (H-O) > 10;
HighLessOpen = H-O;
"Buy is " + WriteVal(Buy );
"BuyStop is " + WriteVal(BuyStop);
"H - O is " + WriteVal(HighLessOpen );
I've hunted as best throught the threads but can't find an
appropriate answer.
Have I missed the point somewhere?
Peter
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/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/
|