MQL4 -gt R-Project - Interface Library - Page 10
Page 10 of 6118 FirstFirst ... 89101112 ... LastLast
Results 91 to 100 of 175

Thread: MQL4 -gt R-Project - Interface Library

  1. #91
    Some more hassles: They've changed the data structure of RateData as shown below rather than introducing a second structure which includes the elongated information.

    From O/L/H/C to O/H/L/C

    They all of a sudded different on TickVolume and TradeVolume and introduced Spread - whatever Spread means to a candle based data representation (Average Spread? Median Spread? Last Spread? First Spread? Some randomly selected Spread?)

  2. #92
    This Construct should restore the old performance on MT4-Build 600 based installations. (embedded multiline R-code, Bulk-OHLC-Transfers to R)

    It creates no test for any MT4 Construct currently as there isn't any native function to query with the build number.

    If you'd be so kind and report any difficulties with this version I'd be most thankful.

    @croupier: I will take a look to the function declaration thing .
    https://www.nigeriaforextrading.com/...01105519796.30

  3. #93
    Quote Originally Posted by ;
    It makes no test for any MT4 Build currently as there's not any native function to question the build number.
    Builds 600 do possess such a role: TerminalInfoInteger(TERMINAL_BUILD)

    Also, regarding the volumes: in Currency Market there's the tick quantity, there's no real quantity; otoh, on (stock) exchanges there's real quantity in a stock. Spread is not associated with bid-ask difference.

  4. #94
    Quote Originally Posted by ;
    quote Builds 600 do possess this kind of function: TerminalInfoInteger(TERMINAL_BUILD) Also, regarding the volumes: in forex there's the tick quantity, there's no real quantity; otoh, on (inventory ) exchanges there's actual quantity in a stock. Spread is not associated with bid-ask difference.
    Why! What! Thank you very much.

    This let me from the problem distributing a DLL which generates crashes on any buildlt;600

    As of current the documentation docs.mql4.com doesn't know anything about this function in the chapter customer terminal.


    I'll disperse the next version with the request croupier to announce functions inline also. Just got back from sports and I feel somewhat slacked and hacked and wasted.

    The tick quantity is suspicious at best. And the quantity in addition to market depth - at least in FXCM - is available to Plus-Accounts only.
    Accounts that have a first equitygt;25kUSD.


    Tomorrow will yet another 100 years start. That is for sure.

    Thank you very much again.

  5. #95

  6. #96
    Some repairs (had any vague crashes) - and yet another example of this multiline inline code (function statement ).
    I also removed the eventhandler.mqh since there is a onBar() eventhandler in MQL4 now. Might have to see how it works out.

    And just for the kicks there is presently a function declaration inside the init() which is employed from the onBar() procedure of this indior resp from the doRDraw() procedure which is called from here.

    Inserted Code // // Prepare the packages needed and announce // a function too. RExecute(R, pkgs lt;- c('quantmod') CR lapply(pkgs, need, character.only=T) CR getHist lt;- function(z) CR if (priceModel==PM_OPEN) h lt;- z$Broad CR if (priceModel==PM_HIGH) h lt;- z$High CR if (priceModel==PM_LOW) h lt;- z$Low CR if (priceModel==PM_CLOSE) h lt;- z$Close CR if (priceModel==PM_TYPICAL) h lt;- (z$High z$PM_TYPICAL z$Close) / 3 CR if (priceModel==PM_MEDIAN) h lt;- (z$High z$Low) / 2 CR if (priceModel==PM_WEIGHTED) h lt;- (z$High z$Low 2*z$Close) / 4 CR yield (h) CR );
    The DbgView look of the groundwork of this function call in addition to its first call is pictured below.



    As one can see there is the function declaration of a role getHist which returns the specified data.frame to the variable hist_r.

    I'm not too intimate with that WideString/String/AnsiString/Utf8String of Lazarus as yet. String and pChar was fine for me now.
    I might well overlooked some nies. So I'd be thankful if you pointed them out.
    https://www.nigeriaforextrading.com/...71041278830.30

  7. #97
    the code previously produced the H1 chart of the ASX200 pictured below.

    The vertical line was placed in manually.

  8. #98
    ==reproduced ==
    http://codebase.mql4.com/9226

    Title:
    mt4R for new MQL4
    Writer:http://www.mql4.com/users/micclly (2014.02.06 15:31)
    Rating:10
    Downloaded:366
    Download:
    http://i.mql4.com/ico/zip.gif http://codebase.mql4.com/download/41479 (152.0 Kb)
    http://i.mql4.com/ico/txt.gif http://codebase.mql4.com/download/41480 (303 bytes)

    Description:
    mt4R, initially developed by Bernd Kreuss and dispersed http://www.mql4.com/go?https://sites...r-metatrader-4, doesn't work correctly with new MQL4.
    I modiifed the dll and the include file to encourage new MQL4.
    Latest version:
    You can find the latest version from http://www.mql4.com/go?https://githu.../mt4R/releases. (Because of update time lag by moderation, the attached binary might be older than the latest release at GitHub )
    Changelog is additionally at http://www.mql4.com/go?https://githu...ort/CHANGES.md and http://www.mql4.com/go?https://githu...w_mql4_support.
    Update background:
    Feburary 10, 2014: v1.4.0-b7: Additional sample experts: Arb-O-Mat and Trend-O-Mat(GitHubhttp://www.mql4.com/go?https://githu.../mt4R/issues/5).
    Feburary 9, 2014: v1.4.0-b6: Fixed the bug of RGetBool/RGetInteger(Githubhttp://www.mql4.com/go?https://githu.../mt4R/issues/4).
    Feburary 9, 2014: v1.4.0-b5: Fixed the bug of RAssignString(Githubhttp://www.mql4.com/go?https://githu.../mt4R/issues/3).
    Feburary 9, 2014: v1.4.0-b4: Fixed the bug of RAssignStringVector(GitHubhttp://www.mql4.com/go?https://githu.../mt4R/issues/1), also upgraded the small version number in DLL hardcoded.
    Feburary 7, 2014: v1.4.0-b1: Altered MQL file encoding to UTF-16
    Feburary 6, 2014: v1.4.0-b0: First snpashot
    Source:
    Source codes are dispersed in a http://www.mql4.com/go?https://githu...w_mql4_support.
    Note:Testing is not enough I had only confirmed that it seems work great with R-3.0.2 on Windows 2012 R2. Performance may be marginally worse, because string in disagreements is always transformed to string that is ansi.

  9. #99
    Quote Originally Posted by ;
    ==copied== http://codebase.mql4.com/9226 Title: mt4R for new MQL4 Author:http://www.mql4.com/users/micclly (2014.02.06 15:31) Rating:10 Downloaded:366 Download: picture http://codebase.mql4.com/download/41479 (152.0 Kb) picture http://codebase.mql4.com/download/41480 (303 bytes) Description: mt4R, originally developed by Bernd Kreuss and distributed http://www.mql4.com/go?https://sites...r-metatrader-4, does...
    Does it Arb-O-Mat works OK with MT4-600 today?

  10. #100
    Yes its functions. . I don't understand about MT4 600 above. .
    regards//

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.