Results 1 to 4 of 4

Thread: help please

  1. #1

    Default help please

    I am working on a MQL to VTL Conversion of one Expert I need following stuffs in VTL can you please guide me.


    l=MarketInfo(Symbol(), MODE_LOTSIZE);
    m=MarketInfo(Symbol(), MODE_PROFITCALCMODE);
    p=MarketInfo(Symbol(), MODE_POINT);
    t=MarketInfo(Symbol(), MODE_TICKSIZE);
    v=MarketInfo(Symbol(), MODE_TICKVALUE);

    Awaiting for response,

    Thanks in advance,

    BGT

  2. #2
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    339

    Default

    Dear BGT


    l=MarketInfo(Symbol(), MODE_LOTSIZE);

    To get the lot size use this function SymbolInfoDouble("SymbolName",SYMBOL_CONTRACT_SIZE,I)


    m=MarketInfo(Symbol(), MODE_PROFITCALCMODE);


    On our system structure there is no mode to calculate the profit loss such as a MT4

    p=MarketInfo(Symbol(), MODE_POINT);


    To get the point value you can use SymbolInfoInteger("SymbolName",SYMBOL_PIP_LOCATION,P)


    t=MarketInfo(Symbol(), MODE_TICKSIZE);
    v=MarketInfo(Symbol(), MODE_TICKVALUE);



    Unfortunately there is no VTL Function that used to return Tick Size or Tick Value ,So we will study the possibility of adding these features to our development cycle. I will Update you soon.

  3. #3

    Default

    As you refer in this reply i have used p=MarketInfo(Symbol(), MODE_POINT); to get the point value in vtl
    In mql it gives 0.0001 value for point and in vtl this function gives -5 for EUR/USD
    In mql it gives 0.01 value for point and in vtl this function gives -2 for AUD/JPY

    Please suggest how i can get the point value

  4. #4
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    339

    Default

    Quote Originally Posted by BGT View Post
    As you refer in this reply i have used p=MarketInfo(Symbol(), MODE_POINT); to get the point value in vtl
    In mql it gives 0.0001 value for point and in vtl this function gives -5 for EUR/USD
    In mql it gives 0.01 value for point and in vtl this function gives -2 for AUD/JPY

    Please suggest how i can get the point value
    you can calculate the point value by this formula ( Point value = 10 ^ (abs(Pip location value)))

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •