Thanks, Herman, for the added
explanation. While I do not have your situation, I will look closely to see if
I can make use of the capability you are describing.
I appreciate your response.
Ken
-----Original Message-----
From: Herman van den Bergen
[mailto:psytek@xxxxxxxx]
Sent: Monday, September 20, 2004
7:21 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Re:
Dragging to indicator pane doesn't work for me
basically I process the OHLC arrays a
number of times, at each stage i end up with new a number of OHLC arrays. Right
now I have one long program that is difficult to manage, i know i could use
Include files but they are a bit awkward to maintain - i am forever changing my
code.
With the new D&D capability i decided
to partitioning my code into modules that each produce plotable
arrays - i find this nice for debugging. I use the ParamToggle()
to turn on/off plot functions in each module. Before I had to keep track of
many variable names and make sure there were no conflicts within the long code.
The D&D operation isolates (keeps local) the variables within on Section,
so now i can use variable names without worrying that they are used
somewhere else.
Let us say my last Dropped Indicator had
three arrays that I want to pass to the module that will be dropped on it next
(implement the next stage of my price processing), I would plot the three
arrays (visibility Param controlled) so that i can use the in my next Indicator
using these statements:
Array1 = paramField("Array1");
Array2 = ParamField"Array2");
Array3 = paramField("Array3");
Each one of these lines will result in a
drop down menu in my Param window where i can choose the array to use, I like
this, again for debugging as i can also test the code with normal OHLC
arrays. This way i can "feed" my dropped section any kind of data i
like. the whole project becomes more manageable - at least i think so.
I only started this today so we will have
to wait and see how it will work out... I lost my internet connection today so
the day wasn't very productive :-(
-----Original Message-----
From: Ken Close
[mailto:closeks@xxxxxxxx]
Sent: Monday,
September 20, 2004 4:43 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Re:
Dragging to indicator pane doesn't work for me
Importance: High
Hi Herman: I am still
learning and playing with D&D and so, I do not really yet have an
appreciation for HOW one does what you have said below in red. Can you
say a few more words and/or offer me and others a simplified example of what
you are talking about.
Thanks.
Ken
-----Original Message-----
From: Herman van den Bergen
[mailto:psytek@xxxxxxxx]
Sent: Monday, September 20, 2004
4:09 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Re:
Dragging to indicator pane doesn't work for me
the D&D procedure promises to simplify
my code significantly. I can use
many ParamFields() to pass any number of arrays from (D&D) module to
module.
I think D&D greatly helps
"connect" and simplify cascading code segments. It will reduce naming
complexities as we can develop code in modular form, i now pass arrays from one
module to another with an invisible plot. In fact i am breaking up lengthy code
into smaller modules which i can D&D to create my earlier complex
single-code indicator - i am finding new opportunities because it is so easy to
cascade indicators: new relationships are emerging.
I also find the D&D a time saver as it
lets me "play" with functions and indicators in a small fraction of
the time it took me to do the same in code. The new procedure is
experiencing some growing pains :-) and some users may have to learn some
new concepts, but this is what gives the AmiBroker user "the
technical edge" needed to do better than others. It will help
us develop new trading methodologies - soon we'll have a very smooth code
building machine.
Yes, users will have to have a basic
appreciation of what they are doing in afl, but so is that the case with trade
delays, loops, and a myriad of other techniques. There is a learning curve, but
this is not any different as compared with any other TA platform, except that
this one has a future :-)
-----Original Message-----
From: DIMITRIS TSOKAKIS
[mailto:TSOKAKIS@xxxxxxxxx]
Sent: Monday, September 20, 2004
3:42 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Dragging
to indicator pane doesn't work for me
Thomas,
d&d is a big help but it is not magic, we
should know some AFL basics
to make it work.
RSI() is applied to Close, you need RSIa() to get
the RSI of an MACD
for example.
Zig() should be applied to positive arrays only a
Zig over an MACD
would work via d&d BUT the result will be
wrong [since MACD is
negative from time to time]
IMHO this is the only negative impact of the
d&d, users should not
use it like a toy, a good AFL knowledge is
required to make things
easier.
On the other side, when we d&d 2 or 3 indicators
in the same pane,
take a look at the IB code : It is perfect, it is
VERY WELL written
but it is not written by the user !!After the
great result of the
magic "Apply" button, the user should
study carefully the new code
and understand its structure. I do not thing it is
easy, especially
because the magic result is already available in
the new pane.
Just some thoughts on the new d&d feature,
nothing more...
Dimitris
--- In amibroker@xxxxxxxxxxxxxxx, Thomas Ludwig
<Thomas.Ludwig@xxxx>
wrote:
> The new AB version is absolutely great.
>
> But I'm having a big problem when I drag an
indicator to an
indicator pane
> containing, say, RSI. In the price field of
the context menu the
close
> appears and I can change that to open, high,
low, volume and OI -
but not
> to RSI! So the new indicator is calculated
for the wrong data.
>
> Am I the only one having this problem? Any
solution?
>
> Greetings, Thomas
Check
AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Check
AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Check
AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.754 / Virus Database: 504 - Release Date: 9/6/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.754 / Virus Database: 504 - Release Date: 9/6/2004
Check
AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
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 |
ADVERTISEMENT
| |
|
Yahoo! Groups Links
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.754 / Virus Database: 504 - Release Date: 9/6/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.754 / Virus Database: 504 - Release Date: 9/6/2004