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

[amibroker] Non 1 values for sell and cover



PureBytes Links

Trading Reference Links




Hi - 
 
Somethings confusing me with my 
systems.
 
If I write some code, for example:
 
iif(sell,do something, do something 
else)
or
flip (buy,sell)
 
I assume AFL is looking for values of sell where 
sell=1 (true or false), so what happens if sell 
is = 2, 3 or 4? (Max stopped, profit stopped or trailing stopped?)Does the AFL 
still recognise a true (logical) value of sell that is not zero or 
1?
 
Thanks
 
Andy






Yahoo! Groups Sponsor


ADVERTISEMENT









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.