PureBytes Links
Trading Reference Links
|
I am a newbie of AFL. Below is a formula which I wrote about ema
cross and macd cross.
*****
ema cross and macd cross
Cond = Cross( MACD(12, 26), Signal(12, 26, 9) );
Cond1 = Cross( Signal(12, 26, 9), MACD(12, 26) );
Cond2 = Cross(EMA(Close, 10), EMA(Close, 20) );
Cond3 = Cross(EMA(Close, 20), EMA(Close, 10) );
Buy = Cond OR Cond2;
Sell = Cond1 OR Cond3;
*****
All signal arrows are either green(for buy) or red(for sell) in the
chart right now. I hope diff color arrows can indicate ema cross
signals and macd cross signals.
Foe example, I like to use pink and blue for macd cross signals. How
do I add colors with this formula?
Any help is appreciated.
Robert
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|