Thanks a lot Ly! On Sat, 02 Dec 2006 10:11:46 -0500, loveyourenemynow <[EMAIL PROTECTED]> 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@yahoogroups.com, "laster" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/