Jump to content
Medved Trader Forums

Mike Medved

Administrators
  • Posts

    1,535
  • Joined

  • Last visited

  • Days Won

    123

Everything posted by Mike Medved

  1. Well yes - every hotkey is assigned to its own key. It is also "scripted" - you can have variables and conditional variables and the Quantity can be a number or an expression. I just posted a very simple one so as not to scare anyone.
  2. TD Ameritrade changed things last night that broke some stuff. They are working on fixing it, meantime: 1. Please select FILE / HELP => Check for Updates. Let MT Update all files, then restart MT even if nothing updated. or 2. go to https://medvedtrader.com/beta and download the beta. Install it over the current MT and things will somewhat return to normal. Streaming trading account updates still need to be fixed, on Ameritrade server side.
  3. Yes, was returning the wrong value (I think Ask)...
  4. The data source is per-portfolio. So you can have 5 different portfolios with 5 different data sources. What you can't have is the same symbol that appears in several of these portfolios, because each portfolio will store the data for the symbol, interfering with each other.
  5. That is why we are providing for you the session info. So you don't have to convert times. You just do var Info = GetTradingSessionInfo(Timestamp); if (Timestamp > info.SessionStart.AddHours(1)) <--- this would check if we're past the first hour of the trading session
  6. Yes that is why it's great that our users force us to be up to date
  7. The secret of a good programmer is the ability to remember where to look in the code.
  8. It was not looking at backfilled ticks or ticks where Bid = Ask correctly. Will fix. As for colors - the default for bid is the "Volume Up" color. Ask - "Volume Down" color.
  9. Yes - you can check the time in relation to the current trading session for the candle. Use GetTradingSessionInfo - https://www.medvedtrader.com/trader/WebHelp/advanced_timestamp_and_trading.htm Than you can check what the info.SessionStart is and see if your Timestamp is past that.
  10. Mike Medved

    Yahoo News

    Yes. We don't do it for all symbols because the download from yahoo per symbol is substantial.
  11. That one is a bit problematic. It is Volume * 100 / AverageVolume. The problem is that not all sources provide the AverageVolume, so you may not have it. MT either gets it from the sources that do give it or calculates it itself when you open a historical chart.
  12. wendlefly: when you put the scan on the portfolio, do you specify "historical" in the scan? Is the frequency the same? Note that the scan I gave above says "Any Parameters", which for scans means defaults. If you want specifically 14,7 - change it to that. If after that it is still wrong, can you give an example of a symbol or two for which the scan I gave above triggers but when you go to historical chart it doesn't fit the criteria?
  13. I guess I could make it an option that IF it is the same symbol, then just use the price level from the first chart.
  14. I see forgot about that. The reasoning is: on the chart in focus you are in control of where the mouse is so the price of the crosshair is on the chart. On the other chart, who knows what the current scale is, so can't just take the crosshair price from the first chart, it may be completely out of range. Especially if it is a different symbol.
  15. That would take some thinking. I mean the machinery would be there but have been very wary of doing any kind of "autotrading" because just placing orders is not enough. There has to be risk management etc. built in. It would be a lot better to just build an app outside of MT that would use MT's streaming API to get data, get account info and place/manage orders.
  16. See the doc I posted above. You could place several orders in a single hotkey with whatever split quantities you want. I am making it extremely flexible. The problem will be making a good UI for editing the complexity.
  17. The tracing is synced X-axis-wise. HOW the Y (Price) for the X shows on the chart depends on how you set it up. Tracing can be "freestyle" or "snap to candles". Yours is "snap to candles" apparently. Change it to "Freestyle" in Charts / Display settings. You would still be able to switch it to be snap to candles in a currently active chart by pressing Ctrl-Shift while moving the mouse, but it would be "Freestyle" in general.
  18. https://www.medvedtrader.com/trader/WebHelp/linked_windows.htm Trace Linking - second topic.
  19. You can sync crossbars independent of the linked symbols now. Why restrict it to linked symbol only?
  20. This checks for >20 <50 and volume>average. If you want to check for other things like uptrend, add that. Like is SLOWST_Line > SLOWST_Line[1]
  21. You want to detect Slow Stoch (Line I presume, not Signal) between 20 and 50. And at the same time the day's volume is at least 50% of average volume. Right?
  22. You know you can make an advanced paintbar that would do this (I think I got the logic right): .fctbNone{ color:#000000; } .fctbStyle5{ color:#0000ff; } .fctbStyle3Style7{ color:#000000; } .fctbStyle7{ color:#000000; } .fctbStyle6{ color:#800000; } if (Close < Open && Close > Math.Max(Close[1],Open[1])) { SetColor("ColorUp", SysColor.Background); } if (Close > Open && Close < Math.Min(Open[1],Close[1])) { SetColor("ColorDn", SysColor.Background); } Place this paintbar on the chart and set your colors to whatever you want. Then you can either set the paintbar to color candles or just make it show arrows on the candles that satisfy the criteria or something.
  23. You can have a portfolio that has separators (symbol that starts with ---) between groups of symbols. That would have subtotals and sorting within groups.
×
×
  • Create New...