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

[amibroker] Contiguous cross signal



PureBytes Links

Trading Reference Links

Hi. I'm TOBY.

I'm making some cross systems...

When making it shown in the next figure.
http://tobysoft.net/archives/AmiBroker/CrossSignalA.png

--------------------
Value = ...

LineA = 20;
Buy = Cross(Value, LineA);
Sell = Cross(LineB, Value);
--------------------
It is good by the above formula.


However...

When making it shown in the next figure.
http://tobysoft.net/archives/AmiBroker/CrossSignalB.png

I do not understand what kind of formula should be written.
I want to make some contiguous cross signals.
Isn't there any good method?
--
TOBY
E-MAIL: t-o-b-y(at mark)tobysoft.net
URL: http://tobysoft.net/