(()) IREMOS Audible Entry Alert

Download script
Author: Iremos Trading
(()) IREMOS Audible Entry Alert

This specialized trading tool is designed to help traders monitor market momentum and identify potential entry or exit points by analyzing price oscillations. It utilizes a technical indicator known as the "Stochastic Oscillator," which measures where the current price sits relative to its recent price range to determine if an asset is overextended or moving with strength.

Core Functionality

The script generates two distinct data lines on your trading chart:

  • The Main Line (K): This tracks the primary momentum of the market.
  • The Signal Line (D): A smoothed version of the main line that helps filter out "noise" and identify clearer trends.

By visualizing these two lines together, traders can see the relationship between immediate price action and broader momentum shifts.

Key Features and Logic

1. Customizable Smoothing & Timeframes The tool allows for high levels of customization regarding how the data is calculated. Users can adjust the sensitivity of the lines (K and D values), choose different types of moving averages for smoothing (Simple or Exponential), and shift the starting point of the calculation to align with specific trading strategies.

2. Intelligent Alert System One of the primary purposes of this script is to act as an automated watchful eye. It features a multi-layered notification system:

  • Overbought/Oversold Monitoring: The script constantly checks if the momentum line reaches specific "extreme" thresholds. If the price moves into a zone that is considered overextended (Overbought), it triggers a notification suggesting a potential "Long" opportunity. Conversely, if it drops into an oversold zone, it notifies the user of a potential "Short" signal.
  • Crossover Detection: The script can also monitor the interaction between the two lines. When the Main Line (K) crosses over the Signal Line (D), it indicates a shift in momentum. The tool can trigger a specific alert for an "Upward Cross" (suggesting bullish movement) or a "Downward Cross" (suggesting bearish movement).

3. Visual Clarity and Branding To ensure a professional trading environment, the script includes a dedicated display area on the chart to identify the source of the tool, ensuring that all information remains organized and clearly labeled for the user.

Summary for the Trader

Essentially, this script removes the need for constant manual observation of the Stochastic Oscillator. It automatically calculates the momentum, plots it visually for your review, and actively pushes notifications to your platform the moment the market hits key price extremes or undergoes a significant trend reversal.

Indicators Used
Stochastic oscillator
Miscellaneous
Implements a curve of type %1It issuies visual alerts to the screen
9 Views
0 Downloads
0 Favorites
(()) IREMOS Audible Entry Alert
//+------------------------------------------------------------------+
//|                Stochastic (with alert)                           |
//|                Copyright © 2009  darrenw                         |
//+------------------------------------------------------------------+
#property copyright "Iremos Trading"
#property link      "Darren Willis"

#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 Black
#property indicator_color2 Black
#property indicator_minimum 0
#property indicator_maximum 100

extern string    ________EXIT_______;
extern int K = 6;
extern int D = 3;
extern int Slowing = 3;
extern int MA_Mode = 0;   // 0 = SMA, 1 = EMA, 
extern int Shift_Bars= 0;
extern int Bars_Count= 0;

extern string    _________Alert________;
extern double Overbuy_Level = 50.51;
extern double Oversell_Level = 49.51;
extern bool   Enable_Alert_1 = true;
extern double Crossover_Gap = 0;
extern bool   Enable_Alert_2 = false;

//---- buffers
double v1[];
double v2[];
  
int init()
  {

   IndicatorBuffers(2);
  
   SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,2);
   SetIndexDrawBegin(0,K+Slowing);
   SetIndexBuffer(0, v1);
   SetIndexLabel(0,"K");
   
   SetIndexStyle(1,DRAW_LINE,STYLE_SOLID,2);
   SetIndexDrawBegin(1,K+D+Slowing);
   SetIndexBuffer(1, v2);
   SetIndexLabel(1,"D");
   
   watermark();
 
   return(0);
  }

int start()
 {
  int i;
  int shift; 
  int counted_bars = IndicatorCounted();
  if (counted_bars > 0) counted_bars--;
  if (Bars_Count > 0 && Bars_Count <= Bars)
  {
    i = Bars_Count - counted_bars;
  }else{
    i = Bars - counted_bars;
  }
  
  while(i>=0)
   {
    shift = i + Shift_Bars;
    v1[i] = iStochastic(Symbol(), Period(), K, D, Slowing, MA_Mode, 0, 0, shift);
    v2[i] = iStochastic(Symbol(), Period(), K, D, Slowing, MA_Mode, 0, 1, shift);
    Print(v1[i]);
    i--;
   }
  
  // Alert: Overbuy and Oversold
  static int OBOS;
  if (Enable_Alert_1 && v1[0] >= Overbuy_Level && OBOS != 1)
  {
    OBOS = 1;
    Alert("Pay Attention! LONG SIGNAL Look at 4H Stoch K: ", v1[0]);
  }else if (Enable_Alert_1 && v1[0] <= Oversell_Level && OBOS != -1){
    OBOS = -1;
    Alert("Pay Attention! SHORT SIGNAL Look at 4H Stoch K: ", v1[0]);
  }
  
  // Alert crossover
  static int Crossover;
  if (Enable_Alert_2 && v1[1] < v2[0] + Crossover_Gap && v1[0] >= v2[0] + Crossover_Gap && Crossover != 1) {
    Crossover = 1;
    Alert("K cross UP through D...Go LONG!!");
  }else if(Enable_Alert_2 && v1[1] > v2[0] - Crossover_Gap && v1[0] <= v2[0] - Crossover_Gap && Crossover != -1) {
    Crossover = -1;
    Alert("K cross DOWN through D...Go SHORT!!");
  }
  return(0);
 }
 
//+------------------------------------------------------------------+

void watermark()
  {
   ObjectCreate("Iremos Trading", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("Iremos Trading", "Iremos Trading © __Darren__", 10, "Engravers MT", Aqua);
   ObjectSet("Iremos Trading", OBJPROP_CORNER, 2);
   ObjectSet("Iremos Trading", OBJPROP_XDISTANCE, 5);
   ObjectSet("Iremos Trading", OBJPROP_YDISTANCE, 10);
   return(0);
  }

Comments