To use chat, please login.
Back to contacts

Need API help

CrazyTrader (CrazyTrader)
Dec 02 2013 at 15:45
1718 posts
Hi all,

Does anyone here skilled enough to developp an API.

https://www.myfxbook.com/api

I would like to get Outlook Community connected to MT4 in order to create signals.

Myfxbook team told me it is possible... but I have no idea how to do so.

I'm looking for someone that could help me.


Cheers
CrazyTrader

moneyrain
Dec 02 2013 at 20:10
3 posts
https://codebase.mql4.com/4428
https://codebase.mql4.com/7353

Above will give you the ability to communicate with API or any other web source.

BTW. You can check dukascopy sentiment too..

Have a pips filled day,

M
 

CrazyTrader (CrazyTrader)
Dec 02 2013 at 21:19
1718 posts
moneyrain posted:
https://codebase.mql4.com/4428
https://codebase.mql4.com/7353

Above will give you the ability to communicate with API or any other web source.

BTW. You can check dukascopy sentiment too..

Have a pips filled day,

M
 


Thank you... but it's enough for a newbie like me.

Yes there is a lot of sources to check sentiment, but the great thing would be to be alerted when a change is happening... not when we look at it... it could be too late.

slam_dunk
Dec 09 2013 at 07:27
11 posts
hello crazytrader.

possible it is.

the first thing that you might want to do is to get logged in, using somethng like this:

https://www.myfxbook.com/api/login.json?email=elvis@yahoo.com&password=letsboogie&debug=1

the above link will return a session id which will be required to use most of the other api functions..


1) use the login.json link(above) to acquire your session ID.

2) replace the following session id with your session id, the open said link.

https://www.myfxbook.com/api/get-community-outlook.json?session=DSL07vu14QxHWErTIAFrH40&debug=1

note: you may leave the debug=1 option enabled, your choice, it simplifies the output that is returned/displayed.


for details:
https://myfxbook.com/api



CrazyTrader (CrazyTrader)
Dec 09 2013 at 13:58
1718 posts
Thank you for helping but where should I login that way as I want to create an indicator for MT4?

slam_dunk
Dec 10 2013 at 16:15
11 posts
ok, fine, lets take this a bit more slowly.

first, manually replace the email and password in this following link and then just pull up that link in your favorite web browser and then make a note of your session id that is returned to you.

https://www.myfxbook.com/api/login.json?email=elvis@yahoo.com&password=letsboogie&debug=1

then, once you are in possession of said session id, insert it into this link and open it using your browser.

https://www.myfxbook.com/api/get-community-outlook.json?session=DSL07vu14QxHWErTIAFrH40&debug=1

note: as clumsy of a process as all of that might seem, i understand that this is what computers do very well, they automate the processing of clumsy tasks.

this process of logging in(obtain session id) and then accessing the community outlook information could be automated using metatrader's built in programming language, or it could also be written as a php web application which could become your own personal view of the metatrader system.



slam_dunk
Dec 10 2013 at 16:15
11 posts
edit: which could become your own personal view of the MYFXBOOK OUTLOOK system ..

CrazyTrader (CrazyTrader)
Dec 10 2013 at 16:46
1718 posts
slam_dunk posted:
edit: which could become your own personal view of the MYFXBOOK OUTLOOK system ..

I really appreciate your help man.

This is what I got when I put my ID and password into that link:

https://www.myfxbook.com/api/login.json?email=My_email.com&password=My_password&debug=1

{
 'error': false,
 'message': '',
 'session': 'rrYclnohNMGV7MCw9xAc54230'
}

slam_dunk
Dec 10 2013 at 21:24
11 posts
it seems that i have misplaced my login for the email that i used to register here at myfxbook, so i have not actually tried to run that link with a valid account email and password... ( i also misplaced my myfxbook password)

so i dont actually know if what we are doing with that link is correct or not...

i have perhaps incorrectly assumed that it would work as expected..

perhaps i should reregister another account here at myfxbook and then i can test this link more.



CrazyTrader (CrazyTrader)
Dec 10 2013 at 22:22
1718 posts
Let me know... : )

Please login to comment .