Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • moralproxy
    Participant
    Post count: 16
    in reply to: Prefix Suffix #20105

    OK Leaving zero 🙂
    But why TickStoryINfoExpert replaces zero with 100000???

    moralproxy
    Participant
    Post count: 16
    in reply to: Prefix Suffix #20103

    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?

    moralproxy
    Participant
    Post count: 16
    in reply to: Prefix Suffix #20102

    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!!!!!, 😎

    moralproxy
    Participant
    Post count: 16
    in reply to: Prefix Suffix #20101

    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.307 = 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 viewtopic.php?f=2&t=452&start=10#p2019
    I dont understant what happening 😳

    moralproxy
    Participant
    Post count: 16
    in reply to: Prefix Suffix #20099

    Continue searching for correct parameter of Margin init, i make an experiment, make different exports win different values of Margin init, values are 0-10-100-1000-10000-100000. And i get three different results of optimization.
    I tested Autoprofit 3.2 with this options:

    I optimized Step and Dynamic on period from 1 to 30 april and get this results:

    When Mgn init is 0 and 10000 i get one equal result. Most profitable when Step=1 and Dynamic=1

    When Mgn init is 10 , 100, 1000 i get another, but equal for all three values result. Most profitable when Step=1 and Dynamic=3

    And when Margin init si 100000 i get another one result. Most profitable when Step=1 and Dynamic= 4

    Which Margin init is right?????

    moralproxy
    Participant
    Post count: 16
    in reply to: Prefix Suffix #20097

    @tickstory wrote:

    Hi Moralproxy,

    Thanks for the details – good to hear that you have solve most of your issue.

    Regarding the settings you have highlighted as incorrect, these are settings that need to be manually entered since MT4 unfortunately doesn’t allow you to acquire this information via MQL. You will note leverage, for example, cannot be obtained via the MARKETINFO command.

    Regarding spread, you can set this value to whatever wish in order to adequately test your EA. The TickstoryInfoExpert automatically assumes a value (in this case 2 pips) if it does not get a reasonable value from the broker (this can happen for various reasons). Similiarly, since the broker is returning zero for initial margin, the Tickstory EA is assuming a value of 100000. In all cases, you have the ability to replace the settings with whatever you choose.

    The good news is that once you finished manually enter these details, you can simply “Save as default” so you will not need to do this process again – all these settings will be used whenever you next export.

    Hope this helps.

    Thanks for recall 🙂
    So it turns out that to start correct backtesting we set Margin init manually to 0 instead of 100000, and leave Margin maint to 0 too???
    I remind you that the lot size for my instrument is 10000….
    Or maybie margin init = 69.64, brokers calculator shows that for lot value =1 – margin = 69.64

    moralproxy
    Participant
    Post count: 16
    in reply to: Prefix Suffix #20095

    WTF!!! I dont know what happened, but today advisor gives almost correct data 😮

    1.Icorrect is commision setup, here is specs of my accounts instrument https://www.instaforex.com/specifications.php



    Comission is 3 Pips from each deal, this info confirmed with broker support. But its not problem, because this info is very easy to find.
    So right params of comission is 3-1-1 instead 0-1-0(Leverage determined is correct 🙂 )

    Spread is incorrect too. The spread is = 0. And because of this we have this error which i described in the beginnig of this topic:


    Advisor do not understand the zero spread an set in to 2 pips as defaul. So it it no problem too, info about spread is easy to find 😉

    And this is important parameter – MGN INIT
    Advisor shows 100000, but this script:


    This scrip shows this parameter as = 0

    So this is a main question about this parameter!!! Maybie i use wrong script to check this parameter????? 😳
    Very strange, advisor shows MGN_MAINT parameter equal to parameter, which shows this script:

    MarketInfo(Symbol(),MODE_MARGINMAINTENANCE));

    But MGN_INIT is not equal to this script

    MarketInfo(Symbol(),MODE_MARGININIT));

    It is some kind of discrepancy…….

    Maybie Margin init = Lot size????

    moralproxy
    Participant
    Post count: 16
    in reply to: Prefix Suffix #20093

    On monday i will record video and drop it on youtube, and all detail will bee seen 🙂
    I dont know how to use live chart(( 😳

    moralproxy
    Participant
    Post count: 16
    in reply to: Prefix Suffix #20090

    If I leave blank i have the same result and with any prefix parameter i have this error:
    viewtopic.php?f=2&t=452&p=1988&hilit=was+zero&sid=f7f7452ab2d06a1def26d58c63ad82fe#p1988

    moralproxy
    Participant
    Post count: 16

    To set english just delete all additional language folders and it will be english 🙂

    moralproxy
    Participant
    Post count: 16
    in reply to: Prefix Suffix #20088

    Here is screenshot for EURUSD, generated by TickstoryAdvisor, the same stuff….

    moralproxy
    Participant
    Post count: 16
    in reply to: Prefix Suffix #20086

    Unfortunately Tickstory expert gives wrong data.
    Look i have Instaforex Eurika account. This info gives me Tickstory Advisor

    And This info gives Marketinfo script

    Marketinfo gives more correct values. I will put them.
    So i find out a lot of parameters, comission parameters i find at this topic viewtopic.php?f=2&t=346

    So left undescovered next parameters:
    -Swap Rollo
    -Free margin mode
    -Stopout mode
    -Stopout Level
    🙂

    moralproxy
    Participant
    Post count: 16
    in reply to: Prefix Suffix #20085

    When i exported tick data to my mt4, i encountered problems with incorrect broker data on this page:

    Tickstory advisor give me incorrect data, but in help section i find mention about MarketInfo Function.
    I writ a small script to retrieve correct data, and this scrit shows more correct result, which equals wit data on brokers site and info, which give me techsupport of broker.

    void OnStart()
    {
    Alert(“Symbol=”,”EURUSD”);
    Alert(“Low day price=”,MarketInfo(“EURUSD”,MODE_LOW));
    Alert(“High day price=”,MarketInfo(“EURUSD”,MODE_HIGH));
    Alert(“The last incoming tick time=”,(MarketInfo(“EURUSD”,MODE_TIME)));
    Alert(“Last incoming bid price=”,MarketInfo(“EURUSD”,MODE_BID));
    Alert(“Last incoming ask price=”,MarketInfo(“EURUSD”,MODE_ASK));
    Alert(“Point size in the quote currency=”,MarketInfo(“EURUSD”,MODE_POINT));
    Alert(“Digits after decimal point=”,MarketInfo(“EURUSD”,MODE_DIGITS));
    Alert(“Spread value in points=”,MarketInfo(“EURUSD”,MODE_SPREAD));
    Alert(“Stop level in points=”,MarketInfo(“EURUSD”,MODE_STOPLEVEL));
    Alert(“Lot size in the base currency=”,MarketInfo(“EURUSD”,MODE_LOTSIZE));
    Alert(“Tick value in the deposit currency=”,MarketInfo(“EURUSD”,MODE_TICKVALUE));
    Alert(“Tick size in points=”,MarketInfo(“EURUSD”,MODE_TICKSIZE));
    Alert(“Swap of the buy order=”,MarketInfo(“EURUSD”,MODE_SWAPLONG));
    Alert(“Swap of the sell order=”,MarketInfo(“EURUSD”,MODE_SWAPSHORT));
    Alert(“Market starting date (for futures)=”,MarketInfo(“EURUSD”,MODE_STARTING));
    Alert(“Market expiration date (for futures)=”,MarketInfo(“EURUSD”,MODE_EXPIRATION));
    Alert(“Trade is allowed for the symbol=”,MarketInfo(“EURUSD”,MODE_TRADEALLOWED));
    Alert(“Minimum permitted amount of a lot=”,MarketInfo(“EURUSD”,MODE_MINLOT));
    Alert(“Step for changing lots=”,MarketInfo(“EURUSD”,MODE_LOTSTEP));
    Alert(“Maximum permitted amount of a lot=”,MarketInfo(“EURUSD”,MODE_MAXLOT));
    Alert(“Swap calculation method=”,MarketInfo(“EURUSD”,MODE_SWAPTYPE));
    Alert(“Profit calculation mode=”,MarketInfo(“EURUSD”,MODE_PROFITCALCMODE));
    Alert(“Margin calculation mode=”,MarketInfo(“EURUSD”,MODE_MARGINCALCMODE));
    Alert(“Initial margin requirements for 1 lot=”,MarketInfo(“EURUSD”,MODE_MARGININIT));
    Alert(“Margin to maintain open orders calculated for 1 lot=”,MarketInfo(“EURUSD”,MODE_MARGINMAINTENANCE));
    Alert(“Hedged margin calculated for 1 lot=”,MarketInfo(“EURUSD”,MODE_MARGINHEDGED));
    Alert(“Free margin required to open 1 lot for buying=”,MarketInfo(“EURUSD”,MODE_MARGINREQUIRED));
    Alert(“Order freeze level in points=”,MarketInfo(“EURUSD”,MODE_FREEZELEVEL));
    }

    IT IS A RAW EXAMPLE BECAUSE I AM A FAR_FAR_FAR NOT PROGRAMMER!!!!

    CAN DEVELOPER MAKE GOOD SCRIPT FOR GETTIN CORRECT DATA AND PUT IT IN INSTALLATION PACKADGE???? 🙂

    moralproxy
    Participant
    Post count: 16
    in reply to: Prefix Suffix #20083

    Ok, i will leave it blank, but what about another parameters? The parameters which gives Tickstoryadvisor and Marketinfo is different. For example advisor shows parameter point as 0.00001, and MarketInfo shows 0.0001, which is more correct for this broker….

Viewing 14 posts - 1 through 14 (of 14 total)