PureBytes Links
Trading Reference Links
|
I presume you already know how to code this in AFL. So - set up your
buy rules as "Conditions" i.e., Cond1 = MACD signal cross; Cond2 =
EMA short/long cross; Cond3 = RSI/50 cross; Buy = Cond1 + Cond2 +
Cond3; Sell = whatever you have as your sell.
--- In amibroker@xxxxxxxxxxxxxxx, "fpsteiner" <fpsteiner@xxxx> wrote:
> Hi all,
>
> One trading signal is usually not enough, so we look for
> confirmations. I use a threefold signal/confirmation of
> - MACD/signal cross
> - EMA short/EMA long cross
> - RSI/50 line cross
>
> How can I plot a step function representing these signals? A Buy
> signal from MACD/signal cross would go to 1, if confirmed by the
EMA
> signal it goes up one further, if confirmed by the RSI it finally
> reaches 3, which would be the ultimate confirmed buy signal. The
same
> for sell.
>
> ¦-------------- 3
> ¦--¦ 2
> ¦------¦ 1
> ----¦ 0
>
> I am looking forward to your hints and ideas.
>
> Good investing
> FP
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/
|