Jump to content
Medved Trader Forums

Mike Medved

Administrators
  • Posts

    1,543
  • Joined

  • Last visited

  • Days Won

    124

Everything posted by Mike Medved

  1. Note that the alerts ONLY appear if they happen on the LAST (current) candle's calculation.
  2. I am not sure what the problem is. BarVolume is the volume of the current candle, even if it is not complete. If you show the results in paintbar, it should show in scan as well. The caveat here is that the initial conditions have to be the same between the two. That is, they both should be intraday or historical, both have the same extended hour setting, both have the same frequency.
  3. I tried and could not repeat. Please send us your setup - File / Help / Send Settings I will try using it to repeat the problem.
  4. Isn't that the same as ATR Trailing Stop in MT?
  5. Place a "Price Alerts" indicator on the chart. To make price alerts, use Alert Editor (from the Dashboard). Note that once you make a price alert and it shows as the indicator on the chart, you can drag it up/down to change it.
  6. I put that paintbar on NVCR and got nothing: Edit: apparently with some sources there is some gap-up data in extended hours on Wed, then the price goes down to 70s in the extended hours on Thursday. That would trigger the "gap down >10%" thing the PB is looking for. Bad data.
  7. You know you can do Price Alerts indicator instead of trendlines. The advantage is that those would show on both intraday and historical charts and show differently. Then at right click you could have an option to create a new price alert?
  8. ... ? Are you talking about line fitting?
  9. Yes. Check the paintbar coloring options, one of them is full chart background.
  10. You can make it yourself as an advanced paintbar... All you have to do is this: .fctbNone{ color:#000000; } .fctbStyle5{ color:#0000ff; } .fctbStyle1{ color:#a52a2a; } .fctbStyle3{ color:#ff00ff; }public void MainCalculation() { SetColor("VolColor", SysColor.MainIndicator1); SetYValue(BarVolume*(Open+Close+High+Low)/4); } Then place the paintbar on an extra chart at the bottom make its width 1 and shape let's say square. You can even combine Volume and this paintbar into one chart, with one scale on one side and the other on the other.
  11. https://www.medvedtrader.com/trader/WebHelp/variables_and_conditions_secti.htm As for C# - no, hotkeys are their own thing. But they are pretty flexible, especially if you do Variables and Conditionals.
  12. Ok right now we don't have a variable in hotkey that is "account value". We do have "Cash" for the account's cash buying power. (I asked Jerry to add a way to get the account's total value into a system var for a hotkey) Using the Cash Buying Power you would do something like this:
  13. Will be in next beta. The minimize all is easy, the restore all is the one that is awkward. Cuz if everything is minimized, the window does not see the keypress at all.
  14. Mike Medved

    DST issue

    If the alert is as it says: 2:58 DST with "Adjust for DST" checked, then it will trigger at 2:58 eastern. Both during DST and out of DST. In order for it to trigger ALWAYS at market end, make it 3:58pm with Adjust for DST checked...
  15. I am not familiar with what scripting is available on that "stream deck". But if the script can isolate a window and send a keypress to it, then it definitely can execute hotkeys.
  16. well yes. Just have a Variable section that defines a price as a variable (let's say LimPrice). Then add 10 order sections, each for 100 shares, and the limit prices being LimPrice, LimPrice+0.02, LimPrice+0.04 etc
  17. Tell me what you would like to do and I will show you how to do it. We can go from there.
  18. and the same thing for "stop loss 33% at -1.25%, 67% at -1% "
  19. 1. Ok this one: "exit 33% position at 2%, 67% position at 3%" - I presume when you say at 2% you mean 2% above what you paid? If so, here is the hotkey (I will just post a screenshot, not JSON - easier for you to change it for your needs)
  20. It's the same way. You define a new StateFIFOQueue(n) - where n is the period. You use the state function to save state/restore state for that queue. Every maincalc you .Add whatever it is to the queue. The Queue's Average property will hold the average. It also has StDev, WeightedAverage etc...
×
×
  • Create New...