Jump to content
Medved Trader Forums

Mike Medved

Administrators
  • Posts

    1,539
  • Joined

  • Last visited

  • Days Won

    123

Everything posted by Mike Medved

  1. 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]
  2. 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?
  3. 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.
  4. You can have a portfolio that has separators (symbol that starts with ---) between groups of symbols. That would have subtotals and sorting within groups.
  5. All the parameters in the hotkeys will be calculable. For what I currently have on "hotkeys" (they are right now implemented as having a paste of a JSON string into Chart and DOM windows): A doc (incomplete, fluid, very much subject to change, but will give you an idea: https://docs.google.com/document/d/16en463ICqnRfnSjrdWVsvcT5XeEZmhdTYNMCH5IP_lw
  6. hmmm we're kind of leaning towards saving each hotkey in its own file. Which in your case would be a full directory reload. But what you said gives me an idea. Maybe we could do a "global var" kind of thing that you could set in your hotkey settings that would be accessible from every hotkey JSON and would allow it to conditionally do different things.
  7. I am not sure what you mean, Arg. Are you talking about MT's hotkey text files saved as one file per hot key in some known directory, then you changing the text files on the fly? Or are you talking about the exact same text file being used as a hotkey, but being assigned to several key combos, and detecting inside itself which combo invoked it?
  8. We could add that, but note that symbols are de-duped before subscribing to data feed. So if you enter them several times in the portfolio, they are not subscribed multiple times to the data feed. Send is your settings (which would include your portfolios) from the Help submenu - and I will look why it would exceed 1500. Mention this thread in the comments so I know what it is about.
  9. Arg. your points 2 and 3 is what we intend to do. Point 1: the hotkey would be available from chart, DOM, L2 window or trade ticket. The reason is that there has to be some existing machinery to form/place the order and the trading site has to be pre-selected. Point 4: Well. Currently, as in the post right above yours, the definition of a hotkey is a JSON string. I could I guess allow it to be input in DAS format, then MT would convert it to a JSON string.
  10. We have all this in mind. It will be, internally, JSON based, although we may do something like a DAS wizard that would convert to JSON. Example of an order that could be placed with a hotkey (of course Conditional multi-leg orders would be possible too) (how in the world can you paste code nicely here?) { "Vars": { "tradeaction": "None", "If": [ { "Condition": "=PositionQty>0", "Then": {"tradeaction": "Sell", "atprice": "=CurrentBid"}, "Else": {"tradeaction": "Buy", "atprice": "=CurrentAsk"} } { "Condition": "=PositionQty=0", "Then": {"tradeaction": "None"}, } ] } "Command":{ "Order":{ "Drop":true, "Autotransmit":false, "ConditionalType":"None", "Legs":[ { "PosOnChart": 15, "Quantity":20, "Action":"=tradeaction", "OrderType":"Limit", "LimitPrice": "=atprice", "Routing":"Auto", "TIF":"GTC" } ] } } }
  11. hm yeah will see. There are expressions in the definition but the buying power is not there right now. Of course it is all fluid.
  12. Hmm. Maybe allow user to add a "hot key strip" somewhere on the window where you'd be able to put in buttons tied to hotkeys. Basically once the hotkey functionality is there, how to execute them is a matter of UI and will follow But I need to make a list of what that functionality will be and put it all in.
  13. Marty, we have a user that swears by AutoHotKey. If MT has the hotkey functionality, it will be able to interface with AutoHotKey that would be able to send anything the hotkeys allows through its own interface to MT - through a keypress or a button or whatever script you put into the AutoHotKey. Of course, we will also make sure that the hotkeys would have an editor that will allow the function to be assigned to a keypress and be initiated inside MT. Probably will allow a "Hotkey dashboard" window where you will be able to put in buttons that will be linked to hotkey scripts... will see.
  14. I will add that to my hotkeys todo. Will probably be part of the new hotkeys system.
  15. The current shortcut keys wouldn't let you perform, for example, "Place a stop limit sell for half the currently held position with a stop of 0.5 above current ask and a limit of 0.1 below the stop". The planned hotkey system would allow you to program that in and tie it to one keypress.
  16. The existing will work. The hotkeys that you assign will share the keys with the existing shortcuts, so if you assign a key that already is taken by a shortcut it will warn you that you're about to override it. And vice versa. The "hotkeys" would be primarily (or exclusively? haven't decided yet) trading-oriented, and would be used for customizable rapid-fire placement and management of orders.
  17. Dear MT Users I am working on setting up fully customizable hot key support in MT. Mostly for trading. example: on a chart place a bracket order at certain offsets from current price for a certain fraction of current position and send it example: switch trading account to a different one example: change the current quantity in the trading tab to a different number or a multiplier to current number I need suggestions for what actions the user should be able to assign to a hotkey since each needs to be implemented differently. The editor for hotkeys also needs to be convenient in terms of UI. If you have an example of such UI somewhere, please link to it. This functionality will also be available from something like AutoHotKey third party product, for more advanced users.
  18. ... whatever webull sends. They may not be sending volumes in AH?
  19. I really don't understand how brokerages (like that SuperHero one) think that people ONLY want to trade on their phone. They don't seem to have any other way to do it, at least that I see on their web site. Maybe I am a fuddy-duddy that doesn't understand the new generation of traders, but to me trading on your phone is not optimal.
  20. On a 1 min chart EMA with a period of 8 means 8 minutes. On a 5 min chart, EMA with a period of 8 means 40 minutes. If you want the same EMA on a 1 min chart, make it an EMA with a period of 40.
  21. Jerry responded to you in email. Yes, you can do all that in API.
  22. Adjusted it a bit. Should be enough. Will be in next beta.
  23. Hmmm interesting. What font size are you using? I would need to adjust the spread.
  24. We definitely do not use IPv6 - everything is done through IPv4 - regular HTTP/HTTPS or Websocket connections. Go ahead and disable (it is disabled on my machine).
  25. Questrade has not responded to any of our requests for info etc. If they were responsive we could work with them on getting this dealt with.
×
×
  • Create New...