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

Re: [amibroker] short cut keys



PureBytes Links

Trading Reference Links


Dingo,
 
If you ever saw C/C++ program you would know what is #include 
for.
Many people have not several but TENS of pages of AFL 
code.
Also some people use JScript/VBScript and have functions 
defined
in them as described in <A 
href="">http://www.amibroker.com/newsletter/13-2001.html
#include is the obvious choice for common 
functions.
Best regards,Tomasz 
Janeczkoamibroker.com
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
dingo 
To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Saturday, September 28, 20024:10 
AM
Subject: RE: [amibroker] short cut 
keys

Then 
there's no need for the #include?
<SPAN 
class=509070402-28092002> 
The 
best way would be to have a variation to please both 
crowds..
<SPAN 
class=509070402-28092002> 
So 
you've got an AFL system with several pages of code?  Sounds 
interesting..
<SPAN 
class=509070402-28092002> 
<SPAN 
class=509070402-28092002>dingo
<SPAN 
class=509070402-28092002> 
<SPAN 
class=509070402-28092002><FONT face=Arial color=#0000ff 
size=2><FONT 
size=2><SPAN 
class=509070402-28092002> 
<SPAN 
class=509070402-28092002> -----Original 
Message-----From: Bob Jagow [mailto:bjagow@xxxx] 
Sent: Friday, September 27, 2002 9:12 PMTo: <A 
href="">amibroker@xxxxxxxxxxxxxxxSubject: 
RE: [amibroker] short cut keys

Different 
strokes, I guess, Dingo.
<FONT color=#0000ff 
size=2> 
I'd have a 
major problem if the #include directive in C [or uses or import or ... in 
other languages] inserted several pages of source code!
  If I 
wanted to insert source code, cut and paste would 
suffice.
<FONT color=#0000ff 
size=2> 
<FONT color=#0000ff 
size=2>Bob

<FONT face=Tahoma 
size=2>-----Original Message-----From: dingo 
[mailto:dingo@xxxx]Sent: Friday, September 27, 2002 4:50 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
[amibroker] short cut keys
<FONT face=Arial color=#0000ff 
size=2>But why wouldn't you want to see what was included? I too believe 
it should call the entirety of the text it points to..
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>Just curious, I guess.  Its not like its wasting 
paper..
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>In the future I'd like to see the capablilty of substitutionas 
well. Something like:
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>#include "path\to my 
file\name path.afl" 28, 7
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>Where the included text might contain:
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>blah blah blah
<FONT face=Arial color=#0000ff 
size=2>A1=EMA(C,%1)-EMA(C,%2);    //MACDblah blah 
blah
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=7>dingo


<FONT 
face=Tahoma size=2>-----Original Message-----From: Jayson 
[mailto:jcasavant@xxxx] Sent: Friday, September 27, 
2002 7:27 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: 
RE: [amibroker] short cut keys
<SPAN 
class=459432423-27092002>Personally I prefer a single line that calls 
entire formula as it makes for a cleaner more organized formula. I like 
it the way it is...
 
Jayson 

<FONT face=Tahoma 
size=2>-----Original Message-----From: Ted Chmilar 
[mailto:tchmilar@xxxx]Sent: Friday, September 27, 2002 
7:07 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: 
[amibroker] short cut keys
Dingo,
 
I don't use this feature for the same 
reason. Difficult to desk check code for conflicting 
statements.
 
Ted

----- Original Message ----- 
<BLOCKQUOTE 
>
<DIV 
>From: 
dingo 

To: <A 
title=amibroker@xxxxxxxxxxxxxxx 
href="">amibroker@xxxxxx 

Sent: Friday, September 27, 2002 
2:26 PM
Subject: RE: [amibroker] short 
cut keys

<FONT face=Arial color=#0000ff 
size=2>Tomasz,
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>When I tried to use it it doesn't actually show the included 
lines in the formula so that when the report is shown on the #include 
line is there. Do you have plans to actually show the included 
lines?
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>Something like:
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>#include "path\to my file\name 
path.afl"
## Line 
1
## Line 
2
<FONT face=Arial 
size=2>.
<FONT face=Arial 
size=2>.
## Last 
Line
<FONT face=Arial 
size=2> 
<FONT face=Arial 
size=2>dingo


<FONT 
face=Tahoma size=2>-----Original Message-----From: Tomasz 
Janeczko [mailto:amibroker@xxxx] Sent: Friday, 
September 27, 2002 12:46 PMTo: 
amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] short 
cut keys
Ken,
 
When using #include please note that if you 
specify the full path
it should have single backslashes (this is 
different from regular AFL code that
needs double backslashes).
 
