Search:

Type: Posts; User: Rawan-HS; Keyword(s):

Page 1 of 16 1 2 3 4

Search: Search took 0.13 seconds.

  1. Dear arjunsingh30 Actually you can't...

    Dear arjunsingh30



    Actually you can't compile the SmartDealer Script or any VBL Script in Visual Studio because the VBL Scripting Language is the soul of the VertexFX Bridge that built inside...
  2. Replies
    2
    Views
    1,088

    Dear BGT You have to know that you are...

    Dear BGT




    You have to know that you are setting the value for the two dimensional using wrong way and that caused the Subscript out of range 'workEma' so you have to replace the (...
  3. Replies
    2
    Views
    24

    Dear BGT As a solution after taking the...

    Dear BGT



    As a solution after taking the first limit order put your code that takes the other limit order inside the OnOrderTrade event when actionType equal 12 (TRADE_LIMIT_ORDER_NEW) and...
  4. Thread: swap value

    by Rawan-HS
    Replies
    1
    Views
    933

    Dear BGT Unfortunately, these values not...

    Dear BGT



    Unfortunately, these values not available in VTL at this moment , we will study the possibility of adding it and I will update you soon .
  5. Thread: Load Chart

    by Rawan-HS
    Replies
    1
    Views
    3,501

    Unfortunately , there is no method that load all...

    Unfortunately , there is no method that load all the chart data but you can use GetChartData method to load the chart bars data according to count number that you pass it to function
  6. Thread: Bars

    by Rawan-HS
    Replies
    1
    Views
    4,559

    Dear BGT You can get the bars count for any...

    Dear BGT

    You can get the bars count for any symbol and for any time frame you want by calling the HighPrices method which returns the bars count for the requested symbol that was opened before,...
  7. Replies
    1
    Views
    3,705

    Dear BGT Unfortunately, at this moment we...

    Dear BGT



    Unfortunately, at this moment we are not supporting this kind of the trend line , we will study the possibility of adding it
  8. Replies
    1
    Views
    3,953

    Dear BGT I have checked it from my side and...

    Dear BGT

    I have checked it from my side and it is working without any Infinite loop or crash , so please till me what are you doing exactly? , which symbol did you use? and what the version for...
  9. Replies
    1
    Views
    4,188

    You can save the closed order on array if the...

    You can save the closed order on array if the order was already sent to close do not send it again
  10. Replies
    3
    Views
    4,381

    Dear ishirawic Check the sample code on the...

    Dear ishirawic

    Check the sample code on the attachment file and for more samples to how write the VTL Script Check this Link
  11. Replies
    3
    Views
    4,381

    Dear ishirawic At first to start with VTL You...

    Dear ishirawic

    At first to start with VTL You have to know about it , you can check the following link for more help



    1- On the main sub procedure save the current time which is determined...
  12. Replies
    6
    Views
    8,384

    Dear BGT You have to know that you can't get...

    Dear BGT

    You have to know that you can't get the SL/TP Prices directly for the pending order that had a SL / TP from history when HisType = "SL , BL ,SS, BS" but you can get it by the following :...
  13. Replies
    6
    Views
    8,384

    Dear BGT Sorry about this delay to response ,...

    Dear BGT

    Sorry about this delay to response , Using GetAccountHistory you can get the SL Value , TP Value , Open Value , and Close Value
    By the Following ;
    - If HisType = "SL/TP" then the...
  14. Replies
    6
    Views
    8,384

    Dear BGT I will check it , and I will update...

    Dear BGT

    I will check it , and I will update you soon
  15. Replies
    6
    Views
    8,384

    Dear BGT The MQL code is using the Stop Loss...

    Dear BGT

    The MQL code is using the Stop Loss ,take Profit and open Price for a selected order which mean for an open trade , so you do not need to use a history method that returns a closes order...
  16. Thread: help please

    by Rawan-HS
    Replies
    2
    Views
    5,983

    Dear BGT You are giving a stop loss and take...

    Dear BGT

    You are giving a stop loss and take profit parameters on the new limit method value equal zero, and that caused the invalid price error, if you don't need the Stop loss or the take...
  17. Thread: help please

    by Rawan-HS
    Replies
    3
    Views
    6,418

    Dear BGT Unfortunately we don't have a...

    Dear BGT

    Unfortunately we don't have a function that return a close price for a specific bar but you can use CurTime method by calling it in OnCalculate event which fired after closing a bar and...
  18. Thread: help please

    by Rawan-HS
    Replies
    3
    Views
    6,418

    Dear BGT You can use iclose...

    Dear BGT

    You can use iclose method to get the close price to any candle you want ,so to get the close price for current candle you have to wait the OnCalculate event to trigger then call the...
  19. Replies
    6
    Views
    7,804

    Dear BGT As an alternative method you can use...

    Dear BGT

    As an alternative method you can use the CopyLow method by comparing between the result data that you will receive from this method to get the lowest price
  20. Replies
    6
    Views
    7,804

    Dear BGT We found the issue and solved it ,...

    Dear BGT

    We found the issue and solved it , it will be on the next version I will update you once we release it .
  21. Replies
    6
    Views
    7,804

    Dear BGT I will check it from my side once I...

    Dear BGT

    I will check it from my side once I find out the issue I will update you .
  22. Replies
    3
    Views
    7,348

    Dear BGT You can use the following methods (...

    Dear BGT

    You can use the following methods ( GetTime , GetYear , GetMonth , GetDay, GetHour , GetMinute ) to get the time for any bar you want
  23. Replies
    3
    Views
    7,348

    Dear BGT Unfortunately there is no VTL method...

    Dear BGT

    Unfortunately there is no VTL method that you can use it to convert from date to string but you can check the following code



    Public Sub main()

    dim vDate
    dim vDateString
  24. Thread: help please

    by Rawan-HS
    Replies
    2
    Views
    6,076

    Dear BGT You are trying to convert double...

    Dear BGT

    You are trying to convert double value to long so just replace the Clng with Cdbl then everything will be fine.
  25. Thread: help please

    by Rawan-HS
    Replies
    1
    Views
    5,959

    Dear BGT I have checked the script from my...

    Dear BGT

    I have checked the script from my side and I did not find any issue ,comparing with MT4 script it was the same so please let me know what exactly you face and double check it from your...
Results 1 to 25 of 395
Page 1 of 16 1 2 3 4