PureBytes Links
Trading Reference Links
|
sorry I am not sure what you want to do. I just pointed out how AB markers
can be used and hope it helps you find a solution,
rgds, Ed
----- Original Message -----
From: "Arthur Fitzgerald" <aff392@xxxxxxxxxxx>
To: "ed nl" <ed2000nl@xxxxxxx>
Sent: Wednesday, November 17, 2004 4:14 PM
Subject: Re: [amibroker] AB Marker help
>
> Ed,
>
> Thanks again for the code and the explanation. Just would like to AB to
> define the Marker Bars in term of each others Bars High and Close.
>
> Thanks,
> Art
>
> ----- Original Message -----
> From: "ed nl" <ed2000nl@xxxxxxx>
> To: "Arthur Fitzgerald" <aff392@xxxxxxxxxxx>
> Sent: Wednesday, November 17, 2004 9:57 AM
> Subject: Re: [amibroker] AB Marker help
>
>
>> hi,
>>
>> what that code does is that once you marked a piece of the chart with the
>> "Amibroker markers" (with length N bars) it puts the marked section of
>> the array inside other arrays (xoh, xhh etc). Then it goes through the
>> list of symbols and fits this selected piece of array on the last N point
>> of the symbols in the list. So then it finds the best fit for the
>> selected pattern
>>
>> This can be used if you see a certain interesting pattern and you want to
>> see if this pattern can be found today somewhere within a list of
>> symbols.
>>
>> rgds, Ed
>>
>>
>>
>> ----- Original Message -----
>> From: "Arthur Fitzgerald" <aff392@xxxxxxxxxxx>
>> To: <ed2000nl@xxxxxxx>
>> Sent: Wednesday, November 17, 2004 3:44 PM
>> Subject: Re: [amibroker] AB Marker help
>>
>>
>>>
>>> Ed,
>>>
>>>
>>>
>>> Thanks for your response. Your code is basicly what I'm looking to do
>>> but is way over my head in understanding.
>>>
>>> The portion where you determine the fit :
>>>
>>>
>>>
>>> // the fit or correlation procedure hsum = hsum +
>>> ((xoh[j] - O[i-period+j]*scl)/xoh[j])^2 + ((xhh[j] -
>>> H[i-period+j]*scl)/xhh[j])^2 + ((xlh[j] - L[i-period+j]*scl)/xlh[j])^2 +
>>> ((xch[j] - C[i-period+j]*scl)/xch[j])^2;
>>>
>>>
>>>
>>> is as you say a least squares fit procedure. I guess I need to study
>>> that some more. I'm looking at it too simplistic.
>>>
>>> I would like to define the "fit" as a relation of the selected bars High
>>> & Close values to each other Bars High & Close in the
>>>
>>> selected range. Sorry if I'm not clear in what I'm trying to do.
>>>
>>>
>>>
>>>
>>>
>>> Thanks again for your help.
>>>
>>> Art
>>>
>>>
>>> ----- Original Message -----
>>> From: "ed nl" <ed2000nl@xxxxxxx>
>>> To: <amibroker@xxxxxxxxxxxxxxx>
>>> Sent: Wednesday, November 17, 2004 2:05 AM
>>> Subject: Re: [amibroker] AB Marker help
>>>
>>>
>>>>
>>>> don't understand your question but I did something with markers posted
>>>> here:
>>>>
>>>> http://www.amibroker.com/library/detail.php?id=339
>>>>
>>>> hope it helps,
>>>>
>>>> egds, Ed
>>>> ----- Original Message -----
>>>> From: aff392
>>>> To: amibroker@xxxxxxxxxxxxxxx
>>>> Sent: Wednesday, November 17, 2004 5:29 AM
>>>> Subject: [amibroker] AB Marker help
>>>>
>>>>
>>>>
>>>>
>>>> Is it possible for AB to find the relationship between bars defined
>>>> by
>>>> AB Markers?
>>>> I'm using the following bits of code copied from the AB library to
>>>> record
>>>> the bars of interest for Close and High values :
>>>>
>>>> StartBar = BeginValue( BarIndex() ); ;
>>>> FinishBar = EndValue( BarIndex() );
>>>>
>>>> i = StartBar;
>>>>
>>>> for (i = StartBar; i<Finishbar; i++)
>>>> {
>>>>
>>>> Cx = C[i] ;
>>>> Hx = H[i];
>>>>
>>>> }
>>>>
>>>> Don't know where to go from here.
>>>>
>>>> Can AB define the relationship between the Close and High for
>>>> each bar such to define the sequence between the markers?
>>>> As example the markers may define the bars as
>>>>
>>>> bars=C>ref(C,-2) and H>ref(H,-3) and ..........so on
>>>>
>>>> Not sure if this is clear but any direction would be appreciated.
>>>>
>>>> Maybe some truth table or coorelation function.
>>>>
>>>> Thanks
>>>> Art
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Check AmiBroker web page at:
>>>> http://www.amibroker.com/
>>>>
>>>> Check group FAQ at:
>>>> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>>>>
>>>>
>>>> Yahoo! Groups Sponsor
>>>>
>>>> Get unlimited calls to
>>>>
>>>> U.S./Canada
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Yahoo! Groups Links
>>>>
>>>> a.. To visit your group on the web, go to:
>>>> http://groups.yahoo.com/group/amibroker/
>>>>
>>>> b.. To unsubscribe from this group, send an email to:
>>>> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>>>>
>>>> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>>>> Service.
>>>>
>>>>
>>>>
>>>> [Non-text portions of this message have been removed]
>>>>
>>>>
>>>>
>>>>
>>>> Check AmiBroker web page at:
>>>> http://www.amibroker.com/
>>>>
>>>> Check group FAQ at:
>>>> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>>>> Yahoo! Groups Links
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|