Jump to content

Mike Medved

  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by Mike Medved

  1. Scan result Format

    You can set the scan result to a number or to a string. So you can format a number into a string any way you like, for example adding the % to it, then set scan result to it.
  2. VWAP on Heiken Ashi charts

    Interesting. I ran it on a few charts and could not get it to happen. If this happens on backfilled charts, tell me what the backfill source is, what symbols and what frequencies... If it happens on collected data, you'd have to send us the data file. To do that, email our support email and we will get it thru.
  3. VWAP on Heiken Ashi charts

    When you say VWAP value line, do you mean the VWAP indicator or the VWAP horizontal line?
  4. Range

    Yes, but you would have to do it with the Advanced paintbars/scans. Create a FIFOQueue of length x, add the current bar's range to it, and take the Average of it. See this thread for an example of how FIFOQueue is used:
  5. Lots of bugs in PNF

    Rob, as I already mentioned, when we see bugs, we fix them. When someone reports a bug and we can see what he means, we fix them. We definitely appreciate bug reports and have stated that numerous times. Saying "P&F is screwed up" is not enough. Tell me, specifically, how it is screwed up. Preferably in a language I understand and with snapshots. I definitely don't need your proprietary trading secrets. But give me a snapshot of a P&F chart (remove all your proprietary trading stuff from it) and tell me what you see in it that is wrong.
  6. Lots of bugs in PNF

    Rob, just like we did with QT, we try to fix the errors that are reported. We are the same exact people that did QT, and MT uses much better and more modern programming techniques than QT did, because software development tools and techniques definitely improved in the last decade and a half. To your concerns - it is a bit overwhelming when you just list all the bugs together. In general: * Is all your writing referring to P&F charts only? * Some of what you write (" AAPL did not drop to $173.8 during the "day" session of 3/6/18") I cannot see on my chart. It would help if you posted your chart snapshot or emailed it to us so we could compare what you see with what we see. * One example: you write that AAPL did not open at 174.9 on 3/7/2018. No, it didn't. It opened at 174.94. Which you would see on a candle chart. But on a P&F chart with a box size of 0.1, it would show the open of 174.9. That is the nature of P&F charting and how it should be. * "Days" refers to the time period from rollover to rollover, or, in AAPL case, from midnight to midnight EST, if you choose the right timeframe for the chart. On MT charts, you see a double solid vertical line that separates days on intraday charts. * If you can, please email our support email with each bug, and, if possible, illustrate it with snapshots. Thanks Mike
  7. Candles that close higher than open are green in MT and that close lower than open are red. In your example, they are green or red, hollow or solid. So if the color in MT is replaced by being solid or hollow, what does the color of the candle in your pic signify?
  8. Volume_EMA

    There is a table of defined variables up above the code in the Advanced editor. You have to define the Volume_EMA there. If it isn't defined, you'd get the error you're showing.
  9. Automated Trading

    We never put in functions for trading because we're not sure about liability issues and it is a big project. I will talk with Jerry again about it.
  10. RSI

    I bet this is the same problem as with your previous mentions of Bollinger Bands and SMA. Basically, it is a question of what is a more representative method - ignoring no-volume gaps as if they don't exist or treating them as no-volume candles where O=H=L=C=previous candle's Close...
  11. Bollinger bands

    The hump is there not because of SMA but, I presume, because the StDev jumped. SMA in MT, as I pointed out above, takes no-volume gaps to have the same value as the previous candle for the purpose of calculating the period's average. So if you have (with - being the no-volume candle) 10 10 12 - - 10 12 - the SMA(5) would be (12+10+12+12+12)/5 = 11.6 while if the -s were skipped, it would be (12+10+12+10+10)/5 = 10.8 I think not skipping the empties presents a more representative picture of the average for the time period.
  12. Bollinger bands

    Hm - the historical charts have days with no volume?
  13. Bollinger bands

    MT was basically counting 0 vol periods as candles at the close of previous with-volume candles, for the purpose of calculating the standard deviation (as well as for the purpose of calculating the central MA). The central-MA calculation is fine for that. But apparently your other sources do not do that for the StDev calculation. I guess that's another way to look at it although I can see merit in our method as well. I changed it in the calc. Email jerry to get the new ver that has that.
  14. Delete key to remove symbols

    We deliberately used shift-del instead of just del. Del is too easy to hit accidentally.
  15. Shrink the dots on PSAR

    Current formula for the size of the box is half the candle width or 9, whichever is smaller, with a min of 2. Any thickness you specify would add to that. I could add -1 - would that do it? You could also try to make the color of the dots dimmer so they do not stand out as much...
  16. Order Book Support

    ? There is support in Medved Trader for Binance order books in two formats: 1. L2 Window 2. Depth Chart window
  17. Create Scanners

    Most exchanges are (mildly put) technically inept. Badly designed APIs, constant glitches, etc. We integrated the two most reliable ones. Will see about others as they improve.
  18. Depth Charts are in the new beta

    Note that even though Depth Charts were pioneered by the crypto exchanges, they are available for any L2 feed. They are not as detailed or extensive on stocks L2 feeds because those only have a limited number of entries on either side... But take a look.
  19. Adding a depth chart.

    Depth chart is in the beta.
  20. Create Scanners

    If your EMA variable is called EMA13, then checking for a 3-candle local minimum would be: if (EMA13[1]<EMA13[2] && EMA13[1]<EMA13)
  21. Nice one there. In general, I find that candlestick patterns are not well defined in the literature, and some are definitely of the "you'll recognize it when you see it" variety with very vague terms.
  22. Create Scanners

    In a simple rule, just compare EMA(13) one candle ago to EMA(13) on current candle. If the one candle ago is less than current, it is moving up. If you want to check a local minimum, you can check if the value 2 candles ago was higher than 1 candle ago, and the value 1 candle ago is lower than current.
  23. Midpoint of Candlestick

    How about using an SMA with a period of 1 and Based On (H+L)/2?
  24. Create Scanners

    Sorry CryptoDips, I accidentally answered you by editing your post instead of just answering. See the answers in your post above.