Jump to content
Medved Trader Forums

Mike Medved

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Mike Medved

  1. Yes. This way the pace would be determined based on the current day's action and not on the whole chart's. It is actually a pretty useful number. It also exists as an indicator, thus can be used in scans or paintbars. And I don't think any other software I know of has it . Maybe under some other name...
  2. "The value of pace shown is the total trading volume for the last Period compared to an average volume for such a Period in the last Averaging Period." Let's say period is 10 and Averaging Period is All. What MT does is takes ALL 10-candle periods in the chart - 1st candle thru 10th, 2nd thru 11th, 3rd thru 12th etc etc, calcs the volume for each of those periods and averages them. Then it takes the volume for last 10 candles and compares it (as a percent of) to that average.
  3. Well, we do have a help file. Rather comprehensive one, that I constantly maintain. https://www.medvedtrader.com/trader/WebHelp/charts_annotation.htm at the bottom of the page, heading " Sharing annotations between charts".
  4. We have an http API that is the same as the old QuoteTracker's API. Anyone can connect to it. If Timing Solution wants to connect to MT for data - give them this link. https://www.medvedtrader.com/www/frontend/blog/HTTP-API
  5. Current logic: AAPL, Expiration Jan 18 Strike 155. Call: bid 0.77 ask 0.80 Put: bid 1.43 ask 1.47 Straddle bid: 2.24 ask 2.23 Straddle bid = call bid + put ask Straddle ask = call ask + put bid ================================== You're right, it may be incorrect. Straddle bid means selling a straddle, which means selling both a call and a put option? It should be call bid + put bid, since that is what you would need to pay to sell both right now. Conversely, the straddle ask would mean buying the straddle, which would be at ask on both sides. Is that correct?
  6. How much demand is there for those?
  7. Jack, you don't need to know how to program. What you need can be done in a "Simple" scan mode, with two rules. The first one would check if the Close is greater than SMA8 and if not, stop. The second one would check if the Close one candle ago is greater or less than SMA8. Have you seen our youtube tutorials for scanning: this is part 1 is
  8. In advanced code... will be able do something like: if (Any(1,5, Close>Open && Close>Close[1])) ... do something which would mean if any of the candles from 1 back to 5 back are positive and close higher than previous one.... of course, if the condition doesn't fit exactly into an expression, can also do full code like this: if (Close.Any(1, 5, (i, x) => { if (Close<=Open) return false; return (Close>Close[i+1]); } );) ... do something but that is more complex.
  9. We cannot implement something from visuals. Need to know how it works - formula/algorithm. Since they are selling this (and not cheap), I don't expect they'd share it.
  10. That's a bit vague. How to combine them? In what proportions? If you have a link to an article discussing this, please post. Also, you can - today - create a paintbar that can use any combination of indicators, use their values in whatever formula you like, and plot the line on the chart.
  11. Give a link to formula/examples?
  12. Oh btw. The easiest way to check that it switches direction is to do Crosses (or, if you want to know what switch it is, red to green or vice versa, CrossesUp or CrossesDown) on 0 for the Direction value. Not Value as you have it in the above screenshot.
  13. This was an omission. Will be fixed in next release, hopefully today. It will have Value and Direction. Value obviously the height of the bar and Direction is either 1 or -1 for positive and negative. You would check whether there was a switch by comparing Value[0] to Value[1] and what kind of switch by checking the Direction.
  14. Maybe they were doing some maintenance at night.
  15. If the box size is based on the % of the price at the start of the Renko "candle", and doesn't change while the candle is being built, then there is no retro-changing of the box size. And yes, the exact break points will not match between candles - that is, if there is an X tall green candle followed by X tall red candle, the close of the second candle will not match the open of the first candle. Can't be helped if you base your box size on % and not on an absolute number.
  16. I just sent this to one of the clients, posting it here as an example: /// Note that some functions are empty as is the PaintbarState - that's because they /// are automatically put in by the Advanced paintbar generators and are just /// placeholders if they are not needed FIFOQueue SavedCandleHigh; FIFOQueue CandleHigh; /// <summary> /// Is called at start of paintbar calculation, should be used to initialize anything needed for the paintbar. /// </summary> private void PaintbarInitialize() { } /// <summary> /// Holds paintbar state - fill with variables needed to be preserved for next paintbar calc /// </summary> private struct PaintbarState { } /// <summary> /// Holds current PB state - use to calc PB, changes to it carry over to next PB calc /// </summary> private PaintbarState CurrentState; /// <summary> /// Holds saved PB state - internal /// </summary> private PaintbarState SavedState; /// <summary> /// Is called at start of paintbar calculation, should be used to clear the paintbar state /// </summary> private void PaintbarClearState() { CurrentState = new PaintbarState(); SavedCandleHigh = new FIFOQueue(15); CandleHigh = new FIFOQueue(15); } /// <summary> /// Saves paintbar state (called internally). /// </summary> private void PaintbarSaveState() { SavedState = CurrentState; CandleHigh.CopyTo(SavedCandleHigh); } /// <summary> /// Restores paintbar state (called internally). /// </summary> private void PaintbarRestoreState() { CurrentState = SavedState; SavedCandleHigh.CopyTo(CandleHigh); } public void MainCalculation() { CandleHigh.Add(High); double high, low; CandleHigh.GetHighLow(out high, out low); // Can instead do if (High >= high) depending on what functionality you want if (Close >= high) // if current candle's close is at 15-candle high. { SetColor(SysColor.MainIndicator); TriggerAlert("at 15 candle high", "15 hi"); SetScanResult(true); } }
  17. As you may know, we do have a Youtube channel: https://www.youtube.com/channel/UCD9KD0V7T62Y29i1YYw9-jQ I'd like to entertain suggestions on the videos you think should be added to it. Ranging from beginners' to experts', but with emphasis on beginners, since experts usually take care of themselves
  18. Yes, that's correct. There is really no other way to do that, since the indicators are set up and calculated prior to any scan/paintbar code being executed.
  19. I don't know what you mean by doesn't have this as a feature when code is produced. If you are talking about Advanced mode, In the Param column if you click on it, it shows the bid only/ask only param and remembers it if you set it, no? It may not show it in that column, but that's because it is not shown on the chart legend either (the chart legend is what is shown in the column).
  20. https://www.investopedia.com/ask/answers/05/062405.asp That's a good resource. Some traders find that this indicator is too responsive to price changes, which ultimately leads to being taken out of positions prematurely. To solve this problem, the slow stochastic was invented by applying a three-period moving average to the %K of the fast calculation. Taking a three-period moving average of the fast stochastic's %K has proved to be an effective way to increase the quality of transaction signals; it also reduces the number of false crossovers. After the first moving average is applied to the fast stochastic's %K, an additional three-period moving average is then applied - making what is known as the slow stochastic's %D. Close inspection will reveal that the %K of the slow stochastic is the same as the %D (signal line) on the fast stochastic.
  21. Jason, all that stuff can be done using the advanced code with tracking session-variables as we did in other examples on this forum before. You can look at session info, any time you get new session, record the price as "open" (for both the core symbol and compare-to symbol), then for all subsequent values you can get percentage from open as (Close-SessionOpen)*100/SessionOpen, and compare them. Same with session high/lows - we discussed this before.
  22. I know right? But out of almost 7.5 billion of people on the planet so relatively few know that!
  23. Ok it will be in next beta (Jerry will email you to get the pre-beta install so you could try it now).
  • Create New...