Jason Posted June 11, 2019 Report Share Posted June 11, 2019 Is there any way in MT that it can expose the high and low of the current candlestick? I work with scripts where it would be tremendously helpful to me if I could, with the script, read the high and low of the current candlestick so that they could be used for setting up orders with my hotkeys. There are multiple ways the script could access data but the simplest way would probably be if I could configure MT to display the high/low of the current candle in a chart in the window title bar. I work with multiple softwares and some of my strategies require quick order setup and utilize the high and low of the current candle. Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted June 11, 2019 Report Share Posted June 11, 2019 you can use the API for that https://www.medvedtrader.com/www/frontend/blog/HTTP-API#GetHistory If you request 1 min frequency, just the last couple min, the last row returned will be the "current" candle. Quote Link to comment Share on other sites More sharing options...
Jason Posted June 11, 2019 Author Report Share Posted June 11, 2019 Awesome! But I am trying to play with it now to see what I can do but can't activate the API feature in the software. I'm not sure how to get the Medved Trader Account Password needed. I would have thought it would have been the password I use to log in to the Medved Trader website here like to change which plan I'm subscribed to for example but it doesn't accept that. Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted June 11, 2019 Report Share Posted June 11, 2019 it is the same as the password to start MT or login to the main site. It is not the same as password to login here on the forums. Quote Link to comment Share on other sites More sharing options...
Jason Posted June 11, 2019 Author Report Share Posted June 11, 2019 Well, I don't have a password for starting MT. I think I set it up to remember it or something. But I only have two passwords in my records. One for logging into the site to update my profile or change my payment plan and a separate one for the forums. I can't find any way to retrieve it from the software (even though it must have it since I start the software frequently). Quote Link to comment Share on other sites More sharing options...
Jason Posted June 11, 2019 Author Report Share Posted June 11, 2019 The password I have for the main site, which works for that, isn't accepted by the software for the API access. Forgot to add that. Quote Link to comment Share on other sites More sharing options...
Jason Posted June 11, 2019 Author Report Share Posted June 11, 2019 Well, my notification settings keep producing an audible sound as if you are replying to my posts but now even when I reload the page I can't see any responses. Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted June 11, 2019 Report Share Posted June 11, 2019 the password for the main site is the one that should be used. NOTE: it is case sensitive Quote Link to comment Share on other sites More sharing options...
Jason Posted June 11, 2019 Author Report Share Posted June 11, 2019 I just used copy and paste so there shouldn't be any issues with the case. Quote Link to comment Share on other sites More sharing options...
Jason Posted June 11, 2019 Author Report Share Posted June 11, 2019 I figured it out. Copy and paste works most of the time and I use that since I have long complicated passwords but once I entered the password manually I was able to get API access. Sorry for the hassle. Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted June 11, 2019 Report Share Posted June 11, 2019 copy/paste may have been including whitespace Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.