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

Re: Easylanguage coding Problem - Help really appreciated.



PureBytes Links

Trading Reference Links

Thank you very much for your reply  - Appreciate it




                                                                                                                                        
                      alex@xxxxxxxxxxx                                                                                                  
                      com (Alex                To:      mark.keenan@xxxxxxxxxxxxxx                                                      
                      Matulich)                cc:                                                                                      
                                               Subject: Re: Easylanguage coding Problem - Help really appreciated.                      
                      30/07/2002 16:33                                                                                                  
                                                                                                                                        
                                                                                                                                        




>How can I get a system to add to a position - For example:

Go to Format->Strategy and select your strategy.  In the dialog box
there is a tab for configuring the strategy.  You want to enable
Pyramiding.  This is usually off by default, meaning that if the
strategy is already in a long position, it won't add another one.

There are two pyramiding options.  One lets the strategy add new
positions if the same signal generates more.  The other lets the
strategy add new positions only if a different signal generates more.
That is if you had these two statements:

if <condition1> then buy("b1");
if <condition2> then buy("b2");

If both condition1 and condition2 are true, then two buy signals would
be issued.  If the system is already long from a previous "b1" signal,
then depending on your pyramiding setting, either 2 new positions will
be added (if you allow the same signal to generate more positions), or
only 1 will be added (because a position from b1 already exists).


--
  ,|___    Alex Matulich -- alex@xxxxxxxxxxxxxx
 // +__>   Director of Research and Development
 //  \
 // __)    Unicorn Research Corporation -- http://unicorn.us.com



---------------------------------------------------------------------------
This message (including any attachments) is confidential and may be
privileged. If you have received it by mistake please notify the sender by
return e-mail and delete this message from your system. Any unauthorised
use or dissemination of this message in whole or in part is strictly
prohibited. Please note that e-mails are susceptible to change.
ABN AMRO Bank N.V. (including its group companies) shall not be liable for
the improper or incomplete transmission of the information contained in
this communication nor for any delay in its receipt or damage to your
system. ABN AMRO Bank N.V. (or its group companies) does not guarantee that
the integrity of this communication has been maintained nor that this
communication is free of viruses, interceptions or interference.
---------------------------------------------------------------------------