Jump to content
Medved Trader Forums

Leaderboard

Popular Content

Showing content with the highest reputation since 01/26/2021 in all areas

  1. we don't have that info. there may be something that is IB specific, but well.... a bit too IB specific.
    1 point
  2. No, seriously. C# doesn't include in its libraries the "AlmostEquals" kind of function for floats. So I had to write it myself. It is a non trivial problem. The most precise method would be of course to decode the IEEE float into its exponent/fraction components and then compare them. I settled for a different method that unfortunately involves calling log functions etc. It is a little slower but I think more clear. But I of course screwed it up. Fixed now. Will be in next ver.
    1 point
  3. 1 point
  4. Hm. It is not a trivial thing. If it is a timed chart, you can figure out how many candles it takes to session start by subtracting session start time from current candle timestamp and dividing by the candle size. Then use that number in the Any loop....
    1 point
  5. Well I'm no code expert, but I think I would just write a loop and keep walking back until the IsPreMarket became true and see if I had a desired result. Since you're using Any( ), I might just exit early since the first instance would be a true result. I'll let the true coders suggest a compact way using the advanced looping functions or some other way.
    1 point
  6. 1) SETTINGS / CHARTS / GENERAL - Misc section - Default Annotation 2) I think you have the chart set to show entire day. on the chart toolbar, click on VIEW tab, OPTIONS and uncheck "Show entire current day"
    1 point
  7. Been there, done that too. You can put in @ES# if you miss seeing quotes come in.
    1 point
  8. Nevermind please Jerry. I'm a moron and forgot it was a holiday. Have a great day.
    1 point
  9. if you cancel, it will not show. the data only updates when the transaction is open, or in case of positions, if there is one or even closed one. If you just do a dummy trade and cancel, there is no position
    1 point
  10. 1 point
  11. Anyone have problem with WeBull streaming today in the last last 2 hour of open market? No data (I restarted MT but the problem is the same) PS: Adroid WEBULL app work well.
    1 point
  12. This is a nice addition to the latest beta. Volume is my primary indicator when I day trade. One request on this when you have time -- similar to the Volume Indicator, can you add a "Show MA" checkbox option for this? Thanks in advance.
    1 point
  13. will be in next update. rounding issue
    1 point
  14. 1 point
  15. If there's demand then may be worth adding at least one data source offering larger symbol limit or no limit. polygon.io metastock xenith dxfeed Perhaps, MT can negotiate package with an existing data source and offer a bundled data package.
    1 point
  16. But MT needs the ability to create gainers/losers list to be a truly standalone platform, Perhaps its time to project it Jerry? Pls
    1 point
  17. Right now it is only saved if the conditional order dropdown, "clear after placing order" is not checked. I will change that. That is a remnant of a previous change.
    1 point
  18. You have to subscribe using this link specific to Medved. I assume you subscribed directly from Quotestream website https://client.quotemedia.com/qscreg/medved/index.php
    1 point
  19. fixed. you can get the update from same link that I previously sent you
    1 point
  20. 1 point
  21. Hi. Jerry's answer is here:
    1 point
  22. 1 point
  23. you are tracking some of the highest volume symbols with a tick datafeed. Especially in the past 2 weeks, it would result in huge amount of data, so when switching symbols, MT has to compute all that. There are a few things you can do to improve things: 1) you have max # of days for charts set to 60 (that is 60 market days, not calendar days, so basically 3 month). your intraday charts don't use nearly that much. So if you can reduce that number to 20 or 30 or whatever you really need, that will improve things. (SETTINGS / CHARTS / GENERAL) 2) you do not use tick charts it seems, yet
    1 point
  24. ok, note that when exporting, if you select the security setting where it is for yourself vs sharing with others, account info is exported too. That type of export is encrypted and can only be imported on another computer logged in with the same ID.
    1 point
  25. The Last, High, Low, Close come from the "Chart" - that is, current chart. Not from current-chart-up-to-the-candle-being-processed... Prev Close, Prev Open etc. also come from the chart but they obviously don't change as new data gets added. If you wanted to use High/Low for current timestamp, you'd keep track of it yourself. It is easy enough, you just have to define the DayHigh/DayLow and DayNum outside the function, zero it out when the DayNum is not equal to TradingDay.DayNumber, adjust the DayHigh and DayLow to the new candle's high and low, and set the DayNum to TradingDay.DayNumbe
    1 point
  26. there is no way to do a automatic trade based on that. You can however setup a Paintbar / scan to alert you when the condition is met
    1 point
  27. Bigbo, I am an electrical engineer, and i also feared the learning curve of C#. But, the kind Medved brothers helped me slide down the rabbit hole into the dark recesses of C#, which BTW, is immensely easier than plain old C. It's amazing how fast you can come up to speed and be writing code. The PB I use for my scanner had a humble beginning but now has grown to 600 lines of code. My suggestion is to use the simple PB editor and just do something like if the close = the previous low then set an alert. Switch to advanced mode and you will see the code and as any good engineer knows it is easie
    1 point
×
×
  • Create New...