Jump to content
Medved Trader Forums

Mike Medved

Administrators
  • Posts

    1,539
  • Joined

  • Last visited

  • Days Won

    123

Everything posted by Mike Medved

  1. That's correct - the Today's High and Today's Low are actual Today's high/low - right now, not at the time of the candle. If you wants a paintbar/scan to get the high and low for the day *at the time of the candle* you have to keep track of it yourself. It is pretty easy to do define .fctbNone{ color:#000000; } .fctbStyle4{ color:#0000ff; } .fctbStyle3{ color:#000000; }double DayHigh, DayLow; int PrevDayNumber = -1; then, inside the paintbar, at start, do: .fctbNone{ color:#000000; } .fctbStyle4{ color:#0000ff; } var info = GetTradingSessionInfo(Timestamp); if (info.DayNumber!=PrevDayNumber) { DayHigh = High; DayLow=Low; PrevDayNumber=info.DayNumber; } else { DayHigh = Math.Max(DayHigh, High); DayLow = Math.Min(DayLow, Low); } There ya go.
  2. On the left? The thing I changed was making the values on the axis not overlap but space out.
  3. Lemme think how to do that. It is not trivial Don't really want to micromanage the "show current value" thing to the point where it is individual.
  4. You can trace the values with the mouse cursor (if you have that turned off, press Shift then move the mouse)? You can make the fonts smaller on the charts. Can you put a screenshot of how TradingView un-overlaps the labels?
  5. Doug, if you have the SDATA.BIN file in your MT directory (it should be C:\Users\<Your User Name>\AppData\Local\2GK\Medved Trader) - please send it to us via WeTransfer - I will try loading it and see how it gets wiped out.
  6. Really have no way to selectively import things...
  7. NaN - no, I found/fixed things today. Do you have our latest EXE link? - just download from there again.
  8. from MT code: S1 = 2 * pivot - PrevDayHigh S2 = pivot + PrevDayLow - PrevDayHigh; S3 = 2 * pivot + PrevDayLow - 2 * PrevDayHigh S4 = pivot + 2 * PrevDayLow - 2 * PrevDayHigh which is same as here: https://www.babypips.com/learn/forex/how-to-calculate-pivot-points for example Your S3 is not same as ours. Not sure why. I could implement MyPivots' formula as a separate indicator. What would you want it called? The NaN should be fixed - get latest.
  9. Doug, about the PP values - the easy way to find out what is going on is: put in horizontal lines for daily Prev Close, High, Low, Open. Those will show you what those values are on your chart. Then use those values to calculate the PP values - they should match exactly what MT is showing. Then look which of those values is different in your other formula that gives a different value.
  10. Well yes - the message says that you're connecting to Coinbase feed but requesting from it symbols like BCHG.
  11. Doug, when you say you're running it in real time as 1 point Range Bars - you mean you're running it as a paintbar in a chart?
  12. If you choose Band on Top, if there are two such indicators, then the ordering is from top to bottom in the order of the indicators in the indicators list. If you choose Band on Bottom, the ordering is bottom to top. That's natural - the indicators are plotted in the order they are entered. So the first one is plotted at the very bottom, the next one one step up etc..
  13. Mike Medved

    Jason Wu

    Jason, about the paintbar - let's switch to email. Export the indicator and send it to me at support@medvedtrader.com and describe the problem please.
  14. Mike Medved

    Jason Wu

    Volatility Trend: it has two lines. Short and Long. Only one of them is non-zero at the time. So you can check for Long switching from 0 to non-0 to see if it started showing. Same for Short.
  15. First rule should be: if (close<2) return; so it does not fire for any stock that is <2. Then, if it is >=2, it will go to the second rule where, if ALSO <=3, will SetScanResult.
  16. Mike Medved

    Aema

    Sorry I misinterpreted your post
  17. Which standard indicator are you using that is displaying as a band?
  18. first rule: if Close<2 do nothing and stop second: if Close<=3 - SetScanResult
  19. Sorry I confused you. By second line I meant the second if. if (DateTime.UtcNow<session.DayStart.AddDays(1)) // only plot current day
×
×
  • Create New...