PureBytes Links
Trading Reference Links
|
I use a this format to make my life easier :
// Your version explainations here
// zMF_AFLxyz - calculates xyx and plots etc etc
// zMF_AFLxyz1.0 - calculates xyx
// zMF_AFLxyz1.1 - fixes plot bug
// zMF_AFLxyz1.2 - ADDS BUY SELLS
//||||||||||||||||||____FUNCTION NAME_____ |||||||||||||||||
your function
//|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
//||||||||||||||||||____FUNCTION NAME2_____ |||||||||||||||||
your function2
//|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
//||||||||||||||||||____SETUPS_____ |||||||||||||||||
your all the backtester pre setups
//|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
//||||||||||||||||||____BUY _SELL_____ |||||||||||||||||
your BUY SELLS
//|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
//||||||||||||||||||___PLOTS _________ |||||||||||||||||
PLOTS HERE
//|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
//|||||||||||||||||| ___INTERPRETATIONS___ |||||||||||||||||
// your writevals here
//|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I have also seen
//////////////////////////////////////////////
// //
//////////////////////////////////////////////
which looks good for identifying important often refered code.
I also keep common code ( like PLOTS ) in a text file on my desktop to
cut and past instead of retyping
:-) MOZ
--- In amibroker@xxxxxxxxxxxxxxx, "mrdavis9" <mrdavis9@xxxx> wrote:
> Herman, thanks for these ideas. What you do sounds like it is
better than simple random wrap breaks.
> My problem is that I have very low computer skills, so I sure would
appreciate your pasting in a section of your organized code with some
instructions of how you accomplish this.
>
> For instance, I don't even know how to INSERT CARRIAGE RETURN
breaks. Later, Ron D
>
>
>
>
> ----- Original Message -----
> From: Herman van den Bergen
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Thursday, April 14, 2005 8:52 PM
> Subject: RE: [amibroker] version 4,70rc3 editor
>
>
> Hello Ron,
>
> To deal with long lines of code I use these techniques:
>
> 1) Insert carriage-returns (afl ignore breaks, tabs and spaces) to
break the long line at 'logical' places, which I prefer to automatic
breaks which would break up logical sections of the line into random
parts.
>
> 2) I indent the wrapped parts so that they are clearly identified
as belonging to the preceding non-indented part.
>
> 3) To make the code more readable I often use intermediate
descriptive variables, each to represent a logical part of the long
statement, thus making code more readable and as well reduce line length.
>
> 4) make liberal use of spaces (empty lines) between lines of code
to visually group relevant blocks of wrapped code together.
>
> Perhaps some of this might work for you to? I have nothing against
optional automated wrapping of lines however i might not use it much...
>
> best regards,
> herman.
>
>
>
>
>
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx
[mailto:amibroker@xxxxxxxxxxxxxxx]On Behalf Of mrdavis9
> Sent: Thursday, April 14, 2005 9:24 PM
> To: amibrokeryahoogroups
> Subject: [amibroker] version 4,70rc3 editor
>
>
> The purpose of this email is to see if myself and Graham are the
only two Amibroker users who would like to be able to switch the
version 4,70rc3 indicator editor to a WRAPPED LINE MODE.
>
> The version 4,70rc3 indicator editor needs to avoid wrapping
lines so it can more accurately report errors.
>
> I am hoping there are more users than Graham and myself who
would like have a switch that would allow us to choose to edit in a
WRAPPED LINE MODE. Then, when an error occurs, the editor would
instantly switch to UNWRAPPED LINE MODE, in order to accurately
identify the error.
>
> It would then remain in the DEFAULT "UNWRAPPED LINE" mode until
we decided to switch back the WRAPPED LINE mode.
>
> This proposed switch option would satisfy the desires of everyone.
>
> I would appreciate hearing some feedback on this idea. Later, Ron D
>
>
> 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
>
>
>
>
>
> 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
>
> a.. To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
>
> b.. To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms
of Service.
>
>
>
>
>
----------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.9.9 - Release Date: 4/13/2005
------------------------ 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/
|