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

[amibroker] Re: How can I show buy or sell signal arrow



PureBytes Links

Trading Reference Links

Hi Tomasz,

I have a new computer and installed AmiBroker Pro 4.8 version
yesterday. I run a simple formula which worked in my old computer. 
But it can not show buy or sell signal arrow in my new computer. 
Below is the formula:

Cond = Cross( MA (Close, 10), MA(Close, 20) );
Cond1 = Cross( MA (Close, 20), MA(Close, 10) );
Buy = Cond;
Sell = Cond1;
AlertIf( Buy, "SOUND C:\\Windows\\Media\\Ding.wav", "Audio alert", 
1 );
AlertIf( Sell, "SOUND C:\\Windows\\Media\\Ding.wav", "Audio alert", 
2 );

Could you please teach me how to solve this problem.

Thanks a lot.

Robert