PureBytes Links
Trading Reference Links
|
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
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.15.4/563 - Release Date: 12/2/2006 9:59 AM
|