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

Re: [amibroker] Re: Avoiding duplicate trades with IB and Forex



PureBytes Links

Trading Reference Links

Thanks a lot Ly!

On Sat, 02 Dec 2006 10:11:46 -0500, loveyourenemynow  
<loveyourenemynow@xxxxxxxx> wrote:

> Hi Jerry,
>
> I think i had the same problem , and I solved it checking for the
> currency balance before submitting a new trade.
> That is equivalent to get the position size .
> You may create a function like getforexsize() which is doing it
> automatically.
> Be careful about the sign of ther currency balance, depending on the
> contract you want trade.
>
> Hope this helps
>
> Ly
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "laster" <laster@xxx> wrote:
>>
>> Hi,
>>
>> When trading forex checking the position of the trade does not work
> to avoid
>> duplicated trades (because there is no position to speak of). Did anyone
>> find a way to avoid duplicated trades when trading forex?
>>
>> I don't want to limit the size of a trade because I may want to
> pyramid. If
>> I reduce the frequency of the scanning I may miss signals.
>>
>> Any ideas?
>>
>> Thanks in advance,
>>
>> Jerry
>>
>
>



-- 
Kind regards,
Jerry


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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/
 


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.15.6/566 - Release Date: 12/3/2006 4:36 PM