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

RE: Metastock vs. Amibroker



PureBytes Links

Trading Reference Links

Here is a recent post by the developer/owner of AmiBroker (very responsive
to questions and suggestions) at yahoo groups:

Hello,

> Thanks for the answer, but I figure that the 'amount' is a value to
> be substrated from the hightest high the trade has reached earlier.

This is how trailing stop works.

> Is there a way to calculate a fixed price level that stays the same
> without changing at all.

Yes. Use max. loss stop (type = 1).

> For example, I had a trigger value to go long at 10 1/8 at the same
> time I want to place a maximum loss stop of 8 7/8 and this level
> stays the same throughout the trade, no changes regardless of other
> target stops or trailing stops that might be used later.
>

There are 3 kinds of stops in AMiBroker: max. loss, profit target
and trailing. You can mix all of them in the same formula.
The one you need is simply max. loss stop (type = 1 ) as described
in the User's Guide:

SYNTAX applystop( type, mode, amount, exitatstop )
RETURNS nothing
FUNCTION controls built-in stops from the formula level (allows optimization
of stops)


Parameters:
type = 0 - maximum loss stop, 1 - profit target stop, 2 - trailing stop
mode = 0 - disable stop, 1 - amount in percent, 2 - amount in points, 3 -
amount in percent of profit (risk)
amount = percent/point loss/profit trigger/risk amount. this could be a
number (static stop level) or an array (dynamic stop level)
exitatstop = 0 - exits at defined price field, 1 - exits at stop level

EXAMPLE applystop( 0, 2, max_loss_in_points, 1 );

Best regards,
Tomasz Janeczko
amibroker.com

-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx
[mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of David DeFina
Sent: Tuesday, November 27, 2001 11:44 AM
To: metastock@xxxxxxxxxxxxx
Subject: RE: Metastock vs. Amibroker


I haven't been on the boards for awhile.  How does Metastock compare to
Amibroker now days?  I've been frustrated with Metastock because you can't
enter and exit Intraday via limit or stops, only H,L,C or O.  Has anything
changed in this regard?  I have version 7.2 of Metastock.  Thanks, Dave D.

-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx [mailto:owner-metastock@xxxxxxxxxxxxx]On
Behalf Of Gerald Novak
Sent: Nov 27, 2001 5:54 AM
To: metastock@xxxxxxxxxxxxx
Subject: RE: Support & Resistance?

Maybe a dumb question Frans, but when I place the formula for R1 -
If(Ref(HIGH,-4)=HHV(HIGH,9),Ref(HIGH,-4),PREVIOUS)
in an indicator, I get a continuous line.  Did you manually alter the line
at all?


I tried putting the resistance formulas in an exploration to look for
crossings but it was tremendously slow.

-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx
[mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Frans Derksen
Sent: Tuesday, November 27, 2001 12:46 AM
To: metastock@xxxxxxxxxxxxx
Subject: RE: Support & Resistance?



Gerald,John,Lionel et all.

See attachement.
 Blue= support
 White is= resistance

This is for the S1 and R1 formula's.

I use MS EOD 7.02 and just copied and pasted the formula's from the
Equis-site.

I don't know how to put these into the Explorer but there must be a (easy)
way........

Regards,
Frans

At 10:09 AM 11/25/2001 -0600, you wrote:
>Frans -
>Thanks for the help.
>Am I to assume that I would make an indicator for each: S1, S2,
>...WSO,...R1...etc and then reference those in explorer in a filter (as in
>the Enter Long)?
>
>
>-----Original Message-----
>From: owner-metastock@xxxxxxxxxxxxx
>[mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Frans Derksen
>Sent: Saturday, November 24, 2001 2:49 PM
>To: metastock@xxxxxxxxxxxxx
>Subject: Re: Support & Resistance?
>
>
>
>Gerald et all,
>
>My suggestion:
>
>Go here: http://www.equis.com/customer/support/formulas/cf00090.html
>
>Put those in the explorer and off you go.
>
>Enjoy your weekend.
>Frans
>
>At 04:42 PM 11/23/2001 -0600, you wrote:
>>Gerald:
>>You have a valid point. You have to decide how far back you want to look.
>>Lionel Issen
>>lissen@xxxxxxxxxxxxxx
>>----- Original Message -----
>>From: "Gerald Novak" <gnovak@xxxxxxxxx>
>>To: <metastock@xxxxxxxxxxxxx>
>>Sent: Friday, November 23, 2001 2:46 PM
>>Subject: RE: Support & Resistance?
>>
>>
>>> Price Channel is OK, but it doesn't have any "smarts" behind it. You
>can't
>>> really use LowestSince because you don't know how far back to go to get
>>the
>>> lowest, or, in the case of upper, the peaks...
>>>
>>>
>>> -----Original Message-----
>>> From: owner-metastock@xxxxxxxxxxxxx
>>> [mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Lionel Issen
>>> Sent: Friday, November 23, 2001 1:10 PM
>>> To: metastock@xxxxxxxxxxxxx
>>> Subject: Re: Support & Resistance?
>>>
>>>
>>> Metastock has a price channel indicator. This might be of help
>>> Lionel Issen
>>> lissen@xxxxxxxxxxxxxx
>>> ----- Original Message -----
>>> From: "Gerald Novak" <gnovak@xxxxxxxxx>
>>> To: "list Group Metastock (E-mail)" <metastock@xxxxxxxxxxxxx>
>>> Sent: Friday, November 23, 2001 11:24 AM
>>> Subject: Support & Resistance?
>>>
>>>
>>> > Does anyone use Metastock Explorations to determine
Support/Resistance?
>>> > I know that I can visually determine a line over the past X months,
but
>>> I'm
>>> > wondering if there is an approximate formula that can be applied to an
>>> > exploration to determine those stocks hitting up against support  or
>>those
>>> > stocks hitting up against resistance.
>>> >
>>> > Jerry
>>> >
>>>
>>
>>
>
>