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

Re: Ross Hook: Easy Language Errors



PureBytes Links

Trading Reference Links

Layne, I imported the ela file successfully with no errors.

Are you using 4.0 or 2000i?  I am using 2000i, and I believe the code has
some long names which will not run under 4.0.

That said, the indicator does not give me anything meaningful when applied
to a chart.  I haven't looked through it to infer what it is TRYING to do,
but the output graphics look like nonsense to me.  And I do know about Ross
Hooks and what they look like on the chart.

By the way, I don't understand all the Ross bashing going on here.  Ross
does not sell the holy grail; his techniques are very basic charting and
timing.  If one goes wrong using Ross' techniques, the methods  are not
being followed very well.  I believe that using indicators for trend and
Ross levels/traders-tricks/ledges/etc. for timing and stops, is very
logical.  Choice of time frame is important, and must be based on review of
past behavior.

No one sells the magic formula for trading, but Ross at least shows a
practical methodology for entries and exits and trade expectations.

Dave Johnson

-----Original Message-----
From: Layne Hermansen <lahermansen@xxxxxxxxxxxxx>
To: Dave Johnson <dsj000@xxxxxxxxxxxxxx>
Date: Saturday, September 18, 1999 6:30 PM
Subject: Re: Ross Hook: Easy Language Errors


