PureBytes Links
Trading Reference Links
|
Dimitris and all,
Flip() works in a different way - first of all
it should be used only for BOOLEAN values (0 or 1)
as it gives "true"
value from the bar when array1 was "true"
until the day when array2 is true:
result = Flip( array1, array2 );
array1 00000001000010000000
array2 00010000000000001000
result 00000001111111110000
array1 works like switch ON while
array2 works like switch OFF.
Hope this helps.
Best regards,
Tomasz Janeczko
amibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Dimitris
Tsokakis
To: <A title=amibroker@xxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Sunday, December 02, 20018:00
PM
Subject: [amibroker] HOLDTILL()
I hope that the following will make things more
clear.
Suppose that I want to hold the Close value, when
macd() crossed its signal, until the moment
stochd()
crosses 70 line.
The cross(macd(),signal()) is true at A and
B.
Which value will be holded until point C, where
cross(70,stochd()) is true?
DT
Your
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|