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

[amibroker] Re: Scan for buy signal that doesn't have sell signal after it.



PureBytes Links

Trading Reference Links

Dear Graham,

Thank you for your reply,

I have tried the code with scan function, I didn't know if this right 
or not but the result seems to be wrong.

This is what I have used:

Buy=Cross(MACD(),Signal());
Sell=Cross(Signal(), MACD());
Search = BarsSince(Buy)<=5 AND BarsSince(Buy)<BarsSince(Sell);

Please advice.

With the best regards.



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.7/620 - Release Date: 1/8/2007 4:12 PM