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

Re: 30 Minute Breakout system



PureBytes Links

Trading Reference Links

<x-flowed>
if time= xxxx then begin
    value1=h;
    value2=l;
end;

(xxx is the 24 hour time that your first bar ends e.g. 1600)
That "fixes" value1 to the high and value2 to the low.

Rgds
Simon.

At 17:48 25/07/2000 +0200, you wrote:
>I am trying to code a 30 minute breakout system and I am finding some
>difficulties:
>This is what I am trying to code:
>Once the first 30 minute bar has ended, I want to take the High and the
>Low of that bar.
>Then, Buy one tick above the High of the First 30 Minute bar and Sell
>one tick below the Low of the First 30 minute bar.
>I set a stop loss one tick above the First 30 Minute Bar Low for the
>buys and one tick above the First 30 Minute Bar High for the sells.
>But I get a problem because I donīt know how to refer to that 30 Minute
>Bar High and Low, as I want the system to entry during the whole day and
>so I want to keep that High and Low for future reference.
>Any help would be appreciated.
>Thanks in advance,
>Jose
>
>--
>Jose Ramon Diaz Serrano
>Director Gerente
>www.bolsagest.es
>(34) 950 25 55 35
>(34) 950 25 60 21
</x-flowed>