So your sample #include statement should look like 
this:
 
#include "C:\Program 
Files\AmiBroker\AFL\MyFile.afl"
 
 
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Ken 
Close 
To: <A 
title=amibroker@xxxxxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxx 

Sent: Friday, September 27, 
2002 3:57 PM
Subject: RE: [amibroker] 
short cut keys

<SPAN 
class=940065313-27092002>Thomas: you're welcome, perhaps ifyou 
use it, it will save you some time.
<SPAN 
class=940065313-27092002> 
Is 
not what you are asking about accomplished with the new command 
#include??
<SPAN 
class=940065313-27092002> 
I 
wrote a message asking if anyone used this, and as I had 
problems.  There was only ONE (1) reply from this entire 
list, that from Herman VDB. who said it worked fine for him and he 
used it all the time.  I have to try again.  But why has 
no one else commented on it, or shared how they use 
it.
<SPAN 
class=940065313-27092002> 
<SPAN 
class=940065313-27092002>Have you tried the #Include command to 
call your other afl files???????
<SPAN 
class=940065313-27092002> 
Ken 

<FONT 
face=Tahoma size=2>-----Original Message-----From: 
Thomas Zmuck [mailto:thomas.zm@xxxx]Sent: Friday, 
September 27, 2002 8:48 AMTo: 
amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] short 
cut keys
Hello Ken,
 
Thanks for the link.
 
I think also about such a 
program.
What i would find extremly usefull is 
a program, that allows to paste any text from a textfileas 
.afl for example into amibroker.
That would be great.
 
Maybe someone can suggest 
anyone.
 
Thomas
 
 
 
<BLOCKQUOTE 
>
----- Original Message ----- 

<DIV 
>From: 
Ken 
Close 
To: <A 
title=amibroker@xxxxxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxx 

Sent: Friday, September 27, 
2002 12:48 PM
Subject: RE: [amibroker] 
short cut keys

<SPAN 
class=690114410-27092002>Jayson, others.
<SPAN 
class=690114410-27092002> 
I 
have a shareware program called "Type-It-In" which allows me to 
copy code segments (or an entire AFL code) to a "button".  
When I click the button, whatever is in that button is typed 
where the cursor was sitting.
<SPAN 
class=690114410-27092002> 
<SPAN 
class=690114410-27092002>Site :
<SPAN 
class=690114410-27092002><A 
href="">http://www.wavget.com/typeitin.html
<SPAN 
class=690114410-27092002> 
<SPAN 
class=690114410-27092002>Attachment shows the box open, with the 
Edit Button box open, and this is the one I use for 
AddColumn.
<SPAN 
class=690114410-27092002> 
<SPAN 
class=690114410-27092002>Price was reasonable, although you can 
run a crippled version for free for as long as you 
want.
<SPAN 
class=690114410-27092002> 
<SPAN 
class=690114410-27092002>Ken
<FONT 
face=Tahoma size=2>-----Original Message-----From: 
Jayson [mailto:jcasavant@xxxx]Sent: Friday, 
September 27, 2002 2:11 AMTo: 1amiSubject: 
[amibroker] short cut keys
<SPAN 
class=453055705-27092002>Tomasz,
<SPAN 
class=453055705-27092002> 
I 
spent some time tonight playing with the key board editor. What 
a great addition!  when first introduced I kind of shrugged 
it off but that was a huge mistake. I work with several software 
packages and each tends to have their own keyboard combinations. 
with this new feature I can set up AB to use the same shortcuts 
as these other programs which saves me time here (hitting the 
wrong combinations) and there, hitting your old combo's. 

<SPAN 
class=453055705-27092002> 
A 
further enhancement might be to allow us to assign shortcuts to 
functions in AA and indicator builder. Think of the time we 
could save typing ctrl-a instead of addcolumn(  or 
addtocomposite(
<SPAN 
class=453055705-27092002> 
<SPAN 
class=453055705-27092002>Great feature, thanks for dreaming it 
up!
<FONT face="Palace Script MT" color=#0000ff 
size=6>Jayson 
 Post AmiQuote-related messagesONLY 
to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of 
Service. Post AmiQuote-related messages 
ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of 
Service. Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of 
Service. Post AmiQuote-related messages 
ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of 
Service. Post AmiQuote-related 
messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of 
Service. Post AmiQuote-related 
messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of 
Service. Post AmiQuote-related 
messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of 
Service. Post AmiQuote-related messages ONLY 
to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of 
Service. Post AmiQuote-related 
messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 
Post AmiQuote-related messages ONLY to: 
amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 
Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.