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

Re: can metastock do flip flops?



PureBytes Links

Trading Reference Links

Onno ...

I have built the indicator you require and have attached a .gif to display the
result.
The binary wave I believe is as you require it, and I have built a system test
to use it.
You could of course also use the expert to colour your bars as long and short
and/or use the expert symbols to flag your buy and sell points.

indicator ...
m036 onno's binary wave

long:=If(RSI(14)<30 OR Mo(12)<90,1,
      If(RSI(14)>70 OR Mo(12)>110,-1,PREVIOUS));
long;

system test ...
enter long/close short
FmlVar("m036 onno's  binary wave","long")= +1

close long/enter short
FmlVar("m036 onno's  binary wave","long")= -1

Applying the strategy to the Australian SPI over the last 15 years, is not
encouraging.
Psychologically I could not handle the results which show a significant loss
after 5 years, very most profit after 10 years, and encouraging results only
during the bull run of recent years.

Best regards ... Martin

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



Attachment Converted: "c:\eudora\attach\onno.gif"