PureBytes Links
Trading Reference Links
|
Understood. Thanks for the explanation Tomasz. However, as an
example, if I drag and drop your WMA I get periods of 15, 25, etc.
as expected. If I change the name to "WM3_ - ..." repeated drag-drop
periods stay locked on 45. It's not a big deal as I just won't use
the sincr value for affected names.
Ralph
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
wrote:
> It (i.e. the numbering) is by design.
> AmiBroker generates SECTION names from AFL file names as follows:
> - it truncates .AFL extension
> - it looks for - (dash) or opening brace in the file name and
> if there is one found then LEFT part (upto dash or brace) is taken
> as a section name, otherwise just entire name (without .AFL
extension) is
> taken.
> This allows to create descriptive indicator names like:
>
> MACD - Moving Average Divergence Convergence.afl
>
> in the chart tree while still keeping short generated section
names like
> MACD.
>
> If more than one indicator of the same section name is dropped
onto the pane
> it gets NUMBERED automatically. So if you drop
> MA - Moving Average.afl
> and then drop it again and again, three sections will be created:
>
> _SECTION_BEGIN("MA");
> ...
> _SECTION_END();
>
> _SECTION_BEGIN("MA1");
> ...
> ...
> _SECTION_END();
>
> _SECTION_BEGIN"MA2");
> ..
>
>
> Note MA, MA1, MA2 - auto-numbered sections.
>
> Now if the file name you are using contains number at the end of
the part
> before
> dash - it will interfere with this mechanism.
>
> So you should use names that like this:
>
> TTHREE - Tilson something.afl
>
> or
>
> T3_ -Tilson something.afl
>
> (note underscore)
>
> So it does not interfere with automatic numbering of sections.
>
> To learn more about sections:
> http://www.amibroker.com/guide/h_dragdrop.html
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/
|