Page 3 of 3
Re: Prefix Suffix
Posted: Fri May 09, 2014 10:44 am
by moralproxy
I set margin init to zero and what i get:

Buy 0.1, drop price on 0,0007 pips, and we have -2.30 Loss.
So one pips is 2.30\7 = 0,3285714285714286
Look this is situation on real accout

One pips = 0.1 + 3pips fee = 0.4
According to real index 0.0001 pips of drop =0.4, in test 0.0001 pips of drop = 0,3285714285714286
What happening, results of testing are far-far from real 
My account properties in this post
http://www.tickstory.com/forum/viewtopi ... t=10#p2019
I dont understant what happening

Re: Prefix Suffix
Posted: Sat May 10, 2014 8:19 pm
by moralproxy
Oh, i handled this story. Broker support gave me wrong info about
comm lots

Support told me that commision takes from deal, but it turned out that comission depend from lot, i set zero instead of 1 and get right parameter of testing

LETS TEST!!!!!,

Re: Prefix Suffix
Posted: Sun May 11, 2014 10:38 pm
by moralproxy
So how works Margin init? if i set, for example, margin init = 100, then if free margin equal to or more than a 100 the deals are opening, if free margin is equal to or less than 99 - the deals is not opening???
And this Free Margin is displayed here?

Re: Prefix Suffix
Posted: Mon May 12, 2014 11:09 am
by tickstory
Hi Moralproxy,
From the MT4 manual:
MODE_MARGININIT => Initial margin requirements for 1 lot
MODE_MARGINREQUIRED => Free margin required to open 1 lot for buying
These values are taken directly from the MarketInfo command.
The free-margin you highlighted in the screenshot is for the live/demo account - not for the back-tester.
Regards.
Re: Prefix Suffix
Posted: Mon May 12, 2014 11:40 am
by moralproxy
OK Leaving zero

But why TickStoryINfoExpert replaces zero with 100000???
Re: Prefix Suffix
Posted: Tue May 13, 2014 1:33 am
by tickstory
Hi Moralproxy,
In some cases the server is returning zero values whenever the broker connection is unavailable. In these cases, the Tickstory EA attempts to assume some values. In the case of Initial Margin, however, you are right that it should really be zero. We will update the EA accordingly.
Thanks.