PureBytes Links
Trading Reference Links
|
on going from previous post, why is my Buyprice assigned the *low* of the bar even though
I specify what the value should be??? I checked back throught the archives, and this all
seems kosher code.......
Buy1 = Time AND H > ValueWhen(TimeNum()==100000,O) + 0.0020 AND Stoka > Stok; // so here
"buy1" variable is assigned price - which is definitely not the low for 99.9% of instances
Buy = Buy1 ;
BuyPrice = ValueWhen(Buy,Buy1) + 0.0004; //Price is always the low of the bar, not the
value that caused the Buy condition to be true + spread of 0.0004
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/
|