PureBytes Links
Trading Reference Links
|
Hi Lusi,
I assume that you ahve an entry signal, OK? I would
write:
A:=Your Entry Signal;
If(A>0,1,0)
This will plot a number 1 when your entry comes true,
otherwise it will plot a 0.
With the same fashion you could write you exit.
A:=Your Exit;
If(A>0,1,0)
These have to be writen in the indicator section and
they need to be two different indicators.
These will show you when to get in and out of a trade
based on your entry and exit conditions.
I hope this help.
Cheers,
Carlos
=
--- luis_lupe <no_reply@xxxxxxxxxxxxxxx> wrote:
> hello,
>
> I'm building my first mechanical system and I'm
> facing the following
> problem:
>
> how can an indicator use the current long, flat or
> short position on
> the market to perform calculate some formula.
>
> example:
>
> if("I'm long", do this, do that)
>
> how do I express that "I'm long" in metastock
> language?
>
> thanks in advance,
>
> Luis
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/BefplB/TM
---------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|