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

Re: Annoying coding probem!!



PureBytes Links

Trading Reference Links

Mark:

>I wonder if someone can help me solve this annoying problem.

I agree with the other answer you got, set signal=0 before your test
conditions, then if none of them produce a signal then signal=0 coming
out the other end.

What I want to know is:

>I have got an indicator which can produce a signal mid way through the bar.

How does that work?  I understand with an indicator you can update every
tick, but what do you do with the signal?  Put up an alert or something?

A feature I really have needed is to produce a signal midway through a
bar, but in a strategy rather than an indicator.  The only way (which I
haven't yet tried) is to kludge something up with PushPop, sending
trading signals from an indicator updated every tick, to a tick chart
that gets traded.

-Alex