Jump to content
Medved Trader Forums

Arg

Members
  • Posts

    171
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Arg

  1. Is it possible to detach the capsule from the average price paid? For instance, at the moment the capsule is fixed at the average price paid of 22.8 and the current price is 26. This means that the candles are confined to a small Y range (because the Y axis has to span the capsule price as well as the candles). I would like the candles to fill the maximum Y range and also have the P/L value displayed within that range.
  2. Is it possible to have text somewhere on the chart showing the changing P/L for the current ticker position?
  3. Are hotkeys preserved after an upgrade? I can't find my previous ones.
  4. 1) Not sure what "saved order" means. I've never used this. Is it something I need to use for a hotkey? 2) "trade ticket does not do 2 leg" ... also not sure what this means. Here is what I was trying to do: use a hotkey to buy shares (with default parameters taken from the level 2 window in this case) and then put in a sell stop loss 6c below the "purchase price" (not entirely clear what this price will be - I guess average price paid for all shares bought?). Is this possible? If so, how can I implement it - preferably on Level 2 window?
  5. I am using it on Level 2. In your code you have drop = true. In mine it's false - is this a problem?
  6. Stopprice set at -0.06 doesn't work. Get invalid price message.
  7. Hi, I want a hotkey to buy and at same time put in a market order sell stop below the purchase price to sell if price goes wrong way. What is wrong with my attempt below?
  8. In the help doc: " NOTE: each scan may have several results. If you would like to have more than one scan result in a scan, you'd have to use the SetScanResult function that would include the scan result number. Example: SetScanResult("Got One"); this would trigger the first scan result and show it in the first scan result column. SetScanResult(1, "Got One"); this would trigger the second scan result and show it in the second scan result colund ... 2, 3, etc. " Questions: 1) Can more than 1 named scan be applied to a portfolio (I think the answer is no)? 2) Can we incorporate the code for multiple different scans into a single named scan - and the results will be labeled using the SetScanResult? 3) The help implies that multiple scan columns can be inserted in the portfolio - I tried this and it doesn't work (I can only get a single scan column). Should it work?
  9. Drop is True. Send is CancelThenSend.
  10. Hi, If I click on one of the grey quantity tabs above level 2 the quantity will be highlighted and turn black. In my opinion this quantity should be maintained unless I expressly click on it with the mouse (or possibly use some hotkey to specifically change this quantity). At the moment it is not maintained. For instance if I set to 500 and then sell half with a hotkey the highlighted quantity will move from 500 to 250. This is very inconvenient. I can use a hotkey to sell half - so why would I need the icon to change? I want the original highlighted value to stay at 500 so that when I buy again I don't need to manually reset it.
  11. Ok, I found the problem. I hadn't changed the action section at the bottom.
  12. Hi, If I click on 10 shares in the quantity icon, and then buy 2 lots, I will have 20 shares. If I then use the hotkey below, which uses the default quantity, then it will sell the entire position of 20 shares. Before pressing this key the highlighted quantity is 10 shares, after pressing it has changed to 20 shares. How can I change the hotkey so that the sell quantity is the original buy quantity (i.e. the highlighted value) and not the total quantiy?
  13. Mike, Could you modify the sell hotkey (the one you did above and also attached here) to include 2 additional cases: 1) sell half of the current position 2) sell the number of shares highlighted in the quantity tabs in the Level 2 window (the row of small tabs along the top). This will be useful as I can scale in to a position by pressing the buy key multiple times and then scale out in stages by pressing the sell key.
  14. I don't see that in my sell hotkey. I have a Var and Conditionals section. Then an Action section with Order and Drop and Send. But if I click on the Send box there is only "true" and "false". However, I could put in another Action section, placing it above the existing Action (order) section (presumably the Actions get executed in sequential order from top to bottom?) and then select Cancel / Open "All". Is this a correct use of the Action section?
  15. I believe the reset can also happen after pressing the buy button (as opposed to pressing buy and then sell). Also, can you prevent the grey share size selector boxes from resetting after a hotkey is pressed. I don't want them to change (unless I click on them).
  16. Here is what happens: 1) click on one of the grey tabs to select number of shares (incidentally, why does this strip not always appear, I find it useful and would like it to automatically appear in the window). Eg I select 100 shares. 2) press the buy button, buy goes through ok. Then press the sell button, sell goes through ok, but it clears the number of shares set in the trading window (they are set to 0 not 100). So, I can't simply press the buy button again - I have to select number of shares first. This is inconvenient.
  17. I am using the trading window on Level 2. I set the number of shares by clicking on one of the grey boxes, use the buy hotkey, then the sell hotkey. This all works ok. The problem is that now the original number of shares that I set is no longer selected. No share quantity is set. Please can you prevent any resetting of the share quantity (and any other parameter that might be changing) just by pressing buy/sell hotkeys. This behavior doesn't make sense.
  18. Eg, if I send a bracket order and then later use a sell hotkey the bracket orders will still be on the system. It would be useful if a cancel open orders command option could be incorporated into the hotkey script to be automatically applied before the sell order.
  19. I suggest giving more examples (complete examples with all typical values/variables filled in) in the help. eg buy / sell / buy with stop / bracket order with 1 profit target / bracket with 2 profit targets. This would make life easier for many people I think.
  20. Mike, can you just take 3acor's hotkey (for a close of an existing long position or a short position). Sell on bid or ask (I can change this later) All values can be default (but leave in the variables in case I want to change) Thanks
  21. I agree with 3acor. It is restrictive to not be able to use shift-letter. And I would also like no globally reserved hotkeys. Especially, please don't reserve any Fn keys.
×
×
  • Create New...