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

Re: Problems adjusting the position size



PureBytes Links

Trading Reference Links


> I want to dynamically adjust the position size (e.g. add 1 contract to the
> position if "nrContracts" increases or subtract 1 contract if it
> decreases)
> 
> So, adding is easy (with the Buy command).
> Not so subtracting (with ExitLong) !

thats it: if WHATEVER then EXITLONG 1 contract TOTAL;
 
> The "EasyLanguage User´s Manual" says on page 102:

WHO CARES ?

> "... EXITLONG or EXITSHORT can be hit only once for *** each instance ***
> of an entry."
> 
> I tried some variations but didn´t come to an acceptable result :(
> 
> Can you offer a solution ?
> 
> Thank you and best regards,
> Ulrich

sincerely hans
www.sirtrade.com