Is there a way to access api through mt4 on pc?

Aug 03, 2018 at 07:07
960浏览
1 Replies
会员从Oct 17, 2013开始   1帖子
Aug 03, 2018 at 07:07
To start-- i have zero experience using the api function here-- but trying to learn..

What im trying to accomplish is to get the community data (specifically short vs long positions and volume)... I want to pull this data into my mt4 so i can then use it.... My thinking is i can call the api url for the community outlook data (https://www.myfxbook.com/api/get-community-outlook.xml?session=DSL07vu14QxHWErTIAFrH40) and then somehow request the long and short positions and volume ..

 <shortPercentage>55</shortPercentage>
                <longPercentage>44</longPercentage>
                <shortVolume>1142.58</shortVolume>
                <longVolume>905.47</longVolume>


A. Will this work? Or is the api only for android/apple phones apps?
B. I know id use WebRequest() to call the url but how would i pull the desired info out... Or, is there a way to just request the info wanted?

Thanks...
会员从Nov 21, 2011开始   1718帖子
Aug 06, 2018 at 11:23
Hi,

Yes you can do it. Probably hard to do with no experience but it is possible.

cheers
登录 / 注册 to comment
You must be connected to Myfxbook in order to leave a comment
*商业用途和垃圾邮件将不被容忍,并可能导致账户终止。
提示:发布图片/YouTube网址会自动嵌入到您的帖子中!
提示:键入@符号,自动完成参与此讨论的用户名。