Jump to content
Medved Trader Forums

Manson

Members
  • Posts

    8
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi Jerry.... Been playing around with the Super Trend indicator and have set up color alerts for long and short which works. I used ChatGPT to try and add sound files by directing to the sound path file on my C drive but kept getting error messages. I used the simple paintbar interface using all >= crossing up etc but the sound alerts were inconsistent or kept repeating throughout the signal. I know there is an option for time cleared but is it possible to have only one sound alert at the start of each signal? Here is the code currently with the color alerts which work. Is it possible for you to update the code allowing for sound file alerts ? Chat GPT summarized what I want A sound alert should play only once when each signal (Short or Long) occurs. The sound alert should trigger when the SuperTrend changes from Short to Long or from Long to Short, and it should not repeat until the opposite signal occurs. The color alerts portion of this requirement has been successfully implemented. However, implementing sound alerts, especially the part about playing a sound only once per signal change, might require specific functionality or support from Medved Trader, as it can depend on their scripting environment and capabilities. Thanks a lot. public void MainCalculation() { if (SuperTrend_Short > EMA_Line) { // Supertrend is above EMA Line (Short signal) SetColor(SysColor.MainIndicator3); // Set color to Red } else if (SuperTrend_Short < EMA_Line) { // Supertrend is below EMA Line (Long signal) SetColor(SysColor.MainIndicator2); // Set color to Green } }
  2. Yes, to avoid the constant alerts when it's set to the default "Immediate"....I have it at 30 mins. But Idealy I only want the alert at the crossover otherwise I get alerted when it doesn't fit my criteria. Oftentimes when a crossover happens it might be in that bullish or bearish crossover for and hour or two. No way to have it only alert at the crossovers ? What if I don't use popups just sound alerts. Same problem ?
  3. "normally once an alert is triggered, it will not trigger again unless you clear it." I have a popup as well as sound alert....I do have the popup clear after 3 seconds. Because I have it cleared after 3 seconds that triggers it to keep alerting ? Besides clearing the alert I do see the option to disable or to delete the alert entirely which I don't think is what I want.
  4. Thanks. I just sent the log file. From what I can tell...it's not clearing that's the problem. It's the restart after x minutes option. I would like it to restart from a signal...not time. Sorry if I'm missing an obvious option.
  5. Hi Jerry... I have a simple 2 moving average crossover paintbar set up with sound alerts. Right now after the crossover I get the alert but then the alert keeps repeating (bullish crossover, the alert keeps repeating within that crossover) with as far as I can see the only option to clear and restart after X time.....Is it possible to have the sound alert only fire once at each crossover ? So for example sound alert fires once at the bullish crossover, then fires once at the next bearish crossover, then once at the next bullish crossover etc. Thanks a lot....long time user here from the Quote Tracker days.
×
×
  • Create New...