The top curly bracket is backwards. Change
“}” to “{“.
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of amartinod
Sent: Thursday, December 01, 2005
6:11 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE : RE : RE :
[amibroker] New File Uploaded - Divergence
Ok, I included the afl file in a new function,
Then I had to comment out lines about the .wav
files that I do not
have,
But I have an execution error : a semi-column
seems to be missing, but I
just cannot find where.
See the included picture,
Regards,
AL,
-----Message d'origine-----
De : amibroker@xxxxxxxxxxxxxxx
[mailto:amibroker@xxxxxxxxxxxxxxx]
De la
part de Martin Cooney
Envoyé : jeudi 1 décembre 2005 13:37
À : amibroker@xxxxxxxxxxxxxxx
Objet : Re: RE : RE : [amibroker] New File
Uploaded - Divergence
amartinod,
Well the doco tells you the AFL that is included
should be used as an
#include file.
All I did was nab the existing MACD AFL code, add
the lines and save to
another name. Adding that new file produced the
result which is looking
really cool. I'm using it with a Forex feed
actually on a 5 min chart.
Slick.
Cheers
Martin
amartinod wrote:
> I tried all of them :
>
> //Issue = MACD(4,13); Issue=RSI(14);
Middle = 0;
> DivergeControl(Issue,Middle);
>
> Same Syntax error.....
>
> Al,
>
> -----Message d'origine----- De : amibroker@xxxxxxxxxxxxxxx
> [mailto:amibroker@xxxxxxxxxxxxxxx]
De la part de Martin Cooney Envoyé
> : jeudi 1 décembre 2005 11:54 À : amibroker@xxxxxxxxxxxxxxx Objet :
> Re: RE : [amibroker] New File Uploaded -
Divergence
>
> amartinod,
>
> I thought this code only does MACD, RSI or
Stochastic ? Perhaps that
> is your problem - no CCI is allowed.
>
> Martin
>
> amartinod wrote:
>> Hello, I get a syntax error when I call
the diverge function (Col
>> 15) : Issue = CCI(14);
Middle = 0;
>> DivergeControl(Issue,Middle); I added
these 3 lines in the
>> Osc-Price.afl module code, don’t
know if I was right to do that….
>> Regards,
>>
>>
>>
>>
>>
>> AL,
>>
>>
>>
>>
>>
>> -----Message d'origine----- *De :* amibroker@xxxxxxxxxxxxxxx
>> [mailto:amibroker@xxxxxxxxxxxxxxx]
*De la part de* Ara Kaloustian
>> *Envoyé :* jeudi 1 décembre 2005 04:53 *À
:*
>> amibroker@xxxxxxxxxxxxxxx
*Objet :* Re: [amibroker] New File
>> Uploaded - Divergence
>>
>>
>>
>> Martin
>>
>> This code will plot divergence lines on
the oscillator (MACD, RSI
>> or Stochastic).
>>
>> You need to set the parameters so you get
desired performance.
>>
>> Plotting the lines on price is certainly
possible, but not part of
>> this code.
>>
>> Read the PDF file for parameter settings
and description of various
>> patterns. Description is pretty
complete.
>>
>>
>> ----- Original Message ----- From:
"Martin Cooney"
>> <martin@xxxxxxxxxxxxx> To: <amibroker@xxxxxxxxxxxxxxx> Sent:
>> Wednesday, November 30, 2005 7:01 PM
Subject: Re: [amibroker] New
>> File Uploaded - Divergence
>>
>>
>>> Hi All,
>>>
>>> This looks like a really interesting
piece of code though
>>> currently a bit over my head.
>>>
>>> I was wondering whether anyone would
mind giving me some
>>> assistance in utilising this to plot
divergence lines on both
>>> price chart and/or MACD indicator
i.e. as price moves up, MACD
>>> shows divergence down, draw line on
chart (and maybe issue an
>>> alert). Obviously visa versa applies,
price down, MACD up.
>>>
>>> Is this what is possible using this
fine piece of code ?
>>>
>>> Any help would be great Cheers Martin
>>>
>
>
>
> Please note that this group is for discussion
between users only.
>
> To get support from AmiBroker please send an
e-mail directly to
> SUPPORT {at} amibroker.com
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>
>
> Please note that this group is for discussion
between users only.
>
> To get support from AmiBroker please send an
e-mail directly to
> SUPPORT {at} amibroker.com
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
>
>
>
>
> SPONSORED LINKS Investment management
software
>
<http://groups.yahoo.com/gads?t=ms&k=Investment+management+software&w1=I
nvestment+management+software&w2=Real+estate+investment+software&w3=Inve
stment+property+software&w4=Software+support&w5=Real+estate+investment+a
nalysis+software&w6=Investment+software&c=6&s=200&.sig=_XXUzbE9l5lGlZNcM
u4KNQ>
> Real estate investment software
>
<http://groups.yahoo.com/gads?t=ms&k=Real+estate+investment+software&w1=
Investment+management+software&w2=Real+estate+investment+software&w3=Inv
estment+property+software&w4=Software+support&w5=Real+estate+investment+
analysis+software&w6=Investment+software&c=6&s=200&.sig=5_sgDczz3ArKGMtJ
9tFSJA>
> Investment property software
>
<http://groups.yahoo.com/gads?t=ms&k=Investment+property+software&w1=Inv
estment+management+software&w2=Real+estate+investment+software&w3=Invest
ment+property+software&w4=Software+support&w5=Real+estate+investment+ana
lysis+software&w6=Investment+software&c=6&s=200&.sig=_N6zcwefgp4eg5n6oX5
WZw>
>
>
> Software support
>
<http://groups.yahoo.com/gads?t=ms&k=Software+support&w1=Investment+mana
gement+software&w2=Real+estate+investment+software&w3=Investment+propert
y+software&w4=Software+support&w5=Real+estate+investment+analysis+softwa
re&w6=Investment+software&c=6&s=200&.sig=MJ2jP31F3n64RDZkDadU8w>
> Real estate investment analysis
software
>
<http://groups.yahoo.com/gads?t=ms&k=Real+estate+investment+analysis+sof
tware&w1=Investment+management+software&w2=Real+estate+investment+softwa
re&w3=Investment+property+software&w4=Software+support&w5=Real+estate+in
vestment+analysis+software&w6=Investment+software&c=6&s=200&.sig=GmF8PlA
JASx0wrSaX5-Zlw>
> Investment software
>
<http://groups.yahoo.com/gads?t=ms&k=Investment+software&w1=Investment+m
anagement+software&w2=Real+estate+investment+software&w3=Investment+prop
erty+software&w4=Software+support&w5=Real+estate+investment+analysis+sof
tware&w6=Investment+software&c=6&s=200&.sig=aMgGsKT4w29dMAYUzQUKzg>
>
>
>
>
>
------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
> * Visit your group "amibroker
> <http://groups.yahoo.com/group/amibroker>"
on the web.
>
> * To unsubscribe from this group, send
an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
<mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>
> * Your use of Yahoo! Groups is subject
to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
>
------------------------------------------------------------------------
>
>
Please note that this group is for discussion
between users only.
To get support from AmiBroker please send an
e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
YAHOO! GROUPS LINKS