PureBytes Links
Trading Reference Links
|
Hi folks,
Here is the code for the ShowMe, I simplified it by using Omega's functions
You may transform it into a signal if you want.
Greetings from Paris
Phil
*****************************************}
Inputs: Minutes(60); {Temps pendant lequel le Systeme cherche le plus haut
et le plus bas}
Vars: TimeEnd(0), LowestLow(0), HighestHigh(0), BarsBackLow(0),
BarsBackHigh(0),NbBars(0);
NbBars = Minutes/BarInterVal;
TimeEnd = CalcTime(Sess1StartTime,Minutes);
If _GoodTicks and Time > TimeEnd and Time <= CalcTime(TimeEnd,BarInterval)
then begin
{Calcul des Bars en arriere pour les Plots}
BarsBackLow = LowestBar(Low,NbBars);
BarsBackHigh = HighestBar(High,NbBars);
{Calcul du plus haut et du plus bas}
LowestLow = Lowest(Low,NbBars);
HighestHigh= Highest(High,NbBars);
Plot1[BarsBackLow](LowestLow, "Lowest Low");
Plot2[BarsBackHigh](HighestHigh, "Highest High");
end;
-----Original Message-----
From: Bernie [mailto:eurobernie@xxxxxx]
Sent: Wednesday, September 20, 2000 4:15 PM
To: Doug Fields
Cc: Omega_List
Subject: RE: EasyLanguage for "First hour high/low"
Hello Doug and everybody.
I have a system in ELA about "First hour high/low". I send you the code. But
I think is not exactly. You can learn this code to help you.
I am interested to buy and to sell when the bar (20 minutes, 30 minutes, or
60 minutes) have finished.
See you.
INPUT:BEGINCH(SESS1STARTTIME),ENDCH(0930),VAR1(10),VAR2(10);
VARS:CH(H),CL(L);
IF TIME >= BEGINCH AND TIME <= ENDCH THEN BEGIN
CH = H;
CL = L;
END;
IF TIME >= BEGINCH AND TIME <= ENDCH THEN BEGIN
IF H > CH THEN CH = H;
IF L < CL THEN CL = L;
END;
IF TIME > ENDCH AND DATE = DATE THEN BEGIN
BUY AT CH + VAR1 POINT STOP;
SELL AT CL - VAR2 POINT STOP;
END;{SESS1STARTTIME}
----- Original Message -----
From: Doug Fields <dfields@xxxxxxxxxxxxx>
To: Philippe Lhermie <philippe.lhermie@xxxxxxx>
Cc: OMEGA-LIST <omega-list@xxxxxxxxxx>
Sent: Monday, September 18, 2000 6:05 PM
Subject: Re: EasyLanguage for "First hour high/low"
> Hi Philippe,
>
> My thought about the first few minutes of high and low is that:
>
> When the market opens, there's a lot of stuff going on in the beginning
> (especially on the open), which is probably related more to longer term
> traders than intra-day traders.
>
> I like to get an "opening range" to get a feel for where the longer term
> players push the market in the beginning.
>
> I'm playing with various time periods for this, currently 20 to 60
minutes.
>
> For example, QQQ today had a large range in the beginning before starting
a
> reliable trend down around 10:30 AM. That trend seems to have dried up now
> at noon-ish, but dipped below the 60 minute low on good volume at
11:30-ish.
>
> The beginning and close is IMO generally the most volatile, so I like to
see
> "just how" volatile it is.
>
> Cheers,
>
> Doug
>
> > I created this system below in order to get an idea of what range my
> > stoploss should be below my entry position.
> > It also gives me the time when the Highest High or Lowst Low happen
> > I then exported all the results into excel in order to make some
> statistics.
> > I learnt a lot with it
> >
> > Please tell me what you are experiencing, we can share ideas and
systems!
>
>
|