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

RE: [amibroker] Possible Drag-drop and Param Bug



PureBytes Links

Trading Reference Links

Why are you using ParamField?

-----Original Message-----
From: rkp1 [mailto:rkp1@xxxxxxxxx]
Sent: Thursday, March 24, 2005 5:24 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Possible Drag-drop and Param Bug




Tomasz,

First, let me say that AmiBroker is a fantastic product. I'm 
learning to work within the file based paradigm and loving drag and 
drop. To be able to quickly build up charts with custom, pre-
parametrized indicators... it's a beautiful thing.

I've noticed a possible bug, at least on my system. As an example, I 
have a file in my Custom folder named "T3 - Tillson T3", containing 
the following code:

P = ParamField("Price field", -1);
period = Param("period", 5.0, 1.0, 400.0, 0.1, 5.0);
damp = Param("damp", 0.5, 0.01, 2.00, 0.01);
Plot(T3(P, period, damp), _DEFAULT_NAME(), ParamColor("Color", 
colorCycle), ParamStyle("Style"));

When I drop this several times on a chart, both the default period 
and sincr value don't work right. If I change the name of the file 
to remove the 3 in "T3" then it works. T3 is contained in my own 
plugin dll, so to be sure I tested the built in WMA contained in the 
Averages folder by changing the file name to "WM3 - Weighted Moving 
Average", and it broke in the same way. It seems numbers before the 
dash are trouble.

Can you confirm this bug? And in general, can you explain how you 
are parsing these file names so that we can follow your naming 
conventions?

Thanks,

Ralph








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



 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

<*> 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/