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

Re: [amibroker] Metastock PREV



PureBytes Links

Trading Reference Links

Hello,

Initial delay when posting is caused by the fact that new members' posts
are moderated. This is needed because every day we have at least 5 spammers
joining and trying to spam the list. This procedure allows to keep list spam-free.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "dpweir" <dpweir@xxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, August 02, 2005 3:29 PM
Subject: RE: [amibroker] Metastock PREV


> Thanks Tomasz
>
> Yes, it was only an example, so was very simple.  Wow, I sent that email 24
> hours ago, and it only just appeared back in my inbox ?
>
> In the last 24 hours I have been able to convert all my metatsock formulas
> (thanks to finding some excellent posts in the archives through google ...
> had trouble with searching for PREV using
> http://www.purebytes.com/cgi-local/swish/swish-cgi.pl
>
> Anyhow this being so easy to convert, once you grasp the basic structure (I
> am not a programmer), certainly does credit to Amibroker ... excellent
> program.
>
> Best regards
>
> Dave
>
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
> Of Tomasz Janeczko
> Sent: Tuesday, 2 August 2005 10:33 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Metastock PREV
>
> Hello,
>
> This one is an example how presence of PREV thingy makes people to write
> inefficient codes (PREV is extremely slow).
>
> Statement like this even in Metastock could be written without PREV.
>
> MS:
> setup = if( condition, variable, PREV )
>
> can be written even if Metastock as
>
> setup = ValueWhen( 1, condition, variable );
>
> which executes way faster.
>
> AmiBroker's syntax for it is:
>
> setup = ValueWhen( condition, variable );
>
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "dpweir" <dpweir@xxxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, August 01, 2005 1:49 PM
> Subject: [amibroker] Metastock PREV
>
>
>> Hello
>>
>> I am sorry if this is often asked question, but I was wondering what was
> the
>> Amibroker equivalent to the metastock PREV statement, as I would like to
>> convert some basic metastock formulas, as an example
>>
>> setup:=If(C > PREV,C,PREV);
>>
>> or better yet descriptively, another example,
>>
>> setup:=if(condition,variable,PREV);
>>
>> Thanks in advance
>>
>> David Weir
>>
>>
>>
>>
>>
>>
>>
>> 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
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
> 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
>
>
>
>
>
>
>
>
>
>
>
> 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 --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hhvchs7/M=362343.6886682.7839641.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1122996878/A=2894354/R=0/SIG=11qvf79s7/*http://http://www.globalgiving.com/cb/cidi/c_darfur.html";>Help Sudanese refugees rebuild their lives through GlobalGiving</a>.</font>
--------------------------------------------------------------------~-> 

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/