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

Re: can metastock do flip flops?



PureBytes Links

Trading Reference Links

Onno,

This should work.

If(RSI(14)<30,2,0) +
If(RSI(14)<70 and RSI(14)>30,1,0 +
If(RSI(14)>70,-2,0)

Your buy signal would be +2; sell would be -2; anything else you
just hold your position.

Best,
Fred

Onno Goedknegt wrote:

> Ton, Gerhard, Guy and Martin, thanks for your help on this topic sofar...
> But depite your help I didn't succeed in getting a binary wave.
>
> Did you get one, Simon?
>
> I would like to put a trading system into the INDICATOR BUILDER
> and hope to see a BINARY WAVE...
>
> For example (trading system):
> ENTER LONG: RSI(14)<30 OR Mo(12)<90
> ENTER SHORT: RSI(14)>70 OR Mo(12)>110
>
> So I would like to put this into the INDICATOR BUILDER to get a BINARY WAVE.
> When this trading system generates a BUY signal the BINARY WAVE should jump
> to +1 (and stay there...) and only go back to -1 after getting a SELL signal
> (and stay there...).
>
> I hope you can help me out.
> Thanks in advance for your help!
>
> Cheers,
> Onno