>thanks Dave,
>
>I'm using 2000i and it came up with all the errors posted.
>Another trader msged me privately and said he had fixed the
>errors and it was not a Ross Hook at all !
>
>Layne
>
>
>----- Original Message -----
>From: Dave Johnson <dsj000@xxxxxxxxxxxxxx>
>To: Layne Hermansen <lahermansen@xxxxxxxxxxxxx>; <omega-list@xxxxxxxxxx>
>Sent: Saturday, September 18, 1999 6:10 PM
>Subject: Re: Ross Hook: Easy Language Errors
>
>
>> Layne, I imported the ela file successfully with no errors.
>>
>> Are you using 4.0 or 2000i?  I am using 2000i, and I believe the code has
>> some long names which will not run under 4.0.
>>
>> That said, the indicator does not give me anything meaningful when
applied
>> to a chart.  I haven't looked through it to infer what it is TRYING to
do,
>> but the output graphics look like nonsense to me.  And I do know about
>Ross
>> Hooks and what they look like on the chart.
>>
>> By the way, I don't understand all the Ross bashing going on here.  Ross
>> does not sell the holy grail; his techniques are very basic charting and
>> timing.  If one goes wrong using Ross' techniques, the methods  are not
>> being followed very well.  I believe that using indicators for trend and
>> Ross levels/traders-tricks/ledges/etc. for timing and stops, is very
>> logical.  Choice of time frame is important, and must be based on review
>of
>> past behavior.
>>
>> No one sells the magic formula for trading, but Ross at least shows a
>> practical methodology for entries and exits and trade expectations.
>>
>> Dave Johnson
>>
>> -----Original Message-----
>> From: Layne Hermansen <lahermansen@xxxxxxxxxxxxx>
>> To: omega-list@xxxxxxxxxx <omega-list@xxxxxxxxxx>
>> Date: Saturday, September 18, 1999 4:57 PM
>> Subject: Ross Hook: Easy Language Errors
>>
>>
>> >The Ross Hook Indicator was sent through this forum.
>> >
>> >I copied and pasted the Easy Language into the Power Editor and ran
>> 'VERIFY'
>> >it came up with some errors: ( Running 2000i)
>> >
>> >Line 12:  "[" expected here
>> >Line 12:  4 words not recognized by EL
>> >
>> >Line 14:  5 words not recognized by EL
>> >Line 15:  3 words not recognized by EL
>> >
>> >Line 16:  3 words not recognized by EL
>> >Line 21:  1 word not recognized
>> >
>> >and so forth.
>> >
>> >Has anyone else fixed these errors?  If so, could you please send the
>> >corrected version?
>> >
>> >Here is the original:
>> >
>> >A Ross Hook. Trade the breakout of the point.
>> >
>> >   |
>> >  |  |
>> > |
>> >|
>> >
>> >I have the following Ross Hook indicator. Never used it and have no idea
>> >where I got it. Don't even know how or if it works. I just collect this
>> kind
>> >of thing with the idea of looking it over before I die. Probably won't.
>> >
>> >Use at your own risk.
>> >
>> >JFB
>> >Shaven Heads Trading
>> >NYC
>> >
>> >------------------------------------------
>> >INPUT:  GannDays(4),SigExpir(50);
>> >VAR:
>>
>>MarketHigh(-99999),MarketLow(999999),PHi(0),PLo(0),Idx(0),PrevPHiBar(0),PB
a
>> r
>> >Count(0),LowestPLo(0),LowestPLoBar(0),PLoFound(FALSE),Lo2HiDays(0),
>> >
>>
>>TempBuyPrice(0),TempBuyBar(0),TempBuyON(FALSE),PrevPLoBar(0),HighestPHi(0)
,
>> H
>> >ighestPHiBar(0),PHiFound(FALSE),Hi2LoDays(0),
>> >        TempSellPrice(0),TempSellBar(0),TempSellON(FALSE);
>> >
>> >ARRAY:
>PHiBar[1500](0),PHiPrice[1500](0),PLoBar[1500](0),PLoPrice[1500](0);
>> >
>> >
>> >
>> >PLoFound=FALSE;
>> >PHiFound=FALSE;
>> >
>> >If High>MarketHigh Then {Capture Highest High of Market}
>> >MarketHigh=High
>> >Else
>> >MarketHigh=MarketHigh[1];
>> >
>> >If Low<MarketLow Then    {Capture Lowest Low of Market}
>> >MarketLow=Low
>> >Else
>> >MarketLow=MarketLow[1];
>> >
>> >If High<High[1] and High[1]>High[2]    {Identify Privot Highs}
>> >Then Begin
>> >PHi=PHi+1; {Pivot High Counter}
>> >PHiBar[Phi]=CurrentBar -1;    {Most Recent Pivot High Bar}
>> >PHiPrice[PHi]=High[1];           {Most Recent Pivot High Price}
>> >
>> >If Low>Low[1] and Low[1]<Low[2]
>> >Then Begin
>> >PLo=PLo+1;
>> >PLoBar[PLo]=CurrentBar-1;
>> >PLoPrice[PLo]=Low[1];
>> >End;
>> >
>> >If PHiBar[PHi]=CurrentBar -1 and PHiPrice[PHi]<MarketHigh and PHi>1 and
>> >PLo>1
>> >Then Begin
>> >For Idx=PHi-1 DownTo 1
>> >Begin
>> >If PHiPrice[PHi]<PHiPrice[Idx]
>> >Then Begin
>> >PrevPHiBar=PHiBar[Idx];
>> >Idx=1;
>> >End;
>> >End;
>> >
>> >PBarCount=PHiBar[PHi]-PrevPHiBar;
>> >
>> >If PBarCount>GannDays
>> >Then Begin
>> >LowestPlo=PLoPrice[PLo];
>> >LowestPLoBar=PLoBar[PLo];
>> >
>> >For Idx=PLo-1 DownTo 1
>> >Begin
>> >
>> >If PLoBar[Idx]>PrevPHiBar
>> >Then Begin
>> >If LowestPLo>PLoPrice[Idx]
>> >Then Begin
>> >LowestPLo=PLoPrice[Idx];
>> >LowestPLoBar=PLoBar[Idx];
>> >PLoFound=TRUE;
>> >End;
>> >End Else
>> >Idx=1;
>> >End;
>> >End;
>> >
>> >If PLoFound
>> >Then Begin
>> >Lo2HiDays=PHiBar[Phi]-LowestPLoBar;
>> >If Lo2HiDays>=GannDays and PHiBar[PHi]>TempBuyBar
>> >Then Begin
>> >TempBuyPrice=PHiPrice[PHi];
>> >TempBuyBar=PHiBar[PHi];
>> >TempBuyOn=TRUE;
>> >End;
>> >End;
>> >End;
>> >
>> >
>> >If TempBuyON
>> >Then Begin
>> >If High<TempBuyPrice and CurrentBar-TempBuyBar<=SigExpir
>> >Then
>> >Plot1(TempBuyPrice+1*MinMove POINT,"Phi")
>> >Else
>> >TempBuyON=FALSE;
>> >End;
>> >
>> >
>> >If PLoBar[PLo]=CurrentBar-1 and PLoPrice[PLo]>MarketLow and PHi>1 and
>PLo>1
>> >Then Begin
>> >PBarCount=0;
>> >For Idx=PLo-1 DownTo 1
>> >Begin
>> >If PLoPrice[PLo]>PLoPrice[Idx]
>> >Then Begin
>> >PrevPLoBar=PLoBar[Idx];
>> >PBarCount=PLoBar[PLo]-PrevPLoBar;
>> >Idx=1;
>> >End;
>> >End;
>> >
>> >If PBarCount>GannDays
>> >Then Begin
>> >HighestPHi=PHiPrice[PHi];
>> >HighestPHiBar=PHiBar[PHi];
>> >For Idx=PHi-1 DownTo 1
>> >Begin
>> >If PHiBar[Idx]>PrevPLoBar
>> >Then Begin
>> >If HighestPHi<PHiPrice[Idx]
>> >Then Begin
>> >HighestPHi=PHiPrice[Idx];
>> >HighestPHiBar=PHiBar[Idx];
>> >PHiFound=TRUE;
>> >End;
>> >End Else
>> >Idx=1;
>> >End;
>> >End;
>> >
>> >If PHiFound
>> >Then Begin
>> >Hi2LoDays=PloBar[PLo]-HighestPHiBar;
>> >If Hi2LoDays>GannDays and PLoBar[PLo]>TempSellBar
>> >Then Begin
>> >TempSellPrice=PLoPrice[PLo];
>> >TempSellBar=PLoBar[PLo];
>> >TempSellOn=TRUE;
>> >End;
>> >End;
>> >End;
>> >
>> >If TempSellON
>> >Then Begin
>> >If Low>TempSellPrice and CurrentBar-TempSellBar<=SigExpir
>> >Then Plot2(TempSellPrice-1*MinMove POINT,"PLo")
>> >Else TEMPSellON=FALSE;
>> >End;
>> >End;
>> >
>> >*************************  the end
>> >
>> >
>> >
>> >
>