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

Re[2]: [amibroker] Re: STREXTRACT only works on comma separated lists??


  • To: "Ton Sieverding" <ton.sieverding@xxxxxxxxxx>
  • Subject: Re[2]: [amibroker] Re: STREXTRACT only works on comma separated lists??
  • From: Herman <psytek@xxxxxxxx>
  • Date: Tue, 31 Mar 2009 04:23:26 -0400

PureBytes Links

Trading Reference Links

Title: Re[2]: [amibroker] Re: STREXTRACT only works on comma separated lists??

Ton, we all share that problem, but isn't this the case in all creative professions? I used to design electronic circuits and I would spend hundreds of hours reading and researching the best parts to use. 


I use a brute force method and save everything I think I may ever need, this includes every revision of code I create (I scan my computer periodically), in an InfoSelect database. This is a massive collection of stuff (18000 items) that is bloated with duplication however it takes only a second or two to search and i don't have to go on-line. You can import the entire afl library, or download websites, so that they are included in your search. However I don't usually do this because I am more interested in small functions and programming tricks than full-fledged applications.


For quick reference I have an "AFL Building Blocks" folder in my Charts tree. This points to folders containing afl on selected topics. For example templates for starting new systems, sections that plot often used layouts, debugging routines, logging functions, etc.


This allows me to throw a system together in minutes. It frees time to explore new ideas and I don't get bugged down in mundane coding chores. Well, that 'mundane' part is actually not true ;-) functions get more complex and there are always better ways of doing things. I re-work code very often.


herman



Tuesday, March 31, 2009, 3:43:24 AM, you wrote:


>

Herman that exactly is my problem. Theoretically you're absolutely right that we should first check the AFL Library that is available. But how do I find the function that I have in mind in a pool of 1000 AFLs ? That's my problem. In general it takes me more time to find what I need than to reinvent the function ... And here I am talking only about what is available in AFL. If you are adding TradeStation, MetaStock, Wealthlab code etc. etc. I am really don't know how to get what I want. So theoretically you're right but practically ... Perhaps we should develop a kind of expert base with all available functions that can find the requested function in a couple of seconds in stead of hours. Problem is that I have no idea how to get the thing doing what I want it to do ...

 

Regards, Ton.

 

 

----- Original Message ----- 

From: Herman 

To: Conrad Joach 

Cc: amibroker@xxxxxxxxxxxxxxx 

Sent: Monday, March 30, 2009 9:35 PM

Subject: Re: [amibroker] Re: STREXTRACT only works on comma separated lists??


Conrad, 


congratulations with your decision. To get the biggest bang for your buck you should read through the entire afl function list once a day for two weeks. i am not kidding! Not only will you get the best value for your money you will also save yourself untold hours of programming functions that already exist. Why reinvent the wheel?


Str = StrReplace( Str, "|",",");


You can repeat this substitution as many times as you like to give you the format you want.


herman



Monday, March 30, 2009, 3:22:04 PM, you wrote:


> We have a paid license, I'll post it on the feedback page. Not guessing that

> will be a high priority for a while though, what's the usual time to get things like that improved?


> For now I'll have to write my own logic to get the sub-strings out of there.

> It'll be a bit of a pain but should still be doable. Not sure how slow it will

> get for large strings. It would be better if a plugin could return an array of strings to AB, is that even possible?


> --- In amibroker@xxxxxxxxxps.com, "sidhartha70" <sidhartha70@xxx> wrote:


>> I think that's one for the feedback page Conrad... which I guess you can only post on when you have a paid license of AB... but for when you do,


>> http://www.amibroker.com/feedback/index.php


>> --- In amibroker@xxxxxxxxxps.com, "Conrad Joach" <consolejoker@> wrote:

>> >

>> > I have strings that are delimited by multiple char types. For instance I have arrays within arrays like so:

>> > 

>> > field1,field2,field3,field4|field1,field2,field3,field4

>> > 

>> > It would be nice if STREXTRACT would work like most modern versions of this type of string manipulation function and accept as an argument any arbitrary character.

>> >






> ------------------------------------


> **** IMPORTANT PLEASE READ ****

> This group is for the discussion between users only.

> This is *NOT* technical support channel.


> TO GET TECHNICAL SUPPORT send an e-mail directly to 

> SUPPORT {at} amibroker.com


> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at

> http://www.amibroker.com/feedback/

> (submissions sent via other channels won't be considered)


> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:

> http://www.amibroker.com/devlog/


> Yahoo! Groups Links


> <*> To visit your group on the web, go to:

>     http://groups.yahoo.com/group/amibroker/


> <*> Your email settings:

>     Individual Email | Traditional


> <*> To change settings online go to:

>     http://groups.yahoo.com/group/amibroker/join

>     (Yahoo! ID required)


> <*> To change settings via email:

>     mailto:amibroker-digest@xxxxxxxxxps.com 

>     mailto:amibroker-fullfeatured@yahoogroups.com


> <*> To unsubscribe from this group, send an email to:

>     amibroker-unsubscribe@xxxxxxxxxxxxcom


> <*> Your use of Yahoo! Groups is subject to:

>     http://docs.yahoo.com/info/terms/








__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___