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

Re: M is for Market



PureBytes Links

Trading Reference Links

Dan,

You can hold a condition true for X bars with the function ALERT.

Pierre Tremblay


Dan Harels a écrit :

> Maybe I am making this too hard but, I want to test a system that enters
> long trades only when the market is bullish.  I have several ideas for
> conditions that would say that the market is "bullish" however, I need to
> code them so that they stay true until I get an entry signal based on
> another condition.  In other words:
>
> Condition 1 = Bullish
>
> some time later
>
> Condition 2 = Enter position
>
> How do I hold condition 1 true until condition 2 is triggered?
>
> Thanks,
>
> Dan
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail