Jump to content
Medved Trader Forums

Stephen

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Stephen

  • Rank
    Member
  1. Thanks Mike; I'll watch for it.
  2. Those details helped me understand how MT is applying the parameters. So yes, there is a step between 6 and 7. Here's a reference I was able to find on tech analysis site http://www.ta-guru.com/Book/TechnicalAnalysis/TechnicalIndicators/Stochastic.php5 . To quote: %K = 100*(CLOSE(i) - L(n)) / (H(n) - L(n)) [ = MT Main] %D = SMA (%K, 3) [ = MT MA of "Signal" period of Main ] L(n) is the lowest low and H(n) is the highest high value in last n samples. For n is usually taken value of 14. Lines %K and %D obtained using the above defined formula are called fast lines (%K fast, %D fast). %K slow is obtained by calculating SMA of %K fast, while formula for %D fast remains the same except it is applied on %K slow. So %K Slow is a smoothed curve of %K Fast (aka MT Main). %D Slow is then a signal line of %K Slow. Earlier I called the SMA to create %K Slow the "Full average type", and said that it could be SMA or EMA. The ta-guru site says that it is an SMA. I use only SMA for %K Slow and %D Slow in my tech analysis, so I'd be happy if %K Slow, and in turn %D Slow, were calculated in MT solely on SMA. Although the screen in MT does not specify, is it correct to assume that Step 7's Signal line is currently SMA? I've been looking at a lot of stochrsi materials recently, but had not yet seen the ones about ignoring the latest rsi value. I can't really comment on whether there's any trading signal merit to that, other than to say that it seems to be out of compliance with the vision of the original developers of RSI, Stochastic, and StochRSI.
  3. I made some assumptions about how MT parameters map to the ones I've used in my own app, and have listed them below. MT period = rsi length - The number of bars with which the RSI is calculated. MT Smoothing = rsi average type - The type of moving average to be used in the calculation of the RSI: simple, exponential, Wilder's. rsi price - The type of price with which the RSI is calculated, typically the close. MT st period = %k period - The period on which the highest and the lowest rsi values are to be found. - slowing_period - The length of the moving average to be applied to %k. This produces the FullK plot line. SMA FullK = (sum of raw stochrsi values over slowing_period) / (slowing_period) signal = %d period - The length of the moving average to be applied to FullK. This produces the FullD plot line. SMA FullD = (sum of FullK values over %d_period) / (%d_period) - Full average type- The type of moving average to be used to calc FullK and FullD: simple or exponential So the two differences I see are that: (1) There should be separate choices for "rsi average type" and "Full average type". EMA, Wilder, and SMA should be choices for "rsi average type"; EMA and SMA for "Full average type." Also, there should be separate screen controls for user selection of each "rsi average type" and "Full average type". For example, user should be able to select EMA for one and SMA for the other. btw, for the years I've used MT and its predecessor, I never knew until now that EMA is implemented when Use Wilder's Smoothing was unchecked. Dropdowns seem to be more useful at reducing ambiguity. (2) slowing_period is a parameter missing from user control in MT
  4. The current StochRSI formula in medved trader makes assumptions about the user's desired parameters, and so does not produce as accurate results as is possible. This in turn leads to potential false entry and exit signals. Currently the parameters available to set are Period, St Period, and Signal. Wilder's Smoothing is a checkmark option. Ideally, the medved trader stochrsi calc would allow for the parameters: rsi length - The number of bars with which the RSI is calculated. rsi average type - The type of moving average to be used in the calculation of the RSI: simple, exponential, Wilder's. rsi price - The type of price with which the RSI is calculated, typically the close. k period - The period on which the highest and the lowest price values are to be found. d period - The length of the moving average to be applied to FullK. This produces the FullD plot. slowing period - The length of the moving average to be applied to %K. This produces the FullK plot. average type- The type of moving average to be used in calculations: simple, exponential, Wilder's. Chande's book "The New Technical Trader" includes his creation of the stochrsi, and is available as pdf for free at https://www.forexupload.com/670 . See page 124: stochRSI %k = (RSI - RSI-L) / (RSI-H - RSI-L) stochRSI %d = SMA( %k, d_period) where RSI-L and RSI-H are the lowest and highest values of RSI over a given look-back period. d_period = sma length derived from George Lane's calc of stochastic: %k = 100 * [ ( Close(i) - L(n) ) / ( H(n) - L(n) ) ] %d = SMA (%k, d_period) where: Close(i) = current closing price L(n) = lowest value in last n samples L(h) = highest value in last n samples d_period = sma length Other users have asked for additional formulas, but could not provide the calcs. So this may be more information than you need, but the intent is to try to provide enough information that you can use rather than make you try to find it yourself. The formula as shown above is sound: I've coded this up myself using the above formula and run it against raw price data and had accurate results across every tested timeframe when compared to the stochrsi formula in packages provided by large financial brokers. It would be great if these additional parameters could be included in the medved charting app. Thanks.
  5. I have several indicators to trigger buy and sell points. The indicators each use two lines. So when all indicator lines cross in the same direction, it's a buy [or sell]. For example, when a 10 SMA crosses a 20 SMA at the same time as the macd signal crosses the macd main, it could be a buy signal. The problem is that not all lines cross at the same time: the SMA's may cross a candle or two either before or after the macd lines. I'd like to be able to have the alert come up even if the crosses are not on the exact same candle. In the Scan/paintbar editor there is a setting for "candles ago". Does that setting apply to the cross specifically N number of candles ago, or does that setting apply to a cross *within* the last N candles?
  6. Would it be possible to add the Alert function to Trendlines drawn on indicators? It may be a lot of coding, so for an initial code release, the alert would sound if any unhidden indicator line crossed above or below the trendline. Follow up code release would include a setting to allow the user to configure the specific indicator line (eg, on a MACD indicator, the MACD line versus the signal line; on ADX, +DMI versus -DMI versus ADX lines).
  7. Figured it out ... realtime feed was pointed to IB, but backfill was pointed to my other broker who doesnt have a forex feed. Thanks Jerry.
  8. Yes, the bid/ask update in the MT portfolio, in lockstep with the bid/ask shown in the IB trader workstation screen.
  9. I'm using forex with IB, but the price updates come in only minute by minute. In other words, the backfill and historical backfill do not trigger populating the chart, even when manually requested. using #GBP.USD . Double checked the IB API setup against the image Jerry uploaded elsewhere on this forum. Also checked MT File-settings-configure accounts. Root cause possibly my IB subscription?
  10. That did it. Thanks Jerry! btw, I had been getting auto updates in the past, but don't recall being auto notified of the latest ones. I'm not seeing any app settings where it's possible to turn off or on the check for auto update, other than the Show Beta Versions When Checking for Updates.
  11. I'm on the latest release: v 1.1.3400.531 x64 . About two releases ago, trendlines began to not draw properly when place within an indicator panel. After the mouse button is released, the drawn trendline will rotate 30 degrees or so, or the entire line will move vertically. I have 3 indicator panels active on the price chart, and the issue manifests on all of them, regardless of the timeframe. Holding down the Shift button does not prevent the issue on horizontal trendlines.
×
×
  • Create New...