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

Re: Coding help



PureBytes Links

Trading Reference Links

<x-flowed>
>From: Brian Keith Voiles <admagic@xxxxxxxx>
>To: omega-list@xxxxxxxxxx
>Subject: Coding help
>Date: Mon, 11 Sep 2000 22:45:20 -0600
>
>I apologize... I really am trying to learn how to write this ELA stuff.
>Could someone give me a hand with these 2 entry forecasting models:

>ONE:
>
>Close of previous day * .0125 = X
>Open of next day + X = Buy Target
>Open of next day - X = Sell Target
>Trailing Stop = $1250 and bail-out stop eqaul $2000

Buy at open next bar + c*.0125 stop{? I'm not exactly sure what you are 
thinking};
Sell at open next bar - c*.0125 stop;
{set stops in "format system" in TS4}

>TWO:
>Close of previous day * .0125 = X
>Close of previous day + X = Buy Target for NEXT day
>Close of previous day - X = Sell Target for NEXT day
>Trailing Stop = $1250 and bail-out stop eqaul $2000

Buy at c + c*.0125 stop:
Sell at c - c*.0125 stop;
{set stops in "format system" in TS4}

You might want to make "X" an input (inputs: X(.0125);).

"Yesterday," or two days before your entry would be: c[1] instead of c.


Bill Wynne

Bill@xxxxxxxxxxxxxxx


>Thanks to any assistance.   I'm 154 pages into Omega's
>Easy Language manual..
and really struggling to "get" it.
>Warmly,
>Brian Voiles
>




</x-flowed>