Jump to content
Medved Trader Forums

Kasper

Members
  • Posts

    128
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Kasper

  1. Sorry, I forgot I had deleted TIF field before exporting hotkey. The problem with TIF assignment through variable persists in any hotkey. Something as simple as following:

     

    {
      "Vars": {
        "nTIF": "Day_Ext",
        "If": []
      },
      "Command": {
        "Disabled": false,
        "Order": {
          "Drop": "true",
          "Send": "false",
          "ConditionalType": "None",
          "Legs": [
            {
              "OrderType": "Limit",
              "Action": "Buy",
              "LimitPrice": "Mid",
              "TIF": "nTIF"
            }
          ]
        }
      }
    }

  2. I get following error when switching from default TIF through conditional/var.

    Saved Order Error: There is an error in XML document (1, 216). Instance validation error: 'gTIF' is not a valid value for global::MT.Trading.OrderTimeInForce.

     

     "Condition": "RegSession=false",
          "Then": {       
            "gTIF": "Day_ext"

     

    I am this as global conditional because second/third legs don't use trading default TIF on chart except for first leg.

  3. Hi Mike,

    Stop/start data source in Level 2 doesn't fix issue. It's intermittent problem and I don't use level 2 frequently. I was more concerned about raw data window stalling as I was not sure if charts are accurate anymore. Since last couple days, I am trying out DXfeed, I'll setup Webull on a second computer to see it causes problem there as well.

  4. This problem persists, level 2 feed (Webull) stalls randomly. This problem started few months ago when I subscribed to Webull NBBO, which may be coincidence. Anyway, I now have DXfeed for NBBO but still using Totalview from Webull.

    Also, I use Depth chart, is it possible to remove or increase limit for Top Bid/Asks? I can use just one window.

  5. Hi Mike,

    Thanks for clarifying this for me. I guess I should use more templates instead of too many indicators on one chart.

    IsHidden will be good way to exit paintbar if a PB indicator is hidden. Thanks for coming up with this idea.

    I suppose one can track a paintbar's performance by plotting or setting alert on time it takes to complete a run?

  6. Hi Jerry/Mike,

    Thanks for the info. I think DXfeed will be great addition, many users requested this service.

    I don't keep tick data more than 1-2 days, but it can be useful in some cases.

    It will be great if there's a way to set data storage rules on per symbol basis in portfolio window. It can be just a column in portfolio editor, TickLimit, which sets number of days a symbol's tick data can be accumulated.

    Another good thing can be to simply allow users export data from portfolio window and import back in to MT as original symbol or even custom named symbol for analysis. If user can export/import data for single or multiple symbols, it can also be nice separation of backup for symbol data from rest of MT.

    Sorry, this thread turned in to another idea for your consideration.

  7. Hi,

    Previous close price during pre-market does not show correct value for last regular trading session, instead it shows close of day prior to last. I drew a horizontal line for previous close and it shows close of post-market for last trading day except when I turn off "always use computed values" only then it shows close price for last regular trading session. This is causing incorrect previous close price in watchlists and chart quote box during pre-market hours. My data source is Webull.

  8. This involves fetching price data for multiple symbols and presenting them as one symbol to plot or watchlist item. This can be used for options and future spreads and detect arbitrage etc.

    (Symbol1 (+-/* [n]))(+-/*)(Symbol2(+-/* [n]))(+-/*)(Symbol2(+-/* [n])).......

    Below example is a simple Bull call spread. 

    (.SPY_211119C460 * 1) + (.SPY_211119C465 * -1)

    (10.40) + (6.33) = 4.07 current price of spread per contract

    In MT, I can do something similar by adding spread to a new portfolio using options risk analyzer and plot Total value of spread in an intraday chart. Historical chart is greyed out though and I can't plot just the price as shown above.
     

  9. MT has Price spread indicator, I suggest this can be enhanced or a new type of chart can be made by allowing multiple symbol's values plotting net OHLC values chart. As bonus if this value can be displayed in a watch list as a custom named symbol. TWS does similar for option strategy price plotting and watchlist item. Some other software do similar in symbol comparison charts using simple arithmetic.

    image.thumb.png.2b0d0e31e7978a320551c99a831d5fda.png

  10.  

    When a portfolio source is Yahoo Finance, a refresh frequency value can be set, for example, 300 seconds in screenshot below. I assume this means that MT will fetch data every 5 minutes, however I see quotes update almost like real time. Can you clarify correct use of it? To be clear, this portfolio have symbols that generally don't exist on other portfolio using Webull data source. Also, can this refresh frequency be set for other data sources as well?

    image.png.a71a5bcd1dd9e0bd2c67de792a934169.png

     

  11. Since this indicator is displayed as candles shape only, it overlaps chart primary candles if set with lower EMA. The offset would allow display indicator slightly above or below existing candles.

    Yes, placing indicator above/below mitigates the overlapping but value is not as precise on Y axis. Perhaps, if possible, add a info balloon when a new arrow is formed indicating values of that candle. I'll change indicator opacity to reduce distraction on main chart.

    Thanks for advising on arrow values, it works. Just to be clear, 0 is for when no arrow on a candle, meaning continuation of trend, correct?

  12. I watched the feed for some time after market today, it was working up until 6pm. Then last price stalled, bid/ask quotes were correct and raw data showed ticks with correct volume and time stamp but last price was frozen. In comparison both Webull and Questrade were showing correct trade data and chart candles on their own platforms. MT charting flat line for candles after 6pm.

×
×
  • Create New...