PureBytes Links
Trading Reference Links
|
Hi,
Still trying to figure out working with Arrays, and it's apparent there is
something I am not getting.
My understanding of the following is: If in the i bar the cross of the MACD
was true, then Buy at the High. However, Amibroker is buying in several
circumstances (including when the condition is true).
Can somebody smarter than me please translate the following formula into
English so I can finally get it?
Thanks a lot again,
Jerry
Reason= Cross( MACD(12,26), Signal(9) );
for( i = 0; i < BarCount; i++ )
{
if (Reason[i] == True)
{
Buy = H;
}
}
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006
|