PureBytes Links
Trading Reference Links
|
Herman van den Bergen wrote:
> // ... your systems code here
> BuyT = BuyPrice <= Low OR BuyPrice >= High;
> SellT = SellPrice < Low OR SellPrice > High;
> ShortT =ShortPrice < Low OR ShortPrice > High;
> CoverT = CoverPrice < Low OR CoverPrice > High;
> error = BuyT OR SellT OR ShortT OR CoverT;
> for( i = 0; i < BarCount ; i++ )
> {
> if(BuyT[i] AND Buy[i] ) Buy[i] = Buy[i] +10;
> if(SellT[i] AND Sell[i] ) Sell[i] = Sell[i] +10;
> if(ShortT[i] AND Short[i] )Short[i] = Short[i] +10;
> if(CoverT[i] AND Cover[i] ) Cover[i] = Cover[i] +10;
> }
>
Herman,
Good job with the diagnostic code. You forgot the = sign in the SellT,
ShortT, and CoverT statements as shown in the BuyT statement.
Thanks a lot for the code.
Al Venosa
[Non-text portions of this message have been removed]
------------------------ 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/